13#ifndef dealii_function_parser_h
14#define dealii_function_parser_h
234 const double initial_time = 0.0,
235 const double h = 1e-8);
247 const double h = 1e-8);
318 const bool time_dependent =
false)
override;
329 const std::string &expression,
331 const bool time_dependent =
false);
348 value(
const Point<dim> &p,
const unsigned int component = 0)
const override;
354 const std::vector<std::string> &
364 <<
"Parsing Error at Column " << arg1
365 <<
". The parser said: " << arg2);
370 <<
"The number of components (" << arg1
371 <<
") 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
#define DEAL_II_NOT_IMPLEMENTED()
#define DeclException2(Exception2, type1, type2, outsequence)
static ::ExceptionBase & ExcInvalidExpressionSize(int arg1, int arg2)
static ::ExceptionBase & ExcParseError(int arg1, std::string arg2)