17 #include <deal.II/fe/fe_dgp.h> 18 #include <deal.II/fe/fe_tools.h> 22 DEAL_II_NAMESPACE_OPEN
24 template <
int dim,
int spacedim>
32 get_dpo_vector(degree), 1, degree).dofs_per_cell,
std::vector<bool>(1,true)))
47 template <
int dim,
int spacedim>
55 std::ostringstream namebuf;
58 <<
">(" << this->degree <<
")";
65 template <
int dim,
int spacedim>
79 template <
int dim,
int spacedim>
80 std::vector<unsigned int>
83 std::vector<unsigned int> dpo(dim+1, 0U);
85 for (
unsigned int i=1; i<dim; ++i)
95 template <
int dim,
int spacedim>
105 (void)interpolation_matrix;
110 (dynamic_cast<const FEDGP *>(&x_source_fe) != 0),
112 ExcInterpolationNotImplemented());
114 Assert (interpolation_matrix.
m() == 0,
117 Assert (interpolation_matrix.
n() == 0,
124 template <
int dim,
int spacedim>
135 (void)interpolation_matrix;
140 (dynamic_cast<const FEDGP *>(&x_source_fe) != 0),
142 ExcInterpolationNotImplemented());
144 Assert (interpolation_matrix.
m() == 0,
147 Assert (interpolation_matrix.
n() == 0,
154 template <
int dim,
int spacedim>
163 template <
int dim,
int spacedim>
164 std::vector<std::pair<unsigned int, unsigned int> >
171 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> >
189 std::vector<std::pair<unsigned int, unsigned int> > ();
193 return std::vector<std::pair<unsigned int, unsigned int> > ();
199 template <
int dim,
int spacedim>
200 std::vector<std::pair<unsigned int, unsigned int> >
207 std::vector<std::pair<unsigned int, unsigned int> > ();
211 return std::vector<std::pair<unsigned int, unsigned int> > ();
217 template <
int dim,
int spacedim>
232 template <
int dim,
int spacedim>
235 const unsigned int)
const 243 template <
int dim,
int spacedim>
244 std::pair<Table<2,bool>, std::vector<unsigned int> >
248 constant_modes(0,0) =
true;
249 return std::pair<Table<2,bool>, std::vector<unsigned int> >
250 (constant_modes, std::vector<unsigned int>(1, 0));
255 template <
int dim,
int spacedim>
266 #include "fe_dgp.inst" 269 DEAL_II_NAMESPACE_CLOSE
std::vector< std::vector< FullMatrix< double > > > restriction
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const
virtual FiniteElement< dim, spacedim > * clone() const
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
virtual std::string get_name() const
virtual std::size_t memory_consumption() const
FE_DGP(const unsigned int p)
#define AssertThrow(cond, exc)
virtual FiniteElementDomination::Domination compare_for_face_domination(const FiniteElement< dim, spacedim > &fe_other) const
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const
std::vector< std::vector< FullMatrix< double > > > prolongation
#define Assert(cond, exc)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
virtual std::string get_name() const =0
std::string dim_string(const int dim, const int spacedim)
void reinit_restriction_and_prolongation_matrices(const bool isotropic_restriction_only=false, const bool isotropic_prolongation_only=false)
static ::ExceptionBase & ExcNotImplemented()
virtual bool hp_constraints_are_implemented() const
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const