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

Regular mesh: equi-sized elements. More...

#include <GooseFEM/MeshQuad4.h>

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

Public Member Functions

 Regular (size_t nelx, size_t nely, double h=1.0)
 Constructor.
 
array_type::tensor< size_t, 2 > elementgrid () const
 Element numbers as 'matrix'.
 
- 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 mesh: equi-sized elements.

Definition at line 32 of file MeshQuad4.h.

Constructor & Destructor Documentation

◆ Regular()

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

Constructor.

Parameters
nelxNumber of elements in horizontal (x) direction.
nelyNumber of elements in vertical (y) direction.
hEdge size (width == height).

Definition at line 43 of file MeshQuad4.h.

Member Function Documentation

◆ elementgrid()

array_type::tensor< size_t, 2 > GooseFEM::Mesh::Quad4::Regular::elementgrid ( ) const
inline

Element numbers as 'matrix'.

Returns
[nely, nelx].

Definition at line 63 of file MeshQuad4.h.

Friends And Related Symbol Documentation

◆ RegularBase2d< Regular >

Definition at line 63 of file MeshQuad4.h.

◆ RegularBase< Regular >

Definition at line 63 of file MeshQuad4.h.


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