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_monomial.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2004 - 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_monomial_h
17 #define dealii_fe_dgp_monomial_h
18 
19 #include <deal.II/base/config.h>
20 
22 
23 #include <deal.II/fe/fe_poly.h>
24 
26 
29 
285 template <int dim>
286 class FE_DGPMonomial : public FE_Poly<PolynomialsP<dim>, dim>
287 {
288 public:
292  FE_DGPMonomial(const unsigned int p);
293 
299  virtual std::string
300  get_name() const override;
301 
325  virtual std::vector<std::pair<unsigned int, unsigned int>>
326  hp_vertex_dof_identities(const FiniteElement<dim> &fe_other) const override;
327 
335  virtual std::vector<std::pair<unsigned int, unsigned int>>
336  hp_line_dof_identities(const FiniteElement<dim> &fe_other) const override;
337 
345  virtual std::vector<std::pair<unsigned int, unsigned int>>
346  hp_quad_dof_identities(const FiniteElement<dim> &fe_other) const override;
347 
356  virtual bool
357  hp_constraints_are_implemented() const override;
358 
364  const unsigned int codim = 0) const override final;
365 
379  virtual void
381  FullMatrix<double> & matrix) const override;
382 
394  virtual void
396  FullMatrix<double> &matrix) const override;
397 
409  virtual void
411  const unsigned int subface,
412  FullMatrix<double> &matrix) const override;
413 
418  virtual bool
419  has_support_on_face(const unsigned int shape_index,
420  const unsigned int face_index) const override;
421 
430  virtual std::size_t
431  memory_consumption() const override;
432 
433  virtual std::unique_ptr<FiniteElement<dim, dim>>
434  clone() const override;
435 
436 private:
443  static std::vector<unsigned int>
444  get_dpo_vector(const unsigned int degree);
445 
449  void
451 };
452 
456 
457 #endif
FE_DGPMonomial::compare_for_domination
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim > &fe_other, const unsigned int codim=0) const override final
Definition: fe_dgp_monomial.cc:394
FE_DGPMonomial::hp_quad_dof_identities
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim > &fe_other) const override
Definition: fe_dgp_monomial.cc:376
FE_DGPMonomial
Definition: fe_dgp_monomial.h:286
FE_DGPMonomial::hp_vertex_dof_identities
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim > &fe_other) const override
Definition: fe_dgp_monomial.cc:340
fe_poly.h
FE_DGPMonomial::initialize_restriction
void initialize_restriction()
Definition: fe_dgp_monomial.cc:250
FiniteElementData::degree
const unsigned int degree
Definition: fe_base.h:298
FE_DGPMonomial::get_face_interpolation_matrix
virtual void get_face_interpolation_matrix(const FiniteElement< dim > &source, FullMatrix< double > &matrix) const override
Definition: fe_dgp_monomial.cc:278
FiniteElementDomination::Domination
Domination
Definition: fe_base.h:83
FE_DGPMonomial::clone
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
Definition: fe_dgp_monomial.cc:185
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_DGPMonomial::memory_consumption
virtual std::size_t memory_consumption() const override
Definition: fe_dgp_monomial.cc:494
FiniteElement< dim >
FE_DGPMonomial::hp_line_dof_identities
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim > &fe_other) const override
Definition: fe_dgp_monomial.cc:358
FE_DGPMonomial::has_support_on_face
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
FE_DGPMonomial::get_dpo_vector
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition: fe_dgp_monomial.cc:263
FE_DGPMonomial::hp_constraints_are_implemented
virtual bool hp_constraints_are_implemented() const override
Definition: fe_dgp_monomial.cc:331
FE_Poly
Definition: fe_poly.h:76
config.h
FullMatrix< double >
FE_DGPMonomial::get_name
virtual std::string get_name() const override
Definition: fe_dgp_monomial.cc:166
FE_DGPMonomial::get_interpolation_matrix
virtual void get_interpolation_matrix(const FiniteElement< dim > &source, FullMatrix< double > &matrix) const override
Definition: fe_dgp_monomial.cc:195
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
polynomials_p.h
FE_DGPMonomial::get_subface_interpolation_matrix
virtual void get_subface_interpolation_matrix(const FiniteElement< dim > &source, const unsigned int subface, FullMatrix< double > &matrix) const override
Definition: fe_dgp_monomial.cc:304
FE_DGPMonomial::FE_DGPMonomial
FE_DGPMonomial(const unsigned int p)
Definition: fe_dgp_monomial.cc:132