Definition at line 57 of file Function.h.
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, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves) | |
Public Attributes | |
std::vector< Expression > | value_expressions |
std::vector< std::pair< Variable, std::vector< Expression > > > | dvalue_expressions |
VariableArray | variable_array |
std::map< std::string, CurveWrapper > | _curve_wrappers |
bool | spatial_position_is_required = false |
Private Member Functions | |
exprtk::symbol_table< double > | createSymbolTable (std::vector< std::string > const &variables, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves) |
using MaterialPropertyLib::Function::Implementation< D >::Expression = exprtk::expression<double> |
Definition at line 67 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, | ||
std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const & | curves ) |
Definition at line 190 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 108 of file Function.cpp.
References MaterialPropertyLib::convertStringToVariable(), MathLib::KelvinVector::kelvin_vector_dimensions(), MaterialPropertyLib::name, and MathLib::VectorizedTensor::size().
std::map<std::string, CurveWrapper> MaterialPropertyLib::Function::Implementation< D >::_curve_wrappers |
Definition at line 102 of file Function.cpp.
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 96 of file Function.cpp.
bool MaterialPropertyLib::Function::Implementation< D >::spatial_position_is_required = false |
Definition at line 104 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 91 of file Function.cpp.
|
mutable |
Stores values for evaluation of vectorial quantities. Needed for constant pointers for exprtk.
Definition at line 100 of file Function.cpp.