Dune::cpgrid::FaceVerticesContainerProxy Class Reference

A class representing the face to vertices mapping similar to the way done in UnstructuredGrid. More...

#include <GridHelpers.hpp>

Inheritance diagram for Dune::cpgrid::FaceVerticesContainerProxy:
Inheritance graph

Public Types

typedef LocalIndexProxy< AccessMethod, SizeMethod > row_type
 

Public Member Functions

 FaceVerticesContainerProxy (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...
 

Detailed Description

A class representing the face to vertices mapping similar to the way done in UnstructuredGrid.

Member Typedef Documentation

◆ row_type

typedef LocalIndexProxy<AccessMethod, SizeMethod> Dune::cpgrid::LocalIndexContainerProxy< AccessMethod, SizeMethod >::row_type
inherited

Constructor & Destructor Documentation

◆ FaceVerticesContainerProxy()

Dune::cpgrid::FaceVerticesContainerProxy::FaceVerticesContainerProxy ( const Dune::CpGrid grid)
inline

Constructor.

Parameters
gridThe grid whose information we represent.

Member Function Documentation

◆ operator()()

int Dune::cpgrid::LocalIndexContainerProxy< AccessMethod, SizeMethod >::operator() ( int  cell_index,
int  local_index 
) const
inlineinherited

Get a face associated with a cell.

Parameters
cell_indexThe index of the cell.
local_indexThe local index of the cell, either 0 or 1.
Theindex of the face or -1 if it is not present because of a boundary.

◆ operator[]()

row_type Dune::cpgrid::LocalIndexContainerProxy< AccessMethod, SizeMethod >::operator[] ( int  cell_index) const
inlineinherited

Get the mapping for a cell.

Parameters
cell_indexThe index of the cell.

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