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\}}\)
fe_dgp.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2002 - 2018 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_fe_dgp_h
17 #define dealii_fe_dgp_h
18 
19 #include <deal.II/base/config.h>
20 
22 
23 #include <deal.II/fe/fe_poly.h>
24 
26 
29 
310 template <int dim, int spacedim = dim>
311 class FE_DGP : public FE_Poly<PolynomialSpace<dim>, dim, spacedim>
312 {
313 public:
317  FE_DGP(const unsigned int p);
318 
324  virtual std::string
325  get_name() const override;
326 
350  virtual std::vector<std::pair<unsigned int, unsigned int>>
352  const FiniteElement<dim, spacedim> &fe_other) const override;
353 
361  virtual std::vector<std::pair<unsigned int, unsigned int>>
363  const FiniteElement<dim, spacedim> &fe_other) const override;
364 
372  virtual std::vector<std::pair<unsigned int, unsigned int>>
374  const FiniteElement<dim, spacedim> &fe_other) const override;
375 
384  virtual bool
385  hp_constraints_are_implemented() const override;
386 
392  const unsigned int codim = 0) const override final;
393 
409  virtual void
411  FullMatrix<double> &matrix) const override;
412 
424  virtual void
426  const unsigned int subface,
427  FullMatrix<double> &matrix) const override;
428 
433  virtual bool
434  has_support_on_face(const unsigned int shape_index,
435  const unsigned int face_index) const override;
436 
445  virtual std::size_t
446  memory_consumption() const override;
447 
448 
453  virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
454  get_constant_modes() const override;
455 
456  virtual std::unique_ptr<FiniteElement<dim, spacedim>>
457  clone() const override;
458 
459 private:
466  static std::vector<unsigned int>
467  get_dpo_vector(const unsigned int degree);
468 };
469 
470 /* @} */
471 
473 
474 #endif
FE_DGP::hp_quad_dof_identities
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
Definition: fe_dgp.cc:200
FE_DGP::has_support_on_face
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
Definition: fe_dgp.cc:263
FE_DGP::hp_vertex_dof_identities
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
Definition: fe_dgp.cc:166
fe_poly.h
FE_DGP::compare_for_domination
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
Definition: fe_dgp.cc:217
FE_DGP::FE_DGP
FE_DGP(const unsigned int p)
Definition: fe_dgp.cc:29
FiniteElementData::degree
const unsigned int degree
Definition: fe_base.h:298
FE_DGP::get_face_interpolation_matrix
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix) const override
Definition: fe_dgp.cc:106
FE_DGP::hp_constraints_are_implemented
virtual bool hp_constraints_are_implemented() const override
Definition: fe_dgp.cc:157
FiniteElementDomination::Domination
Domination
Definition: fe_base.h:83
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
LAPACKSupport::matrix
@ matrix
Contents is actually a matrix.
Definition: lapack_support.h:60
FE_DGP::get_name
virtual std::string get_name() const override
Definition: fe_dgp.cc:59
FE_DGP::get_subface_interpolation_matrix
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix) const override
Definition: fe_dgp.cc:131
polynomial_space.h
FiniteElement
Definition: fe.h:648
FE_DGP::get_dpo_vector
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition: fe_dgp.cc:90
FE_DGP::clone
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
Definition: fe_dgp.cc:76
FE_DGP::memory_consumption
virtual std::size_t memory_consumption() const override
Definition: fe_dgp.cc:286
FE_DGP
Definition: fe_dgp.h:311
FE_DGP::get_constant_modes
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
Definition: fe_dgp.cc:274
FE_Poly
Definition: fe_poly.h:76
config.h
FullMatrix< double >
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
FE_DGP::hp_line_dof_identities
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
Definition: fe_dgp.cc:183