27template <
int dim,
int spacedim>
31 Polynomials::Legendre::generate_complete_basis(degree)),
58template <
int dim,
int spacedim>
66 std::ostringstream namebuf;
68 << this->degree <<
")";
75template <
int dim,
int spacedim>
76std::unique_ptr<FiniteElement<dim, spacedim>>
79 return std::make_unique<FE_AggloDGP<dim, spacedim>>(*this);
89template <
int dim,
int spacedim>
90std::vector<unsigned int>
93 std::vector<unsigned int> dpo(dim + 1, 0U);
95 for (
unsigned int i = 1; i < dim; ++i)
97 dpo[dim] *= deg + 1 + i;
105template <
int dim,
int spacedim>
110 const unsigned int)
const
116 (void)interpolation_matrix;
120 (
dynamic_cast<const FEDGP *
>(&x_source_fe) !=
nullptr),
121 typename FE::ExcInterpolationNotImplemented());
123 Assert(interpolation_matrix.
m() == 0,
124 ExcDimensionMismatch(interpolation_matrix.
m(), 0));
125 Assert(interpolation_matrix.
n() == 0,
126 ExcDimensionMismatch(interpolation_matrix.
n(), 0));
131template <
int dim,
int spacedim>
137 const unsigned int)
const
143 (void)interpolation_matrix;
147 (
dynamic_cast<const FEDGP *
>(&x_source_fe) !=
nullptr),
148 typename FE::ExcInterpolationNotImplemented());
150 Assert(interpolation_matrix.
m() == 0,
151 ExcDimensionMismatch(interpolation_matrix.
m(), 0));
152 Assert(interpolation_matrix.
n() == 0,
153 ExcDimensionMismatch(interpolation_matrix.
n(), 0));
158template <
int dim,
int spacedim>
167template <
int dim,
int spacedim>
168std::vector<std::pair<unsigned int, unsigned int>>
173 return std::vector<std::pair<unsigned int, unsigned int>>();
178template <
int dim,
int spacedim>
179std::vector<std::pair<unsigned int, unsigned int>>
185 return std::vector<std::pair<unsigned int, unsigned int>>();
189 return std::vector<std::pair<unsigned int, unsigned int>>();
195template <
int dim,
int spacedim>
196std::vector<std::pair<unsigned int, unsigned int>>
199 const unsigned int)
const
203 return std::vector<std::pair<unsigned int, unsigned int>>();
207 return std::vector<std::pair<unsigned int, unsigned int>>();
213template <
int dim,
int spacedim>
217 const unsigned int codim)
const
219 Assert(codim <= dim, ExcImpossibleInDim(dim));
234 if (this->degree < fe_dgp_other->degree)
236 else if (this->degree == fe_dgp_other->degree)
244 if (fe_nothing->is_dominating())
259template <
int dim,
int spacedim>
262 const unsigned int)
const
270template <
int dim,
int spacedim>
271std::pair<Table<2, bool>, std::vector<unsigned int>>
275 constant_modes(0, 0) =
true;
276 return std::pair<Table<2, bool>, std::vector<unsigned int>>(
277 constant_modes, std::vector<unsigned int>(1, 0));
282template <
int dim,
int spacedim>
virtual std::string get_name() const=0
std::vector< std::vector< FullMatrix< double > > > restriction
void reinit_restriction_and_prolongation_matrices(const bool isotropic_restriction_only=false, const bool isotropic_prolongation_only=false)
std::vector< std::vector< FullMatrix< double > > > prolongation
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual std::string get_name() const override
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual bool hp_constraints_are_implemented() const override
virtual std::size_t memory_consumption() const override
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
virtual 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
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
FE_AggloDGP(const unsigned int p)
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
#define AssertThrow(cond, exc)
#define DEAL_II_NOT_IMPLEMENTED()
either_element_can_dominate
neither_element_dominates
std::string dim_string(const int dim, const int spacedim)