|
ESyS-Particle
2.3.4
|
representation of a slab of the search array of a NeigborTable More...
#include <nt_block.h>
Public Types | |
| typedef NTBlock_iter< T > | iterator |
| typedef NTBlock_iter< T > | const_iterator |
| typedef T | value_type |
Public Member Functions | |
| NTBlock () | |
| NTBlock (NeighborTable< T > *, int, int, int, int, int, int) | |
| unsigned int | size () |
| iterator | begin () |
| iterator | end () |
| unsigned int | nparts_at_gridpoint (int x, int y, int z) const |
| < number of particles at a given gridpoint More... | |
| T * | ptr (int, int, int, int) |
| T & | ref (int, int, int, int) |
Private Attributes | |
| NeighborTable< T > * | m_table |
| int | m_xmin |
| int | m_xmax |
| int | m_ymin |
| int | m_ymax |
| int | m_zmin |
| int | m_zmax |
Friends | |
| class | NTBlock_iter< T > |
| bool | operator== (const NTBlock &, const NTBlock &) |
| bool | operator!= (const NTBlock &, const NTBlock &) |
| ostream & | operator<< (ostream &, const NTBlock &) |
representation of a slab of the search array of a NeigborTable
| typedef NTBlock_iter<T> NTBlock< T >::const_iterator |
| typedef NTBlock_iter<T> NTBlock< T >::iterator |
| typedef T NTBlock< T >::value_type |
| NTBlock< T >::NTBlock | ( | NeighborTable< T > * | t, |
| int | xmin, | ||
| int | xmax, | ||
| int | ymin, | ||
| int | ymax, | ||
| int | zmin, | ||
| int | zmax | ||
| ) |
Construct a NTBlock from a pointer to a NeigborTable and the min and max inices in each dimension
| t | the pointer to the NeighborTable |
| xmin | the minimum x index |
| xmax | the maximum x index |
| ymin | the minimum y index |
| ymax | the maximum y index |
| zmin | the minimum z index |
| zmax | the maximum z index |
Return an iterator pointing to the first particle in the slab
Referenced by ParallelParticleArray< T >::forAllInnerParticles(), ParallelParticleArray< T >::forAllInnerParticlesGet(), ParallelParticleArray< T >::forAllInnerParticlesGetIndexed(), ParallelParticleArray< T >::forAllInnerTaggedParticlesGetIndexed(), ParallelParticleArray< T >::forAllTaggedInnerParticlesGet(), ParallelParticleArray< T >::getAllInnerParticles(), NeighborTable< T >::getParticlesNearEdge(), NeighborTable< T >::getParticlesNearPoint(), NeighborTable< T >::getParticlesNearTriangle(), main(), ParallelParticleArray< T >::ParticleIterator::ParticleIterator(), and ParallelParticleArray< T >::saveCheckPointData().

Return an iterator pointing past the last particle in the slab
Referenced by ParallelParticleArray< T >::forAllInnerParticles(), ParallelParticleArray< T >::forAllInnerParticlesGet(), ParallelParticleArray< T >::forAllInnerParticlesGetIndexed(), ParallelParticleArray< T >::forAllInnerTaggedParticlesGetIndexed(), ParallelParticleArray< T >::forAllTaggedInnerParticlesGet(), ParallelParticleArray< T >::getAllInnerParticles(), NeighborTable< T >::getParticlesNearEdge(), NeighborTable< T >::getParticlesNearPoint(), NeighborTable< T >::getParticlesNearTriangle(), main(), and ParallelParticleArray< T >::saveCheckPointData().

|
inline |
< number of particles at a given gridpoint
References NTBlock< T >::m_table.
| T * NTBlock< T >::ptr | ( | int | ix, |
| int | iy, | ||
| int | iz, | ||
| int | j | ||
| ) |
Return an iterator pointing to the last particle in the slab
Return an iterator pointing before the first particle in the slab
Return pointer to particle at index.
References NeighborTable< T >::index(), and NeighborTable< T >::ptr().

| T & NTBlock< T >::ref | ( | int | ix, |
| int | iy, | ||
| int | iz, | ||
| int | j | ||
| ) |
Return reference to particle at index.
References NeighborTable< T >::index(), and NeighborTable< T >::ref().

| unsigned int NTBlock< T >::size |
get the number of particles in the block
Referenced by ParallelParticleArray< T >::ParticleIterator::ParticleIterator().

|
friend |
inequality operator
|
friend |
equality operator
|
private |
Referenced by NTBlock< T >::nparts_at_gridpoint(), operator!=(), operator<<(), and operator==().
|
private |
Referenced by operator!=(), operator<<(), and operator==().
|
private |
Referenced by operator!=(), operator<<(), and operator==().
|
private |
Referenced by operator!=(), operator<<(), and operator==().
|
private |
Referenced by operator!=(), operator<<(), and operator==().
|
private |
Referenced by operator!=(), operator<<(), and operator==().
|
private |
Referenced by operator!=(), operator<<(), and operator==().