FrictionQPotFEM 0.23.3
Loading...
Searching...
No Matches
GooseFEM::Mesh::Quad4::Regular Class Reference

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

#include <include/GooseFEM/MeshQuad4.h>

Inheritance diagram for GooseFEM::Mesh::Quad4::Regular:
Collaboration diagram for GooseFEM::Mesh::Quad4::Regular:

Public Member Functions

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

Friends

class RegularBase< Regular >
 
class RegularBase2d< Regular >
 

Additional Inherited Members

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

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 Function Documentation

◆ RegularBase2d< Regular >

friend class RegularBase2d< Regular >
friend

Definition at line 63 of file MeshQuad4.h.

◆ RegularBase< Regular >

friend class RegularBase< Regular >
friend

Definition at line 63 of file MeshQuad4.h.


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