|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
28 template <
int dim,
int spacedim>
32 Polynomials::Legendre::generate_complete_basis(degree)),
42 std::vector<
bool>(1, true)))
57 template <
int dim,
int spacedim>
65 std::ostringstream namebuf;
67 << this->degree <<
")";
74 template <
int dim,
int spacedim>
75 std::unique_ptr<FiniteElement<dim, spacedim>>
78 return std_cxx14::make_unique<FE_DGP<dim, spacedim>>(*this);
88 template <
int dim,
int spacedim>
89 std::vector<unsigned int>
92 std::vector<unsigned int> dpo(dim + 1, 0
U);
94 for (
unsigned int i = 1; i < dim; ++i)
96 dpo[dim] *= deg + 1 + i;
104 template <
int dim,
int spacedim>
114 (void)interpolation_matrix;
118 (
dynamic_cast<const FEDGP *
>(&x_source_fe) !=
nullptr),
119 typename FE::ExcInterpolationNotImplemented());
121 Assert(interpolation_matrix.
m() == 0,
123 Assert(interpolation_matrix.
n() == 0,
129 template <
int dim,
int spacedim>
140 (void)interpolation_matrix;
144 (
dynamic_cast<const FEDGP *
>(&x_source_fe) !=
nullptr),
145 typename FE::ExcInterpolationNotImplemented());
147 Assert(interpolation_matrix.
m() == 0,
149 Assert(interpolation_matrix.
n() == 0,
155 template <
int dim,
int spacedim>
164 template <
int dim,
int spacedim>
165 std::vector<std::pair<unsigned int, unsigned int>>
171 return std::vector<std::pair<unsigned int, unsigned int>>();
175 return std::vector<std::pair<unsigned int, unsigned int>>();
181 template <
int dim,
int spacedim>
182 std::vector<std::pair<unsigned int, unsigned int>>
188 return std::vector<std::pair<unsigned int, unsigned int>>();
192 return std::vector<std::pair<unsigned int, unsigned int>>();
198 template <
int dim,
int spacedim>
199 std::vector<std::pair<unsigned int, unsigned int>>
205 return std::vector<std::pair<unsigned int, unsigned int>>();
209 return std::vector<std::pair<unsigned int, unsigned int>>();
215 template <
int dim,
int spacedim>
219 const unsigned int codim)
const
236 if (this->degree < fe_dgp_other->degree)
238 else if (this->degree == fe_dgp_other->degree)
246 if (fe_nothing->is_dominating())
261 template <
int dim,
int spacedim>
264 const unsigned int)
const
272 template <
int dim,
int spacedim>
273 std::pair<Table<2, bool>, std::vector<unsigned int>>
277 constant_modes(0, 0) =
true;
278 return std::pair<Table<2, bool>, std::vector<unsigned int>>(
279 constant_modes, std::vector<unsigned int>(1, 0));
284 template <
int dim,
int spacedim>
295 #include "fe_dgp.inst"
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
static ::ExceptionBase & ExcNotImplemented()
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
FE_DGP(const unsigned int p)
@ either_element_can_dominate
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
@ neither_element_dominates
@ other_element_dominates
virtual bool hp_constraints_are_implemented() const override
std::string dim_string(const int dim, const int spacedim)
#define DEAL_II_NAMESPACE_OPEN
std::vector< std::vector< FullMatrix< double > > > prolongation
virtual std::string get_name() const override
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
void L2(Vector< number > &result, const FEValuesBase< dim > &fe, const std::vector< double > &input, const double factor=1.)
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual std::size_t memory_consumption() const override
#define Assert(cond, exc)
std::vector< std::vector< FullMatrix< double > > > restriction
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
virtual std::string get_name() const =0
void reinit_restriction_and_prolongation_matrices(const bool isotropic_restriction_only=false, const bool isotropic_prolongation_only=false)
#define 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
#define AssertThrow(cond, exc)