Go to the documentation of this file.
38 #ifndef Function1Types_TableBase_H
39 #define Function1Types_TableBase_H
51 class interpolationWeights;
53 namespace Function1Types
134 virtual Type
value(
const scalar
x)
const;
137 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
const word interpolationScheme_
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
autoPtr< interpolationWeights > interpolatorPtr_
bool checkMaxBounds(const scalar x, scalar &xDash) const
A class for handling words, derived from Foam::string.
const interpolationWeights & interpolator() const
A class for managing temporary objects.
const word const dictionary & dict
List< Tuple2< scalar, Type > > table_
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 value(const scalar x) const
Registry of regIOobjects.
Generic templated field type.
const word const dictionary const objectRegistry * obrPtr
autoPtr< scalarField > tableSamplesPtr_
virtual tmp< scalarField > x() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Abstract base class for interpolating in 1D.
OBJstream os(runTime.globalPath()/outputName)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalarField currentWeights_
void operator=(const TableBase< Type > &)=delete
virtual void writeData(Ostream &os) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
TableBase(const word &name, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
virtual void writeEntries(Ostream &os) const
word name(const expressions::valueTypeCode typeCode)
virtual ~TableBase()=default
Base class for table with bounds handling, interpolation and integration.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< Field< Type > > y() const
bool checkMinBounds(const scalar x, scalar &xDash) const
labelList currentIndices_
virtual void userTimeToTime(const Time &t)
const bounds::repeatableBounding bounding_