16#ifndef dealii_function_parser_h
17#define dealii_function_parser_h
231 const double initial_time = 0.0,
232 const double h = 1e-8);
244 const double h = 1e-8);
315 const bool time_dependent =
false)
override;
326 const std::string &expression,
328 const bool time_dependent =
false);
345 value(
const Point<dim> &p,
const unsigned int component = 0)
const override;
351 const std::vector<std::string> &
361 <<
"Parsing Error at Column " << arg1
362 <<
". The parser said: " << arg2);
367 <<
"The number of components (" << arg1
368 <<
") is not equal to the number of expressions (" << arg2
virtual void initialize(const std::string &vars, const std::vector< std::string > &expressions, const ConstMap &constants, const bool time_dependent=false) override
std::map< std::string, double > ConstMap
virtual double value(const Point< dim > &p, const unsigned int component=0) const override
FunctionParser(FunctionParser &&)=delete
FunctionParser & operator=(FunctionParser &&)=delete
const std::vector< std::string > & get_expressions() const
FunctionParser(const FunctionParser &)=delete
FunctionParser & operator=(const FunctionParser &)=delete
static std::string default_variable_names()
const unsigned int n_components
std::vector< std::string > expressions
std::map< std::string, double > constants
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
#define DeclException2(Exception2, type1, type2, outsequence)
static ::ExceptionBase & ExcInvalidExpressionSize(int arg1, int arg2)
static ::ExceptionBase & ExcParseError(int arg1, std::string arg2)