27 template <
typename T> ostream& operator<<(ostream &, const NTSlab<T> &);
51 unsigned int size()
const;
68 void insert(iterator,
const T&);
72 void erase(iterator,iterator);
78 friend ostream& operator<< <>(ostream &,
const NTSlab &);
T & ref(typename NeighborTable< T >::indextype)
Definition: nt_slab.hpp:146
NTSlab()
Definition: nt_slab.hpp:17
unsigned int slab_size() const
Definition: nt_slab.h:50
unsigned int nparts_at_gridpoint(unsigned int idx) const
Definition: nt_slab.h:61
iterator for a NTSlab
Definition: ntable.h:60
T * ptr(typename NeighborTable< T >::indextype)
Definition: nt_slab.hpp:130
pair< int, int > indextype
Definition: ntable.h:72
unsigned int size() const
Definition: nt_slab.hpp:38
DSlice m_sl
Definition: nt_slab.h:43
iterator end()
Definition: nt_slab.hpp:76
unsigned int size() const
Definition: dslice.h:33
unsigned int nparts_at_gridpoint(unsigned int idx) const
number of particles at a given gridpoint
Definition: ntable.h:128
iterator rbegin()
Definition: nt_slab.hpp:90
NTSlab_iter< T > iterator
Definition: nt_slab.h:37
T value_type
Definition: nt_slab.h:39
class for neighbor search
Definition: ntable.h:67
representation of a slab of the search array of a NeigborTable
Definition: nt_slab.h:23
void insert(iterator, const T &)
Definition: nt_slab.hpp:163
bool operator!=(const NTSlab< T > &, const NTSlab< T > &)
Definition: nt_slab.hpp:213
NTSlab_iter< T > const_iterator
Definition: nt_slab.h:38
NeighborTable< T > * m_table
Definition: nt_slab.h:42
bool operator==(const NTSlab< T > &, const NTSlab< T > &)
Definition: nt_slab.hpp:207
iterator rend()
number of particles at a given gridpoint
Definition: nt_slab.hpp:114
iterator begin()
Definition: nt_slab.hpp:54