Public Types |
Public Member Functions |
Public Attributes |
Static Public Attributes |
List of all members
Cart2D Struct Reference
Detailed DescriptionNavigate a Cartesian grid in a structured way so that clearly defined mapping between the enumeration index and the coordinate. Member Typedef Documentation
Constructor & Destructor Documentation
Member Function DocumentationCartesian (flattened) index for a coordinate. References Coord2D::i(), and Coord2D::j(). Cartesian coordinate for a (flattened) index. Translate element coordinate plus relative side of this into a Cartesian index of the face. References Side< Dim >::dim(), Side< Dim >::dir(), Coord2D::i(), Coord2D::j(), ni, Dir::val, and Dim2D::X. References Coord2D::i(), Corn2D::i(), Coord2D::j(), Corn2D::j(), and Dir::val.
Number of (possible) elements in the grid. References nj.
Each column has one more faces than there are rows, and each row has one more face than there are columns, due to the boundary.
As each element has points on both sides (in both dimensions), there is an extra row and column of points compared to elements. Member Data Documentation
Referenced by face_ndx().
Referenced by num_elems().
Value used to indicate that a reference is not to a valid element.
The documentation for this struct was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||