20 #ifndef GEOS_FUNCTIONS_COMPOSITEFUNCTION_HPP_
21 #define GEOS_FUNCTIONS_COMPOSITEFUNCTION_HPP_
25 #include <mathpresso/mathpresso.h>
83 mathpresso::Context parserContext;
84 mathpresso::Expression parserExpression;
87 static constexpr
localIndex m_maxNumSubFunctions = 10;
88 std::vector< FunctionBase * > m_subFunctions;
virtual ~CompositeFunction() override
destructor
virtual void initializeFunction() override
Function initialization.
static string catalogName()
Static Factory Catalog Functions.
virtual real64 evaluate(real64 const *const input) const override final
Method to evaluate a function.
CompositeFunction(const string &name, dataRepository::Group *const parent)
Constructor.
virtual void evaluate(dataRepository::Group const &group, real64 const time, SortedArrayView< localIndex const > const &set, arrayView1d< real64 > const &result) const override final
Method to evaluate a function on a target object.
ArrayView< T, 1 > arrayView1d
Alias for 1D array view.
array1d< string > string_array
A 1-dimensional array of geos::string types.
std::set< T > set
A set of local indices.
double real64
64-bit floating point type.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
LvArray::SortedArrayView< T, localIndex, LvArray::ChaiBuffer > SortedArrayView
A sorted array view of local indices.