A class representing the sparse mapping of entity relations (e.g.
More...
#include <GridHelpers.hpp>
template<int(Dune::CpGrid::*)(int, int) const AccessMethod, int(Dune::CpGrid::*)(int) const SizeMethod>
class Dune::cpgrid::LocalIndexContainerProxy< AccessMethod, SizeMethod >
A class representing the sparse mapping of entity relations (e.g.
vertices of faces).
- Template Parameters
-
AccessMethod | Function pointer to access the values of a sparse row (e.g. the vertices attached to a face. |
SizeMethod | Fuction pointer to access the size of the sparse row (e.g. the number of vertices attached to a face. |
template<int(Dune::CpGrid::*)(int, int) const AccessMethod, int(Dune::CpGrid::*)(int) const SizeMethod>
Constructor.
- Parameters
-
grid | The grid whose information we represent. |
template<int(Dune::CpGrid::*)(int, int) const AccessMethod, int(Dune::CpGrid::*)(int) const SizeMethod>
Get a face associated with a cell.
- Parameters
-
cell_index | The index of the cell. |
local_index | The local index of the cell, either 0 or 1. |
The | index of the face or -1 if it is not present because of a boundary. |
template<int(Dune::CpGrid::*)(int, int) const AccessMethod, int(Dune::CpGrid::*)(int) const SizeMethod>
Get the mapping for a cell.
- Parameters
-
cell_index | The index of the cell. |
The documentation for this class was generated from the following file: