OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::ParticleGridIterator< Point > Class Template Reference

A recursive iterator for a grid with refinements. More...

#include <particlegrid.h>

+ Collaboration diagram for oofem::ParticleGridIterator< Point >:

Public Member Functions

 ParticleGridIterator ()
 Constructor. More...
 
 ParticleGridIterator (ParticleGrid< Point > *g)
 Constructor. More...
 
 ParticleGridIterator (ParticleGrid< Point > *g, IntArray ind0, IntArray ind1)
 Constructor. More...
 
 ParticleGridIterator (const ParticleGridIterator< Point > &x)
 Copy constructor. More...
 
 ~ParticleGridIterator ()
 Destructor. More...
 
bool end () const
 
Point * getPoint ()
 
int getIndex ()
 
void setPoint (Point *p)
 
bool subGridActive () const
 
void getGridPoint (FloatArray &x)
 
void operator++ ()
 Lets the iterator step forward to the next element. More...
 
std::string errorInfo (const char *func) const
 

Protected Attributes

int index
 
int endind
 
ParticleGridIterator< Point > * sub_it
 
ParticleGrid< Point > * grid
 
IntArray pos
 
const IntArray ind0
 
const IntArray ind1
 
bool limited
 

Friends

class ParticleGrid< Point >
 

Detailed Description

template<class Point>
class oofem::ParticleGridIterator< Point >

A recursive iterator for a grid with refinements.

Definition at line 49 of file particlegrid.h.

Constructor & Destructor Documentation

template<class Point>
oofem::ParticleGridIterator< Point >::ParticleGridIterator ( )
inline

Constructor.

Definition at line 568 of file particlegrid.h.

template<class Point>
oofem::ParticleGridIterator< Point >::ParticleGridIterator ( ParticleGrid< Point > *  g)
inline

Constructor.

Definition at line 571 of file particlegrid.h.

References oofem::ParticleGrid< Point >::data.

template<class Point>
oofem::ParticleGridIterator< Point >::ParticleGridIterator ( ParticleGrid< Point > *  g,
IntArray  ind0,
IntArray  ind1 
)
inline
template<class Point>
oofem::ParticleGridIterator< Point >::ParticleGridIterator ( const ParticleGridIterator< Point > &  x)
inline

Copy constructor.

Definition at line 590 of file particlegrid.h.

template<class Point>
oofem::ParticleGridIterator< Point >::~ParticleGridIterator ( )
inline

Destructor.

Definition at line 593 of file particlegrid.h.

Member Function Documentation

template<class Point>
bool oofem::ParticleGridIterator< Point >::end ( ) const
inline

Definition at line 599 of file particlegrid.h.

Referenced by oofem::ParticleGridIterator< Point >::operator++().

template<class Point>
std :: string oofem::ParticleGridIterator< Point >::errorInfo ( const char *  func) const
inline

Definition at line 671 of file particlegrid.h.

template<class Point>
int oofem::ParticleGridIterator< Point >::getIndex ( )
inline

Definition at line 616 of file particlegrid.h.

template<class Point>
Point* oofem::ParticleGridIterator< Point >::getPoint ( )
inline
template<class Point>
void oofem::ParticleGridIterator< Point >::operator++ ( )
inline
template<class Point>
void oofem::ParticleGridIterator< Point >::setPoint ( Point *  p)
inline
template<class Point>
bool oofem::ParticleGridIterator< Point >::subGridActive ( ) const
inline

Definition at line 630 of file particlegrid.h.

Friends And Related Function Documentation

template<class Point>
friend class ParticleGrid< Point >
friend

Definition at line 673 of file particlegrid.h.

Member Data Documentation

template<class Point>
int oofem::ParticleGridIterator< Point >::endind
protected

Definition at line 558 of file particlegrid.h.

template<class Point>
ParticleGrid<Point>* oofem::ParticleGridIterator< Point >::grid
protected

Definition at line 560 of file particlegrid.h.

template<class Point>
const IntArray oofem::ParticleGridIterator< Point >::ind0
protected

Definition at line 563 of file particlegrid.h.

template<class Point>
const IntArray oofem::ParticleGridIterator< Point >::ind1
protected

Definition at line 563 of file particlegrid.h.

template<class Point>
int oofem::ParticleGridIterator< Point >::index
protected

Definition at line 558 of file particlegrid.h.

template<class Point>
bool oofem::ParticleGridIterator< Point >::limited
protected

Definition at line 564 of file particlegrid.h.

template<class Point>
IntArray oofem::ParticleGridIterator< Point >::pos
protected

Definition at line 562 of file particlegrid.h.

template<class Point>
ParticleGridIterator<Point>* oofem::ParticleGridIterator< Point >::sub_it
protected

Definition at line 559 of file particlegrid.h.


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:39 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011