Reference documentation for deal.II version 9.4.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 - 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_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
308template <int dim, int spacedim = dim>
309class FE_DGP : public FE_Poly<dim, spacedim>
310{
311public:
315 FE_DGP(const unsigned int p);
316
322 virtual std::string
323 get_name() const override;
324
348 virtual std::vector<std::pair<unsigned int, unsigned int>>
350 const FiniteElement<dim, spacedim> &fe_other) const override;
351
359 virtual std::vector<std::pair<unsigned int, unsigned int>>
361 const FiniteElement<dim, spacedim> &fe_other) const override;
362
370 virtual std::vector<std::pair<unsigned int, unsigned int>>
372 const unsigned int face_no = 0) const override;
373
382 virtual bool
383 hp_constraints_are_implemented() const override;
384
390 const unsigned int codim = 0) const override final;
391
407 virtual void
410 const unsigned int face_no = 0) const override;
411
423 virtual void
425 const FiniteElement<dim, spacedim> &source,
426 const unsigned int subface,
428 const unsigned int face_no = 0) const override;
429
434 virtual bool
435 has_support_on_face(const unsigned int shape_index,
436 const unsigned int face_index) const override;
437
446 virtual std::size_t
447 memory_consumption() const override;
448
449
454 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
455 get_constant_modes() const override;
456
457 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
458 clone() const override;
459
460private:
467 static std::vector<unsigned int>
468 get_dpo_vector(const unsigned int degree);
469};
470
471/* @} */
472
474
475#endif
Definition: fe_dgp.h:310
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:186
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
Definition: fe_dgp.cc:267
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
Definition: fe_dgp.cc:278
virtual void get_subface_interpolation_matrix(const FiniteElement< dim, spacedim > &source, const unsigned int subface, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
Definition: fe_dgp.cc:133
virtual std::string get_name() const override
Definition: fe_dgp.cc:60
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
Definition: fe_dgp.cc:91
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:169
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
Definition: fe_dgp.cc:107
FE_DGP(const unsigned int p)
Definition: fe_dgp.cc:28
virtual std::size_t memory_consumption() const override
Definition: fe_dgp.cc:290
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_quad_dof_identities(const FiniteElement< dim, spacedim > &fe_other, const unsigned int face_no=0) const override
Definition: fe_dgp.cc:203
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
Definition: fe_dgp.cc:77
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
Definition: fe_dgp.cc:221
virtual bool hp_constraints_are_implemented() const override
Definition: fe_dgp.cc:160
const unsigned int degree
Definition: fe_data.h:449
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443
@ matrix
Contents is actually a matrix.