17 #ifndef __deal2__function_parser_h 18 #define __deal2__function_parser_h 21 #include <deal.II/base/config.h> 23 #include <deal.II/base/function.h> 24 #include <deal.II/base/tensor.h> 25 #include <deal.II/base/point.h> 37 template <
typename>
class Vector;
336 const double initial_time = 0.0);
426 void initialize (
const std::string &vars,
427 const std::vector<std::string> &expressions,
428 const ConstMap &constants,
429 const bool time_dependent =
false,
430 const bool use_degrees =
false);
445 void initialize (
const std::string &vars,
446 const std::vector<std::string> &expressions,
447 const ConstMap &constants,
448 const ConstMap &units,
449 const bool time_dependent =
false,
450 const bool use_degrees =
false);
464 void initialize (
const std::string &vars,
465 const std::string &expression,
466 const ConstMap &constants,
467 const bool time_dependent =
false,
468 const bool use_degrees =
false);
475 void initialize (
const std::string &vars,
476 const std::string &expression,
477 const ConstMap &constants,
478 const ConstMap &units,
479 const bool time_dependent =
false,
480 const bool use_degrees =
false);
493 default_variable_names ();
507 const unsigned int component = 0)
const;
518 virtual void vector_value (
const Point<dim> &p,
525 <<
"Parsing Error at Column " << arg1
526 <<
". The parser said: " << arg2);
530 <<
"The number of components (" << arg1
531 <<
") is not equal to the number of expressions (" 544 fparser::FunctionParser *
fp;
593 DEAL_II_NAMESPACE_CLOSE
#define DeclException2(Exception2, type1, type2, outsequence)
ConstMap::iterator ConstMapIterator
static std::string default_variable_names()
#define Assert(cond, exc)
fparser::FunctionParser * fp
std::map< std::string, double > ConstMap
::ExceptionBase & ExcNotImplemented()