GooseFEM 1.4.1.dev2+g78f16df
Loading...
Searching...
No Matches
GooseFEM::Mesh::Tri3::Regular Class Reference

Regular grid of squares, with each square cut into two triangular elements. More...

#include <GooseFEM/MeshTri3.h>

Inheritance diagram for GooseFEM::Mesh::Tri3::Regular:
GooseFEM::Mesh::RegularBase2d< Regular > GooseFEM::Mesh::RegularBase< D >

Public Member Functions

 Regular (size_t nelx, size_t nely, double h=1.0)
 Constructor.
 
- Public Member Functions inherited from GooseFEM::Mesh::RegularBase2d< Regular >
auto nodesBottomEdge () const
 Nodes along the bottom edge (y = 0), in order of increasing x.
 
auto nodesTopEdge () const
 Nodes along the top edge (y = nely * h), in order of increasing x.
 
auto nodesLeftEdge () const
 Nodes along the left edge (x = 0), in order of increasing y.
 
auto nodesRightEdge () const
 Nodes along the right edge (x = nelx * h), in order of increasing y.
 
auto nodesBottomOpenEdge () const
 Nodes along the bottom edge (y = 0), without the corners (at x = 0 and x = nelx * h).
 
auto nodesTopOpenEdge () const
 Nodes along the top edge (y = nely * h), without the corners (at x = 0 and x = nelx * h).
 
auto nodesLeftOpenEdge () const
 Nodes along the left edge (x = 0), without the corners (at y = 0 and y = nely * h).
 
auto nodesRightOpenEdge () const
 Nodes along the right edge (x = nelx * h), without the corners (at y = 0 and y = nely * h).
 
auto nodesBottomLeftCorner () const
 The bottom-left corner node (at x = 0, y = 0).
 
auto nodesBottomRightCorner () const
 The bottom-right corner node (at x = nelx * h, y = 0).
 
auto nodesTopLeftCorner () const
 The top-left corner node (at x = 0, y = nely * h).
 
auto nodesTopRightCorner () const
 The top-right corner node (at x = nelx * h, y = nely * h).
 
auto nodesLeftBottomCorner () const
 Alias of nodesBottomLeftCorner().
 
auto nodesLeftTopCorner () const
 Alias of nodesTopLeftCorner().
 
auto nodesRightBottomCorner () const
 Alias of nodesBottomRightCorner().
 
auto nodesRightTopCorner () const
 Alias of nodesTopRightCorner().
 
- Public Member Functions inherited from GooseFEM::Mesh::RegularBase< D >
auto nelem () const
 Number of elements.
 
auto nnode () const
 Number of nodes.
 
auto nne () const
 Number of nodes-per-element == 4.
 
auto ndim () const
 Number of dimensions == 2.
 
auto nelx () const
 Number of elements in x-direction == width of the mesh in units of h.
 
auto nely () const
 Number of elements in y-direction == height of the mesh, in units of h,.
 
auto h () const
 Linear edge size of one 'block'.
 
auto elementType () const
 The ElementType().
 
auto coor () const
 Nodal coordinates [nnode, ndim].
 
auto conn () const
 Connectivity [nelem, nne].
 
auto dofs () const
 DOF numbers for each node (numbered sequentially) [nnode, ndim].
 
auto dofsPeriodic () const
 DOF-numbers for the case that the periodicity if fully eliminated.
 
auto nodesPeriodic () const
 Periodic node pairs, in two columns: (independent, dependent).
 
auto nodesOrigin () const
 Reference node to use for periodicity, because all corners are tied to it.
 

Friends

class RegularBase< Regular >
 
class RegularBase2d< Regular >
 

Additional Inherited Members

- Public Types inherited from GooseFEM::Mesh::RegularBase2d< Regular >
using derived_type
 Underlying type.
 
- Public Types inherited from GooseFEM::Mesh::RegularBase< D >
using derived_type = D
 Underlying type.
 

Detailed Description

Regular grid of squares, with each square cut into two triangular elements.

Definition at line 26 of file MeshTri3.h.

Constructor & Destructor Documentation

◆ Regular()

GooseFEM::Mesh::Tri3::Regular::Regular ( size_t nelx,
size_t nely,
double h = 1.0 )
inline

Constructor.

Parameters
nelxNumber of elements in x-direction.
nelyNumber of elements in y-direction.
hEdge-size (of the squares, and thus of two of three element-edges).

Definition at line 35 of file MeshTri3.h.

Friends And Related Symbol Documentation

◆ RegularBase2d< Regular >

Definition at line 35 of file MeshTri3.h.

◆ RegularBase< Regular >

Definition at line 35 of file MeshTri3.h.


The documentation for this class was generated from the following file: