Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
fe_dgp_monomial.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2004 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15#ifndef dealii_fe_dgp_monomial_h
16#define dealii_fe_dgp_monomial_h
17
18#include <deal.II/base/config.h>
19
21
22#include <deal.II/fe/fe_poly.h>
23
25
284template <int dim>
285class FE_DGPMonomial : public FE_Poly<dim>
286{
287public:
291 FE_DGPMonomial(const unsigned int p);
292
298 virtual std::string
299 get_name() const override;
300
324 virtual std::vector<std::pair<unsigned int, unsigned int>>
325 hp_vertex_dof_identities(const FiniteElement<dim> &fe_other) const override;
326
334 virtual std::vector<std::pair<unsigned int, unsigned int>>
335 hp_line_dof_identities(const FiniteElement<dim> &fe_other) const override;
336
344 virtual std::vector<std::pair<unsigned int, unsigned int>>
346 const unsigned int face_no = 0) 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,
397 const unsigned int face_no = 0) const override;
398
410 virtual void
412 const FiniteElement<dim> &source,
413 const unsigned int subface,
414 FullMatrix<double> &matrix,
415 const unsigned int face_no = 0) const override;
416
421 virtual bool
422 has_support_on_face(const unsigned int shape_index,
423 const unsigned int face_index) const override;
424
433 virtual std::size_t
434 memory_consumption() const override;
435
436 virtual std::unique_ptr<FiniteElement<dim, dim>>
437 clone() const override;
438
439private:
446 static std::vector<unsigned int>
447 get_dpo_vector(const unsigned int degree);
448
452 void
454};
455
459
460#endif
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim > &fe_other) const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
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
FE_DGPMonomial(const unsigned int p)
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
virtual void get_interpolation_matrix(const FiniteElement< dim > &source, FullMatrix< double > &matrix) const override
virtual void get_face_interpolation_matrix(const FiniteElement< dim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
virtual std::size_t memory_consumption() const override
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim > &fe_other, const unsigned int codim=0) const override final
virtual bool hp_constraints_are_implemented() const override
virtual std::string get_name() const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim > &fe_other) const override
void initialize_restriction()
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
const unsigned int degree
Definition fe_data.h:452
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504