PolyDEAL
 
Loading...
Searching...
No Matches
fe_agglodgp.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2002 - 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_agglodgp_h
16#define dealii_fe_agglodgp_h
17
18#include <deal.II/base/config.h>
19
21
22#include <deal.II/fe/fe_poly.h>
23
25
310template <int dim, int spacedim = dim>
311class FE_AggloDGP : public FE_Poly<dim, spacedim>
312{
313public:
317 FE_AggloDGP(const unsigned int p);
318
324 virtual std::string
325 get_name() const override;
326
350 virtual std::vector<std::pair<unsigned int, unsigned int>>
352 const FiniteElement<dim, spacedim> &fe_other) const override;
353
361 virtual std::vector<std::pair<unsigned int, unsigned int>>
363 const FiniteElement<dim, spacedim> &fe_other) const override;
364
372 virtual std::vector<std::pair<unsigned int, unsigned int>>
374 const unsigned int face_no = 0) const override;
375
384 virtual bool
385 hp_constraints_are_implemented() const override;
386
392 const unsigned int codim = 0) const override final;
393
409 virtual void
411 FullMatrix<double> &matrix,
412 const unsigned int face_no = 0) const override;
413
425 virtual void
427 const FiniteElement<dim, spacedim> &source,
428 const unsigned int subface,
429 FullMatrix<double> &matrix,
430 const unsigned int face_no = 0) const override;
431
436 virtual bool
437 has_support_on_face(const unsigned int shape_index,
438 const unsigned int face_index) const override;
439
448 virtual std::size_t
449 memory_consumption() const override;
450
451
456 virtual std::pair<Table<2, bool>, std::vector<unsigned int>>
457 get_constant_modes() const override;
458
459 virtual std::unique_ptr<FiniteElement<dim, spacedim>>
460 clone() const override;
461
462private:
469 static std::vector<unsigned int>
470 get_dpo_vector(const unsigned int degree);
471};
472
476
477#endif
const unsigned int degree
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_line_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
virtual std::string get_name() const override
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
virtual bool hp_constraints_are_implemented() const override
virtual std::size_t memory_consumption() const override
virtual bool has_support_on_face(const unsigned int shape_index, const unsigned int face_index) const override
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
virtual std::pair< Table< 2, bool >, std::vector< unsigned int > > get_constant_modes() const override
virtual std::vector< std::pair< unsigned int, unsigned int > > hp_vertex_dof_identities(const FiniteElement< dim, spacedim > &fe_other) const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
virtual void get_face_interpolation_matrix(const FiniteElement< dim, spacedim > &source, FullMatrix< double > &matrix, const unsigned int face_no=0) const override
FE_AggloDGP(const unsigned int p)
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
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE