48 #ifndef Function1Types_Sample_H 49 #define Function1Types_Sample_H 58 namespace Function1Types
73 const word fieldName_;
76 const point position_;
79 const word interpolationScheme_;
85 mutable label pointEventNo_;
91 void setSampleCell()
const;
138 virtual Type
value(
const scalar
x)
const;
141 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
const word const dictionary & dict
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
TypeName("sample")
Runtime type information.
A class for handling words, derived from Foam::string.
virtual Type value(const scalar x) const
Return Sample value.
virtual void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
virtual ~Sample()=default
Destructor.
const word const dictionary const objectRegistry * obrPtr
virtual void writeData(Ostream &os) const
Write as primitive (inline) format.
A class for managing temporary objects.
Registry of regIOobjects.
Sample(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.