Map a FineLayer mesh to a Regular mesh.
More...
#include <GooseFEM/MeshQuad4.h>
Map a FineLayer mesh to a Regular mesh.
The element size of the Regular corresponds to the smallest elements of the FineLayer mesh (along the middle layer).
Definition at line 1359 of file MeshQuad4.h.
◆ FineLayer2Regular()
◆ fineLayerMesh()
Obtain the FineLayer mesh (copy of the mesh passed to the constructor).
- Returns
- mesh.
Definition at line 1671 of file MeshQuad4.h.
◆ getFineLayerMesh()
Obtain the FineLayer mesh (copy of the mesh passed to the constructor).
- Returns
- mesh.
Definition at line 1717 of file MeshQuad4.h.
◆ getMap()
std::vector< std::vector< size_t > > GooseFEM::Mesh::Quad4::Map::FineLayer2Regular::getMap |
( |
| ) |
const |
|
inline |
Get element-mapping: elements of the Regular mesh per element of the FineLayer mesh.
The number of Regular elements varies between elements of the FineLayer mesh.
- Returns
- [nelem_finelayer, ?]
Definition at line 1732 of file MeshQuad4.h.
◆ getMapFraction()
std::vector< std::vector< double > > GooseFEM::Mesh::Quad4::Map::FineLayer2Regular::getMapFraction |
( |
| ) |
const |
|
inline |
To overlap fraction for each item in the mapping in getMap().
- Returns
- [nelem_finelayer, ?]
Definition at line 1743 of file MeshQuad4.h.
◆ getRegularMesh()
◆ map()
std::vector< std::vector< size_t > > GooseFEM::Mesh::Quad4::Map::FineLayer2Regular::map |
( |
| ) |
const |
|
inline |
Get element-mapping: elements of the Regular mesh per element of the FineLayer mesh.
The number of Regular elements varies between elements of the FineLayer mesh.
- Returns
- [nelem_finelayer, ?]
Definition at line 1685 of file MeshQuad4.h.
◆ mapFraction()
std::vector< std::vector< double > > GooseFEM::Mesh::Quad4::Map::FineLayer2Regular::mapFraction |
( |
| ) |
const |
|
inline |
To overlap fraction for each item in the mapping in map().
- Returns
- [nelem_finelayer, ?]
Definition at line 1695 of file MeshQuad4.h.
◆ mapToRegular()
Map element quantities to Regular.
The mapping is a bit simplistic: no interpolation is involved, the function just accounts the fraction of overlap between the FineLayer element and the Regular element. The mapping is such that::
ret[e_regular, ...] <- arg[e_finelayer, ...]
- Template Parameters
-
T | type of the data (e.g. double ). |
rank | rank of the data. |
- Parameters
-
- Returns
- mapped data.
Definition at line 1762 of file MeshQuad4.h.
◆ regularMesh()
The documentation for this class was generated from the following file: