ESyS-Particle  2.3.4
NTBlock Class Reference

representation of a slab of the search array of a NeigborTable More...

#include <nt_block.h>

Inheritance diagram for NTBlock:

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 &)
 

Detailed Description

representation of a slab of the search array of a NeigborTable

Member Typedef Documentation

◆ const_iterator

◆ iterator

◆ value_type

Constructor & Destructor Documentation

◆ NTBlock() [1/2]

NTBlock::NTBlock ( )

◆ NTBlock() [2/2]

NTBlock::NTBlock ( NeighborTable< T > *  ,
int  ,
int  ,
int  ,
int  ,
int  ,
int   
)

Member Function Documentation

◆ begin()

◆ end()

◆ nparts_at_gridpoint()

unsigned int NTBlock::nparts_at_gridpoint ( int  x,
int  y,
int  z 
) const
inline

< number of particles at a given gridpoint

◆ ptr()

T* NTBlock::ptr ( int  ,
int  ,
int  ,
int   
)

◆ ref()

T& NTBlock::ref ( int  ,
int  ,
int  ,
int   
)

◆ size()

unsigned int NTBlock::size ( )

Friends And Related Function Documentation

◆ NTBlock_iter< T >

friend class NTBlock_iter< T >
friend

◆ operator!=

bool operator!= ( const NTBlock ,
const NTBlock  
)
friend

◆ operator<<

ostream& operator<< ( ostream &  ,
const NTBlock  
)
friend

◆ operator==

bool operator== ( const NTBlock ,
const NTBlock  
)
friend

Member Data Documentation

◆ m_table

NeighborTable<T>* NTBlock::m_table
private

◆ m_xmax

int NTBlock::m_xmax
private

Referenced by operator!=(), operator<<(), and operator==().

◆ m_xmin

int NTBlock::m_xmin
private

Referenced by operator!=(), operator<<(), and operator==().

◆ m_ymax

int NTBlock::m_ymax
private

Referenced by operator!=(), operator<<(), and operator==().

◆ m_ymin

int NTBlock::m_ymin
private

Referenced by operator!=(), operator<<(), and operator==().

◆ m_zmax

int NTBlock::m_zmax
private

Referenced by operator!=(), operator<<(), and operator==().

◆ m_zmin

int NTBlock::m_zmin
private

Referenced by operator!=(), operator<<(), and operator==().


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