Caribou
Public Types | Public Member Functions | Static Public Attributes | List of all members
caribou::topology::Grid< 2 > Struct Reference
Inheritance diagram for caribou::topology::Grid< 2 >:

Public Types

using Base = internal::BaseMultidimensionalGrid< Dimension, Grid< Dimension > >
 
using Element = geometry::RectangularQuad< 2, Linear >
 
using Edge = geometry::traits< Element >::BoundaryElementType
 
using ElementNodes = std::array< NodeIndex, geometry::traits< Element >::NumberOfNodesAtCompileTime >
 
using EdgeNodes = std::array< NodeIndex, geometry::traits< Edge >::NumberOfNodesAtCompileTime >
 

Public Member Functions

auto cell_at (const GridCoordinates &coordinates) const -> Element
 
auto cell_at (const CellIndex &cell_index) const -> Element
 
auto node_indices_of (const GridCoordinates &cell_coordinates) const -> ElementNodes
 
auto node_indices_of (const CellIndex &index) const -> ElementNodes
 
auto number_of_edges () const noexcept -> UInt
 Get the number of distinct edges in this grid.
 
auto edge (const EdgeIndex &index) const noexcept -> EdgeNodes
 Get the node indices of the edge at edge index.
 

Static Public Attributes

static constexpr size_t Dimension = 2
 

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