109 class interpolationWeights;
130 const word interpolationScheme_;
162 scalar bound(
const scalar
x)
const;
199 return boundsHandling_;
205 return interpolationScheme_;
221 virtual Type
value(
const scalar x)
const;
224 virtual Type
integral(
const scalar x1,
const scalar x2)
const;
Base class to read table data for tables.
TypeName("table")
Runtime type information.
const tableBase::boundsHandling & boundsHandling() const
Return the handling out-of-bound values.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 2-tuple for storing two objects of different types.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual Type value(const scalar x) const
Return Table value as a function of scalar x.
const word & name() const
Return the name of the entry.
const word & interpolationScheme() const
Return the interpolation scheme.
Abstract base class for interpolating in 1D.
Templated interpolated tabulated data Function1.
virtual void write(Ostream &os) const
Write data to dictionary stream.
A class for handling words, derived from string.
virtual ~Table()
Destructor.
const List< Tuple2< scalar, Type > > & values() const
Return table data.
virtual Type integral(const scalar x1, const scalar x2) const
Integrate between two scalars.
Table(const word &name, const tableBase::boundsHandling boundsHandling, const word &interpolationScheme, const autoPtr< TableReader< Type >> &reader, const List< Tuple2< scalar, Type >> &table)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
boundsHandling
Enumeration for handling out-of-bound values.
virtual tmp< Field< Type > > y() const
Return the dependent values.
const autoPtr< TableReader< Type > > & reader() const
Return the reader.
void operator=(const Table< Type > &)=delete
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
virtual tmp< scalarField > x() const
Return the reference values.