Reference documentation for deal.II version 9.5.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// Copyright (C) 2004 - 2023 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
285template <int dim>
286class FE_DGPMonomial : public FE_Poly<dim>
287{
288public:
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>>
347 const unsigned int face_no = 0) const override;
348
357 virtual bool
358 hp_constraints_are_implemented() const override;
359
365 const unsigned int codim = 0) const override final;
366
380 virtual void
382 FullMatrix<double> & matrix) const override;
383
395 virtual void
397 FullMatrix<double> & matrix,
398 const unsigned int face_no = 0) const override;
399
411 virtual void
413 const FiniteElement<dim> &source,
414 const unsigned int subface,
415 FullMatrix<double> & matrix,
416 const unsigned int face_no = 0) const override;
417
422 virtual bool
423 has_support_on_face(const unsigned int shape_index,
424 const unsigned int face_index) const override;
425
434 virtual std::size_t
435 memory_consumption() const override;
436
437 virtual std::unique_ptr<FiniteElement<dim, dim>>
438 clone() const override;
439
440private:
447 static std::vector<unsigned int>
448 get_dpo_vector(const unsigned int degree);
449
453 void
455};
456
460
461#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
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:453
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:472
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473