41 tmp<Function1<Type>>::refCount(),
96 fld[i] = this->value(x[i]);
114 fld[i] = this->integrate(x1[i], x2[i]);
139 "Ostream& operator<<(Ostream&, const Function1<Type>&)" Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
#define forAll(list, i)
Loop across all elements in list.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
T & ref() const
Return non-const reference or generate a fatal error.
void size(const label)
Override size to be inconsistent with allocated storage.
const word & name() const
Return the name of the entry.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Type value(const scalar x) const
Return value as a function of (scalar) independent variable.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual ~Function1()
Destructor.
virtual void convertTimeBase(const Time &t)
Convert time.
A class for managing temporary objects.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.