48#ifndef Function1Types_Sample_H
49#define Function1Types_Sample_H
58namespace 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
Construct and return a clone.
virtual void writeData(Ostream &os) const
Write as primitive (inline) format.
virtual void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
TypeName("sample")
Runtime type information.
Sample(const word &entryName, const List< Tuple2< Type, Type > > &coeffs, const objectRegistry *obrPtr=nullptr)
Construct from components.
virtual Type value(const scalar x) const
Return Sample value.
virtual ~Sample()=default
Destructor.
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const word const dictionary & dict
const word const dictionary const objectRegistry * obrPtr
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Registry of regIOobjects.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.