Go to the documentation of this file.
51 class interpolationWeights;
53 namespace Function1Types
129 virtual Type
value(
const scalar
x)
const;
132 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
const word interpolationScheme_
Interpolation type.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
autoPtr< interpolationWeights > interpolatorPtr_
Interpolator method.
bool checkMaxBounds(const scalar x, scalar &xDash) const
Check maximum table bounds.
A class for handling words, derived from Foam::string.
const interpolationWeights & interpolator() const
Return (demand driven) interpolator.
A class for managing temporary objects.
const word const dictionary & dict
List< Tuple2< scalar, Type > > table_
Table data.
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...
repeatableBounding
Enumeration for handling out-of-bound values that are repeatable.
virtual Type value(const scalar x) const
Return Table value.
virtual void convertTimeBase(const Time &t)
Convert time.
word name(const complex &c)
Return string representation of complex.
autoPtr< scalarField > tableSamplesPtr_
Extracted values.
virtual tmp< scalarField > x() const
Return the reference values.
void check() const
Check the table for size and consistency.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Abstract base class for interpolating in 1D.
virtual ~TableBase()
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalarField currentWeights_
void operator=(const TableBase< Type > &)=delete
No copy assignment.
virtual void writeData(Ostream &os) const
Write all table data in dictionary format.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void writeEntries(Ostream &os) const
Write keywords only in dictionary format.
TableBase(const word &name, const dictionary &dict)
Construct from dictionary - note table is not populated.
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
Return the dependent values.
bool checkMinBounds(const scalar x, scalar &xDash) const
Check minimum table bounds.
labelList currentIndices_
Cached indices and weights.
const bounds::repeatableBounding bounding_
Handling for out-of-bound values.