15#ifndef dealii_function_parser_h
16#define dealii_function_parser_h
230 const double initial_time = 0.0,
231 const double h = 1e-8);
243 const double h = 1e-8);
314 const bool time_dependent =
false)
override;
325 const std::string &expression,
327 const bool time_dependent =
false);
344 value(
const Point<dim> &p,
const unsigned int component = 0)
const override;
350 const std::vector<std::string> &
360 <<
"Parsing Error at Column " << arg1
361 <<
". The parser said: " << arg2);
366 <<
"The number of components (" << arg1
367 <<
") 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()