#include <formulaBase.hpp>
|
|
| FormulaBase (const FormulaBase &)=delete |
| | prevent copy of this object
|
| |
|
void | operator= (const FormulaBase &)=delete |
| | prevent copy of this object
|
| |
| virtual double | Eval (const double &x, const double &y, const double &z, const double &t) const =0 |
| |
| virtual double | Eval (const double *xyz, const int &ndims, const double &t) const =0 |
| |
| virtual void | Eval (const double &x, const double &y, const double &z, const double &t, std::vector< double > &result) const =0 |
| |
| virtual void | Eval (const double *xyz, const int &ndims, const double &t, std::vector< double > &result) const =0 |
| |
| virtual PetscFunction | GetPetscFunction ()=0 |
| |
| virtual void * | GetContext ()=0 |
| |
| virtual | ~MathFunction ()=default |
| |
|
|
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
|
| |
Formula base is the base abstract class shared by other formulas
◆ FormulaBase()
protected constructor to build the formula base
- Parameters
-
◆ ConvertToException()
| std::invalid_argument ablate::mathFunctions::FormulaBase::ConvertToException |
( |
mu::Parser::exception_type & |
exception | ) |
|
|
staticprotected |
helper function to convert to a invalid_exception
- Parameters
-
- Returns
The documentation for this class was generated from the following files: