![]() |
OGS
|
Definition at line 48 of file Function.cpp.
Public Types | |
using | Expression = exprtk::expression<double> |
Public Member Functions | |
Implementation (std::vector< std::string > const &variables, std::vector< std::string > const &value_string_expressions, std::vector< std::pair< std::string, std::vector< std::string > > > const &dvalue_string_expressions) | |
Public Attributes | |
std::vector< Expression > | value_expressions |
std::vector< std::pair< Variable, std::vector< Expression > > > | dvalue_expressions |
VariableArray | variable_array |
Private Member Functions | |
exprtk::symbol_table< double > | createSymbolTable (std::vector< std::string > const &variables) |
using MaterialPropertyLib::Function::Implementation< D >::Expression = exprtk::expression<double> |
Definition at line 51 of file Function.cpp.
MaterialPropertyLib::Function::Implementation< D >::Implementation | ( | std::vector< std::string > const & | variables, |
std::vector< std::string > const & | value_string_expressions, | ||
std::vector< std::pair< std::string, std::vector< std::string > > > const & | dvalue_string_expressions ) |
Definition at line 122 of file Function.cpp.
References MaterialPropertyLib::compileExpressions(), and MaterialPropertyLib::convertStringToVariable().
|
private |
Create symbol table for given variables and populates the variable_array as needed.
Definition at line 82 of file Function.cpp.
References MaterialPropertyLib::convertStringToVariable(), MathLib::KelvinVector::kelvin_vector_dimensions(), and MathLib::VectorizedTensor::size().
std::vector<std::pair<Variable, std::vector<Expression> > > MaterialPropertyLib::Function::Implementation< D >::dvalue_expressions |
Derivative expressions with respect to the variable. Multiple expressions are representing vector-valued functions.
Definition at line 74 of file Function.cpp.
std::vector<Expression> MaterialPropertyLib::Function::Implementation< D >::value_expressions |
Value expressions. Multiple expressions are representing vector-valued functions.
Definition at line 69 of file Function.cpp.
|
mutable |
Stores values for evaluation of vectorial quantities. Needed for constant pointers for exprtk.
Definition at line 78 of file Function.cpp.