Go to the documentation of this file.
162 virtual Type
value(
const scalar
x)
const;
165 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
187 friend Ostream& operator<< <Type>
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual tmp< scalarField > x() const
Return the reference values.
A class for handling words, derived from string.
virtual tmp< Field< Type > > y() const
Return the dependent values.
A class for managing temporary objects.
autoPtr< interpolationWeights > interpolatorPtr_
Interpolator method.
virtual dimensioned< Type > dimValue(const scalar x) const
Return dimensioned constant value.
volScalarField & bound(volScalarField &, const dimensionedScalar &lowerBound)
Bound the given scalar field if it has gone unbounded.
virtual void writeEntries(Ostream &os) const
Write keywords only in dictionary format. Used for non-inline.
labelList currentIndices_
Cached indices and weights.
List< Tuple2< scalar, Type > > table_
Table data.
Dimension set for the base types.
const word name_
Table name.
boundsHandling
Enumeration for handling out-of-bound values.
const word interpolationScheme_
Interpolation type.
bool checkMinBounds(const scalar x, scalar &xDash) const
Check minimum table bounds.
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
virtual void writeData(Ostream &os) const
Write all table data in dictionary format.
Pre-declare SubField and related Field type.
scalarField currentWeights_
void operator=(const TableBase< Type > &)
Disallow default bitwise assignment.
dimensionSet dimensions_
The dimension set.
TableBase(const word &name, const dictionary &dict)
Construct from dictionary - note table is not populated.
virtual ~TableBase()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for interpolating in 1D.
bool checkMaxBounds(const scalar x, scalar &xDash) const
Check maximum table bounds.
autoPtr< scalarField > tableSamplesPtr_
Extracted values.
boundsHandling outOfBounds(const boundsHandling &bound)
Set the out-of-bounds handling from enum, return previous setting.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
word boundsHandlingToWord(const boundsHandling &bound) const
Return the out-of-bounds handling as a word.
virtual Type value(const scalar x) const
Return Table value.
void check() const
Check the table for size and consistency.
boundsHandling wordToBoundsHandling(const word &bound) const
Return the out-of-bounds handling as an enumeration.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void convertTimeBase(const Time &t)
Convert time.
virtual dimensioned< Type > dimIntegrate(const scalar x1, const scalar x2) const
Integrate between two values and return dimensioned type.
const interpolationWeights & interpolator() const
Return (demand driven) interpolator.
const boundsHandling boundsHandling_
Enumeration for handling out-of-bound values.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
word name(const complex &)
Return a string representation of a complex.
Base class for table with bounds handling, interpolation and integration.