16 #ifndef dealii_fe_q_base_h 17 #define dealii_fe_q_base_h 19 #include <deal.II/base/config.h> 21 #include <deal.II/base/thread_management.h> 23 #include <deal.II/fe/fe_poly.h> 25 DEAL_II_NAMESPACE_OPEN
41 template <
class PolynomialType,
42 int dim = PolynomialType::dimension,
92 const unsigned int subface,
101 const unsigned int face_index)
const override;
127 const unsigned int child,
159 const unsigned int child,
203 const unsigned int face,
204 const bool face_orientation =
true,
205 const bool face_flip =
false,
206 const bool face_rotation =
false)
const override;
212 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
246 virtual std::vector<std::pair<unsigned int, unsigned int>>
254 virtual std::vector<std::pair<unsigned int, unsigned int>>
262 virtual std::vector<std::pair<unsigned int, unsigned int>>
274 "FE_Q can only be used for polynomial degrees " 275 "greater than zero. If you want an element of polynomial " 276 "degree zero, then it cannot be continuous and you " 277 "will want to use FE_DGQ<dim>(0).");
286 static std::vector<unsigned int>
349 const unsigned int q_degree;
355 DEAL_II_NAMESPACE_CLOSE
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
FE_Q_Base(const PolynomialType &poly_space, const FiniteElementData< dim > &fe_data, const std::vector< bool > &restriction_is_additive_flags)
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
const unsigned int degree
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
static ::ExceptionBase & ExcFEQCannotHaveDegree0()
virtual const FullMatrix< double > & get_prolongation_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const override
void initialize_unit_face_support_points(const std::vector< Point< 1 >> &points)
void initialize_unit_support_points(const std::vector< Point< 1 >> &points)
#define DeclExceptionMsg(Exception, defaulttext)
virtual void get_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
virtual const FullMatrix< double > & get_restriction_matrix(const unsigned int child, const RefinementCase< dim > &refinement_case=RefinementCase< dim >::isotropic_refinement) const override
virtual unsigned int face_to_cell_index(const unsigned int face_dof_index, const unsigned int face, const bool face_orientation=true, const bool face_flip=false, const bool face_rotation=false) const override
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
void initialize_constraints(const std::vector< Point< 1 >> &points)
virtual bool hp_constraints_are_implemented() const override
void initialize(const std::vector< Point< 1 >> &support_points_1d)
void initialize_quad_dof_index_permutation()
PolynomialType poly_space
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
const std::vector< bool > restriction_is_additive_flags