19 #ifndef GEOSX_MANAGERS_FUNCTIONS_TABLEFUNCTION_HPP_ 20 #define GEOSX_MANAGERS_FUNCTIONS_TABLEFUNCTION_HPP_ 63 template<
typename T >
88 FunctionBase::EvaluateT< TableFunction >( group, time,
set, result );
167 static localIndex constexpr m_maxDimensions = 4;
InterpolationType
Enumerator of available interpolation types.
Class describing a file Path.
TableFunction(const std::string &name, dataRepository::Group *const parent)
The constructor.
virtual void Evaluate(dataRepository::Group const *const group, real64 const time, SortedArrayView< localIndex const > const &set, real64_array &result) const override final
Method to evaluate a function on a target object.
void setTableCoordinates(array1d< real64_array > coordinates)
Set the table coordinates.
array1d< real64 > const & getValues() const
Get the table values.
#define ENUM_STRINGS(ENUM,...)
Associate a list of string names with enumeration values.
void parse_file(array1d< T > &target, string const &filename, char delimiter)
Parse a table file.
virtual void InitializeFunction() override
Initialize the table function.
double real64
64-bit floating point type.
void setInterpolationMethod(InterpolationType const method)
Set the interpolation method.
array1d< real64_array > & getCoordinates()
Get the table axes definitions.
virtual ~TableFunction() override
The destructor.
std::int32_t integer
Signed integer type.
array1d< real64_array > const & getCoordinates() const
Get the table axes definitions.
std::ptrdiff_t localIndex
Local index type (for indexing objects within an MPI partition).
void reInitializeFunction()
Build the maps used to evaluate the table function.
void setTableValues(real64_array values)
Set the table values.
std::string string
String type.
array1d< real64 > & getValues()
Get the table values.
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...
static string CatalogName()
The catalog name interface.