15#ifndef dealii_function_parser_h
16#define dealii_function_parser_h
238 const double initial_time = 0.0,
239 const double h = 1e-8);
251 const double h = 1e-8);
322 const bool time_dependent =
false)
override;
333 const std::string &expression,
335 const bool time_dependent =
false);
352 value(
const Point<dim> &p,
const unsigned int component = 0)
const override;
358 const std::vector<std::string> &
368 <<
"Parsing Error at Column " << arg1
369 <<
". The parser said: " << arg2);
374 <<
"The number of components (" << arg1
375 <<
") 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 DeclException2(Exception2, type1, type2, outsequence)
static ::ExceptionBase & ExcInvalidExpressionSize(int arg1, int arg2)
static ::ExceptionBase & ExcParseError(int arg1, std::string arg2)
#define DEAL_II_NOT_IMPLEMENTED()