33 const unsigned int order,
34 const unsigned int n_face_support_points)
43 , n_face_support_points(n_face_support_points)
53std::vector<unsigned int>
56 std::vector<unsigned int>
dpo(dim + 1, 0);
71 <<
"(" << this->order <<
", " << this->n_face_support_points <<
")";
78std::unique_ptr<FiniteElement<dim, dim>>
81 return std::make_unique<FE_RannacherTurek<dim>>(this->order,
82 this->n_face_support_points);
92 ::QGauss<dim - 1> face_quadrature(this->n_face_support_points);
93 this->weights = face_quadrature.get_weights();
94 this->generalized_support_points.resize(4 * face_quadrature.
size());
95 for (
unsigned int q = 0;
q < face_quadrature.
size(); ++
q)
97 this->generalized_support_points[0 * face_quadrature.
size() +
q] =
99 this->generalized_support_points[1 * face_quadrature.
size() +
q] =
101 this->generalized_support_points[2 * face_quadrature.
size() +
q] =
103 this->generalized_support_points[3 * face_quadrature.
size() +
q] =
117 this->generalized_support_points.
size());
138#include "fe_rannacher_turek.inst"
const ElementType * const_iterator
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
FE_RannacherTurek(const unsigned int order=0, const unsigned int n_face_support_points=2)
virtual std::string get_name() const override
void initialize_support_points()
virtual void convert_generalized_support_point_values_to_dof_values(const std::vector< Vector< double > > &support_point_values, std::vector< double > &nodal_values) const override
std::vector< unsigned int > get_dpo_vector()
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
#define AssertDimension(dim1, dim2)
static std_cxx20::ranges::iota_view< unsigned int, unsigned int > face_indices()