14 #ifndef GEOSX_MANAGERS_FUNCTIONS_SYMBOLICFUNCTION_HPP_ 15 #define GEOSX_MANAGERS_FUNCTIONS_SYMBOLICFUNCTION_HPP_ 19 #include <mathpresso/mathpresso.h> 64 FunctionBase::EvaluateT< SymbolicFunction >( group, time,
set, result );
74 return parserExpression.evaluate( reinterpret_cast< void * >( const_cast< real64 * >(input) ) );
94 mathpresso::Context parserContext;
95 mathpresso::Expression parserExpression;
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 setSymbolicVariableNames(string_array variableNames)
Set the symbolic variable names.
virtual void InitializeFunction() override
Initialize the table function.
double real64
64-bit floating point type.
virtual ~SymbolicFunction() override
The destructor.
void setSymbolicExpression(string expression)
Set the symbolic expression.
static string CatalogName()
The catalog name interface.
std::string string
String type.
SymbolicFunction(const std::string &name, dataRepository::Group *const parent)
Constructor.
real64 Evaluate(real64 const *const input) const override final
Method to evaluate a function.
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...