Go to the documentation of this file.
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;
virtual tmp< Function1< Type > > clone() const
Sample(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual Type integrate(const scalar x1, const scalar x2) const
virtual ~Sample()=default
const word const dictionary & dict
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Registry of regIOobjects.
const word const dictionary const objectRegistry * obrPtr
virtual Type value(const scalar x) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
void writeEntries(Ostream &os) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void writeData(Ostream &os) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...