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;
83template <
int dim,
int spacedim>
85 const unsigned int degree,
119template <
int dim,
int spacedim>
122 get_dpo_vector_fe_wedge_p(degree),
128template <
int dim,
int spacedim>
129std::unique_ptr<FiniteElement<dim, spacedim>>
132 return std::make_unique<FE_WedgeP<dim, spacedim>>(*this);
137template <
int dim,
int spacedim>
141 std::ostringstream namebuf;
142 namebuf <<
"FE_WedgeP<" << dim <<
">(" << this->degree <<
")";
144 return namebuf.str();
149template <
int dim,
int spacedim>
153 const unsigned int codim)
const
175 if (this->degree < fe_wp_other->degree)
177 else if (this->degree == fe_wp_other->degree)
185 if (this->degree < fe_p_other->degree)
187 else if (this->degree == fe_p_other->degree)
195 if (this->degree < fe_q_other->degree)
197 else if (this->degree == fe_q_other->degree)
205 if (fe_nothing->is_dominating())
220template <
int dim,
int spacedim>
221std::vector<std::pair<unsigned int, unsigned int>>
236template <
int dim,
int spacedim>
237std::vector<std::pair<unsigned int, unsigned int>>
247 std::vector<std::pair<unsigned int, unsigned int>> result;
249 for (
unsigned int i = 0; i < this->degree - 1; ++i)
250 result.emplace_back(i, i);
257template <
int dim,
int spacedim>
258std::vector<std::pair<unsigned int, unsigned int>>
261 const unsigned int face_no)
const
278 std::vector<std::pair<unsigned int, unsigned int>> result;
280 for (
unsigned int i = 0; i < this->n_dofs_per_quad(face_no); ++i)
281 result.emplace_back(i, i);
288template <
int dim,
int spacedim>
291 get_dpo_vector_fe_wedge_dgp(degree),
297template <
int dim,
int spacedim>
298std::unique_ptr<FiniteElement<dim, spacedim>>
301 return std::make_unique<FE_WedgeDGP<dim, spacedim>>(*this);
306template <
int dim,
int spacedim>
310 std::ostringstream namebuf;
311 namebuf <<
"FE_WedgeDGP<" << dim <<
">(" << this->degree <<
")";
313 return namebuf.str();
317#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)
const unsigned int degree
std::vector< Point< dim > > unit_support_points
#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)
@ either_element_can_dominate
@ other_element_dominates
@ neither_element_dominates
void L2(Vector< number > &result, const FEValuesBase< dim > &fe, const std::vector< double > &input, const double factor=1.)
constexpr const ReferenceCell Wedge
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