Class GooseFEM::Mesh::RegularBase#
-
template<class D>
class RegularBase# CRTP base class for regular meshes.
Subclassed by GooseFEM::Mesh::RegularBase2d< FineLayer >, GooseFEM::Mesh::RegularBase2d< Regular >, GooseFEM::Mesh::RegularBase3d< FineLayer >, GooseFEM::Mesh::RegularBase3d< Regular >, GooseFEM::Mesh::RegularBase2d< D >, GooseFEM::Mesh::RegularBase3d< D >
Public Functions
-
inline auto nelem() const#
Number of elements.
- Returns
unsigned int
-
inline auto nnode() const#
Number of nodes.
- Returns
unsigned int
-
inline auto nne() const#
Number of nodes-per-element == 4.
- Returns
unsigned int
-
inline auto ndim() const#
Number of dimensions == 2.
- Returns
unsigned int
-
inline auto nelx() const#
Number of elements in x-direction == width of the mesh in units of h.
- Returns
unsigned int
-
inline auto nely() const#
Number of elements in y-direction == height of the mesh, in units of h,.
- Returns
unsigned int
-
inline auto h() const#
Linear edge size of one ‘block’.
- Returns
double
-
inline auto elementType() const#
The ElementType().
- Returns
element type
-
inline auto dofs() const#
DOF numbers for each node (numbered sequentially) [nnode, ndim].
- Returns
DOFs per node
-
inline auto dofsPeriodic() const#
DOF-numbers for the case that the periodicity if fully eliminated.
-
inline auto nodesPeriodic() const#
Periodic node pairs, in two columns: (independent, dependent).
- Returns
[ntyings, ndim].
-
inline auto nodesOrigin() const#
Reference node to use for periodicity, because all corners are tied to it.
- Returns
Node number.
-
inline auto nelem() const#