#include <simpleFormula.hpp>
|
| SimpleFormula (const SimpleFormula &)=delete |
|
void | operator= (const SimpleFormula &)=delete |
|
| SimpleFormula (std::string functionString) |
|
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
|
|
simple wrapper to compute a function from a x,y,z string. see https://beltoforion.de/en/muparser/index.php
◆ Eval() [1/4]
double ablate::mathFunctions::SimpleFormula::Eval |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [2/4]
void ablate::mathFunctions::SimpleFormula::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::SimpleFormula::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t |
|
) |
| const |
|
overridevirtual |
◆ Eval() [4/4]
void ablate::mathFunctions::SimpleFormula::Eval |
( |
const double * |
xyz, |
|
|
const int & |
ndims, |
|
|
const double & |
t, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
overridevirtual |
◆ GetContext()
void* ablate::mathFunctions::SimpleFormula::GetContext |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetPetscFunction()
PetscFunction ablate::mathFunctions::SimpleFormula::GetPetscFunction |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: