|
| Formula (const Formula &)=delete |
|
void | operator= (const Formula &)=delete |
|
| Formula (std::string functionString, const std::map< std::string, std::shared_ptr< MathFunction >> &={}, std::shared_ptr< ablate::parameters::Parameters > constants={}) |
|
double | Eval (const double &x, const double &y, const double &z, const double &t) const override |
|
double | Eval (const double *xyz, const int &ndims, const double &t) const override |
|
void | Eval (const double &x, const double &y, const double &z, const double &t, std::vector< double > &result) const override |
|
void | Eval (const double *xyz, const int &ndims, const double &t, std::vector< double > &result) const override |
|
void * | GetContext () override |
|
PetscFunction | GetPetscFunction () override |
|
| FormulaBase (const FormulaBase &)=delete |
| prevent copy of this object
|
|
void | operator= (const FormulaBase &)=delete |
| prevent copy of this object
|
|
virtual | ~MathFunction ()=default |
|
|
| FormulaBase (std::string functionString, const std::shared_ptr< ablate::parameters::Parameters > &constants) |
|
static std::invalid_argument | ConvertToException (mu::Parser::exception_type &exception) |
|
double | coordinate [3] = {0, 0, 0} |
| The coordinate linked to the parser.
|
|
double | time = 0.0 |
| the time linked to the parser
|
|
mu::Parser | parser |
| The parser object library for this formula.
|
|
const std::string | formula |
| the formula output for debugging
|
|
◆ Eval() [1/4]
double ablate::mathFunctions::Formula::Eval |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [2/4]
void ablate::mathFunctions::Formula::Eval |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
const double & |
t, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
overridevirtual |
◆ Eval() [3/4]
double ablate::mathFunctions::Formula::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [4/4]
void ablate::mathFunctions::Formula::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
overridevirtual |
◆ GetContext()
void* ablate::mathFunctions::Formula::GetContext |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetPetscFunction()
PetscFunction ablate::mathFunctions::Formula::GetPetscFunction |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- src/mathFunctions/formula.hpp
- src/mathFunctions/formula.cpp