PolyDiM
C++ library for POLYtopal DIscretization Methods
Loading...
Searching...
No Matches
VEM_PCC_3D_ReferenceElement.hpp
Go to the documentation of this file.
1// _LICENSE_HEADER_
2//
3// Copyright (C) 2019 - 2025.
4// Terms register on the GPL-3.0 license.
5//
6// This file can be redistributed and/or modified under the license terms.
7//
8// See top level LICENSE file for more details.
9//
10// This file can be used citing references in CITATION.cff file.
11
12#ifndef __VEM_PCC_3D_ReferenceElement_HPP
13#define __VEM_PCC_3D_ReferenceElement_HPP
14
16#include "Monomials_3D.hpp"
17
18namespace Polydim
19{
20namespace VEM
21{
22namespace PCC
23{
24
26{
27 public:
28 VEM_PCC_3D_ReferenceElement_Data Create(const unsigned int order) const
29 {
32
34
35 result.Monomials = monomials.Compute(order);
36 result.Quadrature = quadrature.Compute_PCC_3D(order);
37
38 result.Dimension = 3;
39 result.Order = order;
40 result.NumDofs0D = 1;
41 result.NumDofs1D = order - 1;
42 result.NumDofs2D = order * (order - 1) / 2;
43 result.NumDofs3D = (order + 1) * order * (order - 1) / 6;
44
45 return result;
46 }
47};
48} // namespace PCC
49} // namespace VEM
50} // namespace Polydim
51
52#endif
Definition Monomials_3D.hpp:22
Polydim::Utilities::Monomials_Data Compute(const unsigned int polynomial_degree) const
Definition Monomials_3D.cpp:22
Definition I_VEM_PCC_3D_ReferenceElement.hpp:38
Definition VEM_PCC_3D_ReferenceElement.hpp:26
VEM_PCC_3D_ReferenceElement_Data Create(const unsigned int order) const
Definition VEM_PCC_3D_ReferenceElement.hpp:28
Definition VEM_Quadrature_3D.hpp:32
Polydim::VEM::Quadrature::VEM_QuadratureData_3D Compute_PCC_3D(const unsigned int order) const
Definition VEM_Quadrature_3D.cpp:29
Definition FEM_MCC_2D_LocalSpace.cpp:17
Definition I_VEM_PCC_3D_ReferenceElement.hpp:25
unsigned int NumDofs2D
Definition I_VEM_PCC_3D_ReferenceElement.hpp:30
unsigned int Order
Definition I_VEM_PCC_3D_ReferenceElement.hpp:27
unsigned int NumDofs3D
Definition I_VEM_PCC_3D_ReferenceElement.hpp:31
unsigned int Dimension
Definition I_VEM_PCC_3D_ReferenceElement.hpp:26
unsigned int NumDofs1D
Definition I_VEM_PCC_3D_ReferenceElement.hpp:29
Utilities::Monomials_Data Monomials
Definition I_VEM_PCC_3D_ReferenceElement.hpp:33
Quadrature::VEM_QuadratureData_3D Quadrature
Definition I_VEM_PCC_3D_ReferenceElement.hpp:34
unsigned int NumDofs0D
Definition I_VEM_PCC_3D_ReferenceElement.hpp:28