}
-#ifdef DEAL_II_WITH_MUPARSER
template <int dim>
void
return this->do_value(p, this->get_time(), component);
}
-#else
-
-
-template <int dim>
-void
-FunctionParser<dim>::initialize(const std::string &,
- const std::vector<std::string> &,
- const std::map<std::string, double> &,
- const bool)
-{
- AssertThrow(false, ExcNeedsFunctionparser());
-}
-
-template <int dim>
-void
-FunctionParser<dim>::initialize(const std::string &,
- const std::string &,
- const std::map<std::string, double> &,
- const bool)
-{
- AssertThrow(false, ExcNeedsFunctionparser());
-}
-
-
-
-template <int dim>
-double
-FunctionParser<dim>::value(const Point<dim> &, unsigned int) const
-{
- AssertThrow(false, ExcNeedsFunctionparser());
- return 0.;
-}
-
-
-template <int dim>
-void
-FunctionParser<dim>::vector_value(const Point<dim> &, Vector<double> &) const
-{
- AssertThrow(false, ExcNeedsFunctionparser());
-}
-
-
-#endif
-
// Explicit Instantiations.
template class FunctionParser<1>;
}
-#ifdef DEAL_II_WITH_MUPARSER
template <int rank, int dim, typename Number>
void
}
}
-#else
-
-
-template <int rank, int dim, typename Number>
-void
-TensorFunctionParser<rank, dim, Number>::initialize(
- const std::string &,
- const std::vector<std::string> &,
- const std::map<std::string, double> &,
- const bool)
-{
- AssertThrow(false, ExcNeedsFunctionparser());
-}
-
-template <int rank, int dim, typename Number>
-void
-TensorFunctionParser<rank, dim, Number>::initialize(
- const std::string &,
- const std::string &,
- const std::map<std::string, double> &,
- const bool)
-{
- AssertThrow(false, ExcNeedsFunctionparser());
-}
-
-
-
-template <int rank, int dim, typename Number>
-Tensor<rank, dim, Number>
-TensorFunctionParser<rank, dim, Number>::value(const Point<dim> &) const
-{
- AssertThrow(false, ExcNeedsFunctionparser());
- return Tensor<rank, dim, Number>();
-}
-
-
-
-template <int rank, int dim, typename Number>
-void
-TensorFunctionParser<rank, dim, Number>::value_list(
- const std::vector<Point<dim>> &,
- std::vector<Tensor<rank, dim, Number>> &) const
-{
- AssertThrow(false, ExcNeedsFunctionparser());
-}
-
-
-#endif
-
// explicit instantiations
#include "tensor_function_parser.inst"