ug4
ug::MGWrapper< TGrid > Class Template Reference

#include <multi_grid.h>

Public Member Functions

template<class TElem >
geometry_traits< TElem >::iterator begin (int level)
 
template<class TElem >
geometry_traits< TElem >::iterator end (int level)
 
 MGWrapper (TGrid &grid)
 
template<class TElem >
uint num (int level) const
 
uint num_levels () const
 

Detailed Description

template<class TGrid>
class ug::MGWrapper< TGrid >

wrapper that allows to write method that can operate on a ug::Grid and a ug::MultiGrid. This template class is specialized for ug::Grid and ug::MultiGrid.

The MGWrapper will most likely be enhanced with more mg-methods, like has_child, get_child or parent.

Constructor & Destructor Documentation

◆ MGWrapper()

template<class TGrid >
ug::MGWrapper< TGrid >::MGWrapper ( TGrid &  grid)

Member Function Documentation

◆ begin()

template<class TGrid >
template<class TElem >
geometry_traits<TElem>::iterator ug::MGWrapper< TGrid >::begin ( int  level)
inline

◆ end()

template<class TGrid >
template<class TElem >
geometry_traits<TElem>::iterator ug::MGWrapper< TGrid >::end ( int  level)
inline

◆ num()

template<class TGrid >
template<class TElem >
uint ug::MGWrapper< TGrid >::num ( int  level) const
inline

◆ num_levels()

template<class TGrid >
uint ug::MGWrapper< TGrid >::num_levels ( ) const
inline

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