Reference documentation for deal.II version Git 170b4c9308 2021-10-26 16:43:28 -0600
\(\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 - 2020 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 
283 template <int dim>
284 class FE_DGPMonomial : public FE_Poly<dim>
285 {
286 public:
290  FE_DGPMonomial(const unsigned int p);
291 
297  virtual std::string
298  get_name() const override;
299 
323  virtual std::vector<std::pair<unsigned int, unsigned int>>
324  hp_vertex_dof_identities(const FiniteElement<dim> &fe_other) const override;
325 
333  virtual std::vector<std::pair<unsigned int, unsigned int>>
334  hp_line_dof_identities(const FiniteElement<dim> &fe_other) const override;
335 
343  virtual std::vector<std::pair<unsigned int, unsigned int>>
345  const unsigned int face_no = 0) const override;
346 
355  virtual bool
356  hp_constraints_are_implemented() const override;
357 
363  const unsigned int codim = 0) const override final;
364 
378  virtual void
380  FullMatrix<double> & matrix) const override;
381 
393  virtual void
395  FullMatrix<double> & matrix,
396  const unsigned int face_no = 0) const override;
397 
409  virtual void
411  const FiniteElement<dim> &source,
412  const unsigned int subface,
413  FullMatrix<double> & matrix,
414  const unsigned int face_no = 0) const override;
415 
420  virtual bool
421  has_support_on_face(const unsigned int shape_index,
422  const unsigned int face_index) const override;
423 
432  virtual std::size_t
433  memory_consumption() const override;
434 
435  virtual std::unique_ptr<FiniteElement<dim, dim>>
436  clone() const override;
437 
438 private:
445  static std::vector<unsigned int>
446  get_dpo_vector(const unsigned int degree);
447 
451  void
453 };
454 
458 
459 #endif
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
FE_DGPMonomial(const unsigned int p)
Contents is actually a matrix.
virtual void get_face_interpolation_matrix(const FiniteElement< dim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
const unsigned int degree
Definition: fe_base.h:436
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim > &fe_other, const unsigned int face_no=0) const override
virtual std::size_t memory_consumption() const override
virtual void get_interpolation_matrix(const FiniteElement< dim > &source, FullMatrix< double > &matrix) const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim > &fe_other) const override
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
void initialize_restriction()
virtual void get_subface_interpolation_matrix(const FiniteElement< dim > &source, const unsigned int subface, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:401
virtual bool hp_constraints_are_implemented() const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim > &fe_other) const override
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:400
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim > &fe_other, const unsigned int codim=0) const override final
virtual std::string get_name() const override
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override