LoAdSG
SubgridFixedDepth Class Reference

#include <ListOfDepthOrderedGrids.h>

Classes

class  iterator
 

Public Member Functions

 SubgridFixedDepth (Depth &T_, IndexDimension p, unsigned long i)
 
bool addPoint (IndexDimension &p, unsigned long i)
 

Detailed Description

Objekt, das alle Gitter Punkte mit Tiefe T enthält.

Beispiel Anwendung:

ListOfDepthOrderedSubgrids orderedSubgrids(grid);
ListOfDepthOrderedSubgrids::iterator outerIterationsSubgrids(orderedSubgrids);
outerIterationsSubgrids.gotoBegin();
//Gehe alle Tiefen von Coarse to Fine durch
do {
Depth T = outerIterationsSubgrids.getSubgrid()->getT();
SubgridFixedDepth* subgrid = outerIterationsSubgrids.getSubgrid();
}while(outerIterationsSubgrids.next());
Definition ListOfDepthOrderedGrids.h:115
Definition ListOfDepthOrderedGrids.h:31

Constructor & Destructor Documentation

◆ SubgridFixedDepth()

SubgridFixedDepth::SubgridFixedDepth ( Depth &  T_,
IndexDimension  p,
unsigned long  i 
)
Parameters
pmuss hier Tiefe
Thaben

Member Function Documentation

◆ addPoint()

bool SubgridFixedDepth::addPoint ( IndexDimension &  p,
unsigned long  i 
)
Parameters
pein neuer Punkt, der noch nicht im SubgridFixedDepth enthalten ist. Das wird geprüft.

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