Mesh¶
-
template<uint8_t ND>
class StaticGridBase : public solvcon::SpaceBase<ND, int32_t, double>¶ - #include <grid.hpp>
Base class template for a structured grid.
- Template Parameters:
ND – Spatial dimension count.
-
class AscendantGrid1d : public solvcon::StaticGridBase<1>¶
- #include <grid.hpp>
One-dimensional grid whose coordinate ascends with the index.
-
class StaticGrid1d : public solvcon::StaticGridBase<1>¶
- #include <grid.hpp>
One-dimensional structured grid.
-
class StaticGrid2d : public solvcon::StaticGridBase<2>¶
- #include <grid.hpp>
Two-dimensional structured grid.
-
class StaticGrid3d : public solvcon::StaticGridBase<3>¶
- #include <grid.hpp>
Three-dimensional structured grid.
-
struct StaticMeshConstant¶
- #include <StaticMesh.hpp>
Compile-time mesh connectivity bounds: maximum nodes per face and per cell, maximum faces per cell, and the face and boundary relation widths.
Subclassed by solvcon::StaticMesh, solvcon::StaticMeshBC
-
class StaticMeshBC : public solvcon::NumberBase<int32_t, double>, public solvcon::StaticMeshConstant¶
- #include <StaticMesh.hpp>
One boundary-condition group of a StaticMesh: the boundary faces it owns.
The faces live in the m_facn index table whose three columns are the face index in the block, the face index in bndfcs, and the face index in the related block when one exists.
-
class StaticMesh : public solvcon::NumberBase<int32_t, double>, public solvcon::StaticMeshConstant, public std::enable_shared_from_this<StaticMesh>¶
- #include <StaticMesh.hpp>
Static unstructured mesh storing nodes, faces, and cells of mixed element types.
Coordinates are row-major and contiguous, and node indices are zero-based. The CESE solver reads cell connectivity through the fcicl and fcjcl face-to-cell accessors. build_interior, build_boundary, and build_ghost populate the derived tables.
Public Functions
-
inline int_type fcicl(int_type ifc) const¶
Get the “self” cell number of the input face by index.
A shorthand of fccls()[ifc][0] .
- Parameters:
ifc – [in] index of the face of interest.
- Returns:
index of the cell.
-
inline int_type fcjcl(int_type ifc) const¶
Get the “related” cell number of the input face by index.
A shorthand of fccls()[ifc][1] .
- Parameters:
ifc – [in] index of the face of interest.
- Returns:
index of the cell.
-
inline int_type fcrcl(int_type ifc, int_type icl) const¶
Get the neighbor cell of icl across face ifc.
-
inline int_type fcicl(int_type ifc) const¶