From: Johannes Heinz Date: Mon, 3 Apr 2023 11:24:41 +0000 (+0200) Subject: Make FEPointEval expose same types as FEEval X-Git-Tag: v9.5.0-rc1~379^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=185f36c7c2dd0b663175e2111c6a41d5910b2c27;p=dealii.git Make FEPointEval expose same types as FEEval --- diff --git a/include/deal.II/matrix_free/fe_point_evaluation.h b/include/deal.II/matrix_free/fe_point_evaluation.h index 76e714638d..59a46688a1 100644 --- a/include/deal.II/matrix_free/fe_point_evaluation.h +++ b/include/deal.II/matrix_free/fe_point_evaluation.h @@ -400,13 +400,18 @@ namespace internal * by this class is similar (or sometimes even somewhat lower) than using * `FEValues::reinit(cell)` followed by `FEValues::get_function_gradients`. */ -template class FEPointEvaluation { public: + static constexpr unsigned int dimension = dim; + static constexpr unsigned int n_components = n_components_; + + using number_type = Number; + using value_type = typename internal::FEPointEvaluation:: EvaluatorTypeTraits::value_type; using gradient_type = typename internal::FEPointEvaluation::