Dune::MultiYGrid< d, ct > Class Template Reference

#include <grids.hh>

List of all members.


Detailed Description

template<int d, typename ct>
class Dune::MultiYGrid< d, ct >

MultiYGrid manages a d-dimensional grid mapped to a set of processes.


Public Types

typedef FieldVector< int, d > iTupel
 define types used for arguments

Public Member Functions

 MultiYGrid (MPI_Comm comm, fTupel L, iTupel s, bTupel periodic, int overlap)
 constructor making a grid
void refine (bool keep_overlap)
 do a global mesh refinement; true: keep overlap in absolute size; false: keep overlap in mesh cells
const Torus< d > & torus () const
 return reference to torus
int maxlevel () const
 return the maximum level index (number of levels is maxlevel()+1)
bool periodic (int i) const
 return true if grid is periodic in given direction
YGridLevelIterator begin () const
 return iterator pointing to coarsest level
YGridLevelIterator begin (int i) const
 return iterator pointing to given level
YGridLevelIterator end () const
 return iterator pointing to one past the finest level
YGridLevelIterator rbegin () const
 return iterator pointing to the finest level
YGridLevelIterator rend () const
 return iterator pointing to one before the coarsest level
void print (std::ostream &s) const
 print function for multigrids

Classes

class  YGridLevelIterator
 provides access to a given grid level More...

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

Generated on 9 Apr 2008 with Doxygen (ver 1.5.2) [logfile].