My Project
|
A class representing the sparse mapping of entity relations (e.g. More...
#include <GridHelpers.hpp>
Public Types | |
typedef LocalIndexProxy< AccessMethod, SizeMethod > | row_type |
Public Member Functions | |
LocalIndexContainerProxy (const Dune::CpGrid *grid) | |
Constructor. More... | |
row_type | operator[] (int cell_index) const |
Get the mapping for a cell. More... | |
int | operator() (int cell_index, int local_index) const |
Get a face associated with a cell. More... | |
A class representing the sparse mapping of entity relations (e.g.
vertices of faces).
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. |
|
inlineexplicit |
Constructor.
grid | The grid whose information we represent. |
|
inline |
Get a face associated with a cell.
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. |
|
inline |
Get the mapping for a cell.
cell_index | The index of the cell. |