parsedFormula.hh
virtual ~ParsedFormula()
ParsedFormulaBase(const ParsedFormulaBase< dim > &frm)
Copy constructor.
Definition: parsedFormula.hh:71
Definition: parsedFormula.hh:94
virtual std::ostream & info(std::ostream &os) const
virtual ParsedFormula< Real > * clone() const
FormulaSyntaxError(const std::string &errMsg)
Constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
ParsedFormula(const std::string formulaR, const std::string formulaI)
Constructor.
Real process_(const Real3d &p, const Real t=0.0, uint i=0) const
Processing the i th formula (with time-dependency variable)
concepts::Sequence< std::pair< std::string, std::string > > RepSeq
Definition: parsedFormula.hh:62
Exception indication that a formula contains a syntax error reported by the parser.
Definition: parsedFormula.hh:22
virtual std::ostream & info(std::ostream &os) const
Sequence with operations, output operator, and method of the particular element types.
Definition: sequence.hh:39
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition: typedefs.hh:39
ParsedFormula(const std::string formula1, const std::string formula2)
Constructor.
virtual std::ostream & info(std::ostream &os) const
virtual ParsedFormula< Cmplx > * clone() const
virtual ParsedFormula< Real2d > * clone() const
void set(const std::string formula, uint i=0, RepSeq rep=RepSeq())
Sets the i th formula.
Parses the given string and evaluates it on request.
Definition: parsedFormula.hh:60
virtual ~ParsedFormula()
virtual ~ParsedFormula()