3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Public Member Functions | List of all members
Dumux::CCSimpleConnectivityMap< GridGeometry > Class Template Reference

A simple version of the connectivity map for cellcentered schemes. This implementation works for schemes in which for a given cell I only those cells J have to be prepared in whose stencil the cell I appears. This means that for the flux calculations in the cells J (in order to compute the derivatives with respect to cell I), we do not need data on any additional cells J to compute these fluxes. The same holds for scvfs in the cells J, i.e. we need only those scvfs in the cells J in which the cell I is in the stencil. More...

#include <dumux/discretization/cellcentered/connectivitymap.hh>

Inheritance diagram for Dumux::CCSimpleConnectivityMap< GridGeometry >:

Description

template<class GridGeometry>
class Dumux::CCSimpleConnectivityMap< GridGeometry >

A simple version of the connectivity map for cellcentered schemes. This implementation works for schemes in which for a given cell I only those cells J have to be prepared in whose stencil the cell I appears. This means that for the flux calculations in the cells J (in order to compute the derivatives with respect to cell I), we do not need data on any additional cells J to compute these fluxes. The same holds for scvfs in the cells J, i.e. we need only those scvfs in the cells J in which the cell I is in the stencil.

Public Member Functions

void update (const GridGeometry &gridGeometry)
 Initialize the ConnectivityMap object. More...
 
const std::vector< DataJ > & operator[] (const GridIndexType globalI) const
 

Member Function Documentation

◆ operator[]()

template<class GridGeometry >
const std::vector< DataJ > & Dumux::CCSimpleConnectivityMap< GridGeometry >::operator[] ( const GridIndexType  globalI) const
inline

◆ update()

template<class GridGeometry >
void Dumux::CCSimpleConnectivityMap< GridGeometry >::update ( const GridGeometry &  gridGeometry)
inline

Initialize the ConnectivityMap object.

Parameters
gridGeometryThe grid's finite volume geometry.

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