PolyDiM
C++ library for POLYtopal DIscretization Methods
Loading...
Searching...
No Matches
FEM_PCC_2D_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 __FEM_PCC_2D_ReferenceElement_HPP
13#define __FEM_PCC_2D_ReferenceElement_HPP
14
15#include "Eigen/Eigen"
18#include "MeshUtilities.hpp"
19
20namespace Polydim
21{
22namespace FEM
23{
24namespace PCC
25{
54
56{
57
62
63 FEM_PCC_2D_ReferenceElement_Data Create(const unsigned int order) const
64 {
65
67
68 result.Dimension = 2;
69 result.Order = order;
70 result.NumDofs0D = 1;
71 result.NumDofs1D = order - 1;
72
75
76 result.triangle_reference_element_data = triangle_reference_element.Create(order);
77 result.quadrilateral_reference_element_data = quadrilateral_reference_element.Create(order);
78
79 return result;
80 }
81};
82} // namespace PCC
83} // namespace FEM
84} // namespace Polydim
85
86#endif
Definition FEM_Triangle_PCC_2D_ReferenceElement.hpp:52
FEM_Triangle_PCC_2D_ReferenceElement_Data Create(const unsigned int order) const
Definition FEM_Triangle_PCC_2D_ReferenceElement.hpp:54
Definition FEM_MCC_2D_LocalSpace.cpp:17
Definition MeshUtilities.hpp:167
bool Cell2DsAreas
cell2D areas
Definition MeshUtilities.hpp:170
bool Cell2DsTriangulations
cell2D triangulations
Definition MeshUtilities.hpp:169
bool Cell2DsChebyshevCenter
Definition MeshUtilities.hpp:178
bool Cell2DsDiameters
cell2D diameters
Definition MeshUtilities.hpp:172
bool Cell2DsEdgeNormals
cell2D edge normals
Definition MeshUtilities.hpp:177
bool Cell2DsTriangulationsByChebyshevCenter
cell2D triangulations
Definition MeshUtilities.hpp:179
bool Cell2DsInRadius
cell2D triangulations
Definition MeshUtilities.hpp:180
bool Cell2DsEdgesCentroid
cell2D edge centroid
Definition MeshUtilities.hpp:174
bool Cell2DsEdgeTangents
cell2D edge tangents
Definition MeshUtilities.hpp:176
bool Cell2DsCentroids
cell2D centroids
Definition MeshUtilities.hpp:171
bool Cell2DsBoundingBox
Definition MeshUtilities.hpp:168
bool Cell2DsEdgeDirections
cell2D edge directions
Definition MeshUtilities.hpp:173
bool Cell2DsEdgeLengths
cell2D edge lengths
Definition MeshUtilities.hpp:175
Definition FEM_PCC_2D_ReferenceElement.hpp:27
FEM_PCC_2D_ReferenceElement_Data()
Definition FEM_PCC_2D_ReferenceElement.hpp:37
unsigned int NumDofs1D
Definition FEM_PCC_2D_ReferenceElement.hpp:31
unsigned int NumDofs0D
Definition FEM_PCC_2D_ReferenceElement.hpp:30
unsigned int Dimension
Definition FEM_PCC_2D_ReferenceElement.hpp:28
Polydim::FEM::PCC::FEM_Quadrilateral_PCC_2D_ReferenceElement_Data quadrilateral_reference_element_data
Definition FEM_PCC_2D_ReferenceElement.hpp:33
Polydim::FEM::PCC::FEM_Triangle_PCC_2D_ReferenceElement_Data triangle_reference_element_data
Definition FEM_PCC_2D_ReferenceElement.hpp:32
unsigned int Order
Definition FEM_PCC_2D_ReferenceElement.hpp:29
Gedim::MeshUtilities::MeshGeometricData2DConfig mesh_geometric_data_config
Definition FEM_PCC_2D_ReferenceElement.hpp:35
Definition FEM_PCC_2D_ReferenceElement.hpp:56
~FEM_PCC_2D_ReferenceElement()
Definition FEM_PCC_2D_ReferenceElement.hpp:61
FEM_PCC_2D_ReferenceElement_Data Create(const unsigned int order) const
Definition FEM_PCC_2D_ReferenceElement.hpp:63
FEM_PCC_2D_ReferenceElement()
Definition FEM_PCC_2D_ReferenceElement.hpp:58
Definition FEM_Quadrilateral_PCC_2D_ReferenceElement.hpp:28
Definition FEM_Quadrilateral_PCC_2D_ReferenceElement.hpp:52
Polydim::FEM::PCC::FEM_Quadrilateral_PCC_2D_ReferenceElement_Data Create(const unsigned int order) const
Definition FEM_Quadrilateral_PCC_2D_ReferenceElement.hpp:63
Definition FEM_Triangle_PCC_2D_ReferenceElement.hpp:28