Go to the documentation of this file.
42 for(
unsigned int i=0;i<
m_sl.
size();i++){
133 a_idx.first=
m_sl[idx.first];
134 a_idx.second=idx.second;
149 a_idx.first=
m_sl[idx.first];
150 a_idx.second=idx.second;
180 a_idx.first=
m_sl[pos.index().first];
181 a_idx.second=pos.index().second;
206 template <
typename T>
212 template <
typename T>
227 ost <<
"---NTSlab---" << endl;
228 ost <<
"indices:" << endl;
229 for(
unsigned int i=0;i<NTS.
slab_size();i++){
230 ost << NTS.
m_sl[i] <<
" ";
bool operator==(const NTSlab< T > &s1, const NTSlab< T > &s2)
Definition: nt_slab.hpp:207
unsigned int slab_size() const
Definition: nt_slab.h:50
T & ref(typename NeighborTable< T >::indextype)
NeighborTable< T > * m_table
Definition: nt_slab.h:42
bool operator!=(const NTSlab< T > &s1, const NTSlab< T > &s2)
Definition: nt_slab.hpp:213
DSlice m_sl
Definition: nt_slab.h:43
unsigned int size() const
unsigned int nparts_at_gridpoint(unsigned int idx) const
Definition: nt_slab.h:61
pair< int, int > indextype
Definition: ntable.h:72
void insert(iterator, const T &)
representation of a slab of the search array of a NeigborTable
Definition: nt_slab.h:23
#define NULL
Definition: t_list.h:17
class for neighbor search
Definition: ntable.h:67
T * ptr(typename NeighborTable< T >::indextype)
boost::python::object iter(const boost::python::object &pyOb)
Definition: Util.h:25
ostream & operator<<(ostream &ost, const NTSlab< T > &NTS)
Definition: nt_slab.hpp:225
unsigned int size() const
Definition: dslice.h:33
iterator rend()
number of particles at a given gridpoint
NTSlab_iter< T > iterator
Definition: nt_slab.h:37