Dune::cpgrid::FaceCellsProxy Class Reference

A proxy class representing a row of FaceCellsContainer. More...

#include <GridHelpers.hpp>

Public Member Functions

 FaceCellsProxy (const Dune::CpGrid *grid, int cell_index)
 Constructor. More...
 
int operator[] (int local_index)
 Get the index of the cell associated with a local_index. More...
 

Detailed Description

A proxy class representing a row of FaceCellsContainer.

Constructor & Destructor Documentation

◆ FaceCellsProxy()

Dune::cpgrid::FaceCellsProxy::FaceCellsProxy ( const Dune::CpGrid grid,
int  cell_index 
)
inline

Constructor.

Parameters
gridThe grid whose face to cell mapping we represent.
cell_indexThe index of the cell we repesent.

Member Function Documentation

◆ operator[]()

int Dune::cpgrid::FaceCellsProxy::operator[] ( int  local_index)
inline

Get the index of the cell associated with a local_index.

References Dune::CpGrid::faceCell().


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