15#ifndef dealii_tensor_function_parser_h
16#define dealii_tensor_function_parser_h
104template <
int rank,
int dim,
typename Number =
double>
127 const std::string &expression,
202 const bool time_dependent =
false)
override;
213 const std::string &expression,
215 const bool time_dependent =
false);
242 const std::vector<std::string> &
252 <<
"Parsing Error at Column " << arg1
253 <<
". The parser said: " << arg2);
258 <<
"The number of components (" << arg1
259 <<
") is not equal to the number of expressions (" << arg2
271template <
int rank,
int dim,
typename Number>
TensorFunctionParser & operator=(const TensorFunctionParser &)=delete
virtual Tensor< rank, dim, Number > value(const Point< dim > &p) const override
TensorFunctionParser(const TensorFunctionParser &)=delete
TensorFunctionParser(TensorFunctionParser &&)=delete
unsigned int n_components
TensorFunctionParser & operator=(TensorFunctionParser &&)=delete
virtual void value_list(const std::vector< Point< dim > > &p, std::vector< Tensor< rank, dim, Number > > &values) const override
virtual void initialize(const std::string &vars, const std::vector< std::string > &expressions, const ConstMap &constants, const bool time_dependent=false) override
static std::string default_variable_names()
std::map< std::string, double > ConstMap
const std::vector< std::string > & get_expressions() const
std::vector< std::string > expressions
std::map< std::string, double > constants
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcParseError(int arg1, std::string arg2)
static ::ExceptionBase & ExcInvalidExpressionSize(int arg1, int arg2)
#define DeclException2(Exception2, type1, type2, outsequence)
#define DEAL_II_NOT_IMPLEMENTED()