Class GooseFEM::Mesh::RegularBase2d#

template<class D>
class RegularBase2d : public GooseFEM::Mesh::RegularBase<D>#

CRTP base class for regular meshes in 2d.

Public Types

using derived_type = D#

Underlying type.

Public Functions

inline auto nodesBottomEdge() const#

Nodes along the bottom edge (y = 0), in order of increasing x.

Returns:

List of node numbers.

inline auto nodesTopEdge() const#

Nodes along the top edge (y = nely * h), in order of increasing x.

Returns:

List of node numbers.

inline auto nodesLeftEdge() const#

Nodes along the left edge (x = 0), in order of increasing y.

Returns:

List of node numbers.

inline auto nodesRightEdge() const#

Nodes along the right edge (x = nelx * h), in order of increasing y.

Returns:

List of node numbers.

inline auto nodesBottomOpenEdge() const#

Nodes along the bottom edge (y = 0), without the corners (at x = 0 and x = nelx * h).

Same as: nodesBottomEdge()[1: -1].

Returns:

List of node numbers.

inline auto nodesTopOpenEdge() const#

Nodes along the top edge (y = nely * h), without the corners (at x = 0 and x = nelx * h).

Same as: nodesTopEdge()[1: -1].

Returns:

List of node numbers.

inline auto nodesLeftOpenEdge() const#

Nodes along the left edge (x = 0), without the corners (at y = 0 and y = nely * h).

Same as: nodesLeftEdge()[1: -1].

Returns:

List of node numbers.

inline auto nodesRightOpenEdge() const#

Nodes along the right edge (x = nelx * h), without the corners (at y = 0 and y = nely * h).

Same as: nodesRightEdge()[1: -1].

Returns:

List of node numbers.

inline auto nodesBottomLeftCorner() const#

The bottom-left corner node (at x = 0, y = 0).

Same as nodesBottomEdge()[0] and nodesLeftEdge()[0].

Returns:

Node number.

inline auto nodesBottomRightCorner() const#

The bottom-right corner node (at x = nelx * h, y = 0).

Same as nodesBottomEdge()[-1] and nodesRightEdge()[0].

Returns:

Node number.

inline auto nodesTopLeftCorner() const#

The top-left corner node (at x = 0, y = nely * h).

Same as nodesTopEdge()[0] and nodesRightEdge()[-1].

Returns:

Node number.

inline auto nodesTopRightCorner() const#

The top-right corner node (at x = nelx * h, y = nely * h).

Same as nodesTopEdge()[-1] and nodesRightEdge()[-1].

Returns:

Node number.

inline auto nodesLeftBottomCorner() const#

Alias of nodesBottomLeftCorner().

Returns:

Node number.

inline auto nodesLeftTopCorner() const#

Alias of nodesTopLeftCorner().

Returns:

Node number.

inline auto nodesRightBottomCorner() const#

Alias of nodesBottomRightCorner().

Returns:

Node number.

inline auto nodesRightTopCorner() const#

Alias of nodesTopRightCorner().

Returns:

Node number.