38 get_dpo_vector_fe_wedge_p(
const unsigned int degree)
47 dpo.
first_object_index_on_face = {{}, {3, 3, 4, 4, 4}, {3, 3, 4, 4, 4}};
53 dpo.
object_index = {{}, {6}, {15, 15, 15, 16, 17}, {18}};
54 dpo.
first_object_index_on_face = {{}, {3, 3, 4, 4, 4}, {6, 6, 8, 8, 8}};
68 get_dpo_vector_fe_wedge_dgp(
const unsigned int degree)
70 unsigned int n_dofs = 0;
85template <
int dim,
int spacedim>
87 const unsigned int degree,
142template <
int dim,
int spacedim>
147 std::vector<double> & nodal_values)
const
150 this->get_unit_support_points().size());
154 for (
unsigned int i = 0; i < this->dofs_per_cell; ++i)
158 nodal_values[i] = support_point_values[i](0);
164template <
int dim,
int spacedim>
167 get_dpo_vector_fe_wedge_p(degree),
173template <
int dim,
int spacedim>
174std::unique_ptr<FiniteElement<dim, spacedim>>
177 return std::make_unique<FE_WedgeP<dim, spacedim>>(*this);
182template <
int dim,
int spacedim>
186 std::ostringstream namebuf;
187 namebuf <<
"FE_WedgeP<" << dim <<
">(" << this->degree <<
")";
189 return namebuf.str();
194template <
int dim,
int spacedim>
198 const unsigned int codim)
const
220 if (this->degree < fe_wp_other->degree)
222 else if (this->degree == fe_wp_other->degree)
230 if (this->degree < fe_p_other->degree)
232 else if (this->degree == fe_p_other->degree)
240 if (this->degree < fe_q_other->degree)
242 else if (this->degree == fe_q_other->degree)
250 if (fe_nothing->is_dominating())
265template <
int dim,
int spacedim>
266std::vector<std::pair<unsigned int, unsigned int>>
281template <
int dim,
int spacedim>
282std::vector<std::pair<unsigned int, unsigned int>>
292 std::vector<std::pair<unsigned int, unsigned int>> result;
294 for (
unsigned int i = 0; i < this->degree - 1; ++i)
295 result.emplace_back(i, i);
302template <
int dim,
int spacedim>
303std::vector<std::pair<unsigned int, unsigned int>>
306 const unsigned int face_no)
const
323 std::vector<std::pair<unsigned int, unsigned int>> result;
325 for (
unsigned int i = 0; i < this->n_dofs_per_quad(face_no); ++i)
326 result.emplace_back(i, i);
333template <
int dim,
int spacedim>
336 get_dpo_vector_fe_wedge_dgp(degree),
342template <
int dim,
int spacedim>
343std::unique_ptr<FiniteElement<dim, spacedim>>
346 return std::make_unique<FE_WedgeDGP<dim, spacedim>>(*this);
351template <
int dim,
int spacedim>
355 std::ostringstream namebuf;
356 namebuf <<
"FE_WedgeDGP<" << dim <<
">(" << this->degree <<
")";
358 return namebuf.str();
362#include "fe_wedge_p.inst"
std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
std::string get_name() const override
FE_WedgeDGP(const unsigned int degree)
std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other, const unsigned int face_no=0) const override
FE_WedgeP(const unsigned int degree)
std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim) const override
std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
std::string get_name() const override
FE_WedgePoly(const unsigned int degree, const internal::GenericDoFsPerObject &dpos, const typename FiniteElementData< dim >::Conformity conformity)
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
const unsigned int degree
unsigned int n_dofs_per_cell() const
ReferenceCell reference_cell() const
std::vector< std::vector< Point< dim - 1 > > > unit_face_support_points
const std::vector< Point< dim > > & get_unit_support_points() const
std::vector< Point< dim > > unit_support_points
unsigned int n_faces() const
ReferenceCell face_reference_cell(const unsigned int face_no) const
std_cxx20::ranges::iota_view< unsigned int, unsigned int > face_indices() const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
#define AssertDimension(dim1, dim2)
#define AssertIndexRange(index, range)
static ::ExceptionBase & ExcInternalError()
@ either_element_can_dominate
@ other_element_dominates
@ neither_element_dominates
constexpr const ReferenceCell Quadrilateral
constexpr const ReferenceCell Wedge
constexpr const ReferenceCell Triangle
static const constexpr ::ndarray< unsigned int, 18, 2 > wedge_table_2
static const constexpr ::ndarray< unsigned int, 6, 2 > wedge_table_1
internal::GenericDoFsPerObject expand(const unsigned int dim, const std::vector< unsigned int > &dofs_per_object, const ReferenceCell reference_cell)
std::vector< std::vector< unsigned int > > object_index
std::vector< std::vector< unsigned int > > first_object_index_on_face
std::vector< std::vector< unsigned int > > dofs_per_object_inclusive
std::vector< std::vector< unsigned int > > dofs_per_object_exclusive