PolyDiM
C++ library for POLYtopal DIscretization Methods
Loading...
Searching...
No Matches
FEM_PCC_2D_LocalSpace_Data.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_LocalSpace_Data_HPP
13#define __FEM_PCC_2D_LocalSpace_Data_HPP
14
15#include "MapParallelogram.hpp"
16#include "MapTriangle.hpp"
17#include "QuadratureData.hpp"
18
19namespace Polydim
20{
21namespace FEM
22{
23namespace PCC
24{
26{
27 Triangle = 0,
29};
30
32{
33 Parallelogram = 0,
34 Generic = 1
35};
36
38{
41
42 Eigen::MatrixXd Vertices;
43 std::vector<bool> EdgesDirection;
44 Eigen::MatrixXd EdgesTangent;
45 Eigen::VectorXd EdgesLength;
46};
47
49{
51 Eigen::Matrix3d B_lap;
52 unsigned int Order;
56 Eigen::MatrixXd Dofs;
57 std::vector<unsigned int> DofsMeshOrder;
58 std::array<unsigned int, 4> Dof0DsIndex;
59 std::array<unsigned int, 4> Dof1DsIndex;
60 std::array<unsigned int, 2> Dof2DsIndex;
62 std::vector<Gedim::Quadrature::QuadratureData> BoundaryQuadrature;
63};
64
66{
67 Eigen::MatrixXd Vertices;
69 Eigen::Matrix3d B_lap;
70 unsigned int Order;
72 Eigen::MatrixXd Dofs;
73 std::vector<unsigned int> DofsMeshOrder;
74 std::array<unsigned int, 5> Dof0DsIndex;
75 std::array<unsigned int, 5> Dof1DsIndex;
76 std::array<unsigned int, 2> Dof2DsIndex;
78 std::vector<Gedim::Quadrature::QuadratureData> BoundaryQuadrature;
80};
81
92
93} // namespace PCC
94} // namespace FEM
95} // namespace Polydim
96
97#endif
QuadrilateralType
Definition FEM_PCC_2D_LocalSpace_Data.hpp:32
FEM_PCC_2D_Types
Definition FEM_PCC_2D_LocalSpace_Data.hpp:26
Definition FEM_MCC_2D_LocalSpace.cpp:17
Definition MapParallelogram.hpp:23
Definition MapTriangle.hpp:23
Definition QuadratureData.hpp:22
Definition FEM_PCC_2D_LocalSpace_Data.hpp:83
unsigned int NumberOfBasisFunctions
Definition FEM_PCC_2D_LocalSpace_Data.hpp:90
Polydim::FEM::PCC::FEM_Triangle_PCC_2D_LocalSpace_Data triangle_local_space_data
Definition FEM_PCC_2D_LocalSpace_Data.hpp:84
Gedim::Quadrature::QuadratureData InternalQuadrature
Definition FEM_PCC_2D_LocalSpace_Data.hpp:88
Polydim::FEM::PCC::FEM_Quadrilateral_PCC_2D_LocalSpace_Data quadrilateral_local_space_data
Definition FEM_PCC_2D_LocalSpace_Data.hpp:85
Polydim::FEM::PCC::FEM_PCC_2D_Types fem_type
Definition FEM_PCC_2D_LocalSpace_Data.hpp:86
std::vector< Gedim::Quadrature::QuadratureData > BoundaryQuadrature
Definition FEM_PCC_2D_LocalSpace_Data.hpp:89
Definition FEM_PCC_2D_LocalSpace_Data.hpp:38
Eigen::MatrixXd Vertices
Definition FEM_PCC_2D_LocalSpace_Data.hpp:42
Eigen::MatrixXd EdgesTangent
Definition FEM_PCC_2D_LocalSpace_Data.hpp:44
double Tolerance2D
Definition FEM_PCC_2D_LocalSpace_Data.hpp:40
Eigen::VectorXd EdgesLength
Definition FEM_PCC_2D_LocalSpace_Data.hpp:45
std::vector< bool > EdgesDirection
Definition FEM_PCC_2D_LocalSpace_Data.hpp:43
double Tolerance1D
Definition FEM_PCC_2D_LocalSpace_Data.hpp:39
Definition FEM_PCC_2D_LocalSpace_Data.hpp:66
std::vector< unsigned int > DofsMeshOrder
Definition FEM_PCC_2D_LocalSpace_Data.hpp:73
std::array< unsigned int, 5 > Dof1DsIndex
Definition FEM_PCC_2D_LocalSpace_Data.hpp:75
std::array< unsigned int, 5 > Dof0DsIndex
Definition FEM_PCC_2D_LocalSpace_Data.hpp:74
unsigned int Order
Definition FEM_PCC_2D_LocalSpace_Data.hpp:70
Gedim::Quadrature::QuadratureData InternalQuadrature
Definition FEM_PCC_2D_LocalSpace_Data.hpp:77
Eigen::Matrix3d B_lap
Definition FEM_PCC_2D_LocalSpace_Data.hpp:69
Eigen::MatrixXd Vertices
Definition FEM_PCC_2D_LocalSpace_Data.hpp:67
std::vector< Gedim::Quadrature::QuadratureData > BoundaryQuadrature
Definition FEM_PCC_2D_LocalSpace_Data.hpp:78
Gedim::MapParallelogram::MapParallelogramData MapData
Definition FEM_PCC_2D_LocalSpace_Data.hpp:68
unsigned int NumberOfBasisFunctions
Definition FEM_PCC_2D_LocalSpace_Data.hpp:71
std::array< unsigned int, 2 > Dof2DsIndex
Definition FEM_PCC_2D_LocalSpace_Data.hpp:76
Eigen::MatrixXd Dofs
Definition FEM_PCC_2D_LocalSpace_Data.hpp:72
Polydim::FEM::PCC::QuadrilateralType quadrilateral_type
Definition FEM_PCC_2D_LocalSpace_Data.hpp:79
Definition FEM_PCC_2D_LocalSpace_Data.hpp:49
unsigned int NumBoundaryBasisFunctions
Definition FEM_PCC_2D_LocalSpace_Data.hpp:54
std::array< unsigned int, 2 > Dof2DsIndex
Definition FEM_PCC_2D_LocalSpace_Data.hpp:60
std::array< unsigned int, 4 > Dof0DsIndex
Definition FEM_PCC_2D_LocalSpace_Data.hpp:58
unsigned int NumInternalBasisFunctions
Definition FEM_PCC_2D_LocalSpace_Data.hpp:55
unsigned int Order
Definition FEM_PCC_2D_LocalSpace_Data.hpp:52
Gedim::Quadrature::QuadratureData InternalQuadrature
Definition FEM_PCC_2D_LocalSpace_Data.hpp:61
Eigen::Matrix3d B_lap
Definition FEM_PCC_2D_LocalSpace_Data.hpp:51
std::array< unsigned int, 4 > Dof1DsIndex
Definition FEM_PCC_2D_LocalSpace_Data.hpp:59
Gedim::MapTriangle::MapTriangleData MapData
Definition FEM_PCC_2D_LocalSpace_Data.hpp:50
std::vector< Gedim::Quadrature::QuadratureData > BoundaryQuadrature
Definition FEM_PCC_2D_LocalSpace_Data.hpp:62
std::vector< unsigned int > DofsMeshOrder
Definition FEM_PCC_2D_LocalSpace_Data.hpp:57
Eigen::MatrixXd Dofs
Definition FEM_PCC_2D_LocalSpace_Data.hpp:56
unsigned int NumberOfBasisFunctions
Definition FEM_PCC_2D_LocalSpace_Data.hpp:53