|
| FineLayer (size_t nelx, size_t nely, double h=1.0, size_t nfine=1) |
| Constructor.
|
|
template<class C , class E , std::enable_if_t< xt::is_xexpression< C >::value, bool > = true> |
| FineLayer (const C &coor, const E &conn) |
| Reconstruct class for given coordinates / connectivity.
|
|
const array_type::tensor< size_t, 1 > & | elemrow_nhx () const |
| Edge size in x-direction of a block, in units of h, per row of blocks.
|
|
const array_type::tensor< size_t, 1 > & | elemrow_nhy () const |
| Edge size in y-direction of a block, in units of h, per row of blocks.
|
|
const array_type::tensor< int, 1 > & | elemrow_type () const |
| Per row of blocks: -1 : normal layer 0 : transition layer to match coarse and finer element on the previous/next row.
|
|
const array_type::tensor< size_t, 1 > & | elemrow_nelem () const |
| Number of elements per row of blocks.
|
|
array_type::tensor< size_t, 1 > | elementsMiddleLayer () const |
| Elements in the middle (fine) layer.
|
|
array_type::tensor< size_t, 1 > | elementsLayer (size_t layer) const |
| Elements along a layer.
|
|
array_type::tensor< size_t, 1 > | elementgrid_ravel (std::vector< size_t > start_stop_rows, std::vector< size_t > start_stop_cols) const |
| Select region of elements from 'matrix' of element numbers.
|
|
array_type::tensor< size_t, 1 > | elementgrid_around_ravel (size_t e, size_t size, bool periodic=true) |
| Select region of elements from 'matrix' of element numbers around an element: square box with edge-size (2 * size + 1) * h , around element .
|
|
array_type::tensor< size_t, 1 > | elementgrid_leftright (size_t e, size_t left, size_t right, bool periodic=true) |
| Select region of elements from 'matrix' of element numbers around an element: left/right from element (on the same layer).
|
|
array_type::tensor< size_t, 1 > | roll (size_t n) |
| Mapping to 'roll' periodically in the x-direction,.
|
|
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().
|
|
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.
|
|
Mesh with fine middle layer, and coarser elements towards the top and bottom.
Definition at line 200 of file MeshQuad4.h.