13 #ifndef __SIMPLENTABLE3D_H
14 #define __SIMPLENTABLE3D_H
49 template <
class TmplInteractionVal
idator>
56 int idx=i+m_xsize*j+k*m_xsize*
m_zsize;
57 if(
m_data[idx].size() >= 2){
58 for(ParticleVector::const_iterator
iter =
m_data[idx].begin();
63 ParticleVector::const_iterator iter2 =
iter+1;
64 iter2 !=
m_data[idx].end();
67 if (validator.isValid(*
iter, *iter2))
81 #endif //__SIMPLENTABLE3D_H
Vec3 m_zshift
Definition: SimpleNTable3D.h:35
bool m_zcirc
Definition: SimpleNTable3D.h:37
int m_ysize
Definition: SimpleNTable3D.h:36
virtual void insertParticleCircular(SimpleParticle)
Definition: SimpleNTable3D.cpp:138
virtual int index(const Vec3 &) const
Definition: SimpleNTable3D.cpp:21
boost::python::object iter(const boost::python::object &pyOb)
Definition: Util.h:25
Definition: SimpleNTable3D.h:32
CSimple3DNTable(const Vec3 &, const Vec3 &, double, bool xcirc=false, bool ycirc=false, bool zcirc=false)
Definition: SimpleNTable3D.cpp:165
Class to represent the common part of a pair interaction, i.e. the IDs of the particles and the inter...
Definition: BasicInteraction.h:27
bool m_xcirc
Definition: SimpleNTable3D.h:37
InteractionSet getInteractions(const TmplInteractionValidator &validator) const
Definition: SimpleNTable3D.h:50
bool m_ycirc
Definition: SimpleNTable3D.h:37
std::set< BasicInteraction, BILess > InteractionSet
Definition: SimpleNTable3D.h:21
Vec3 m_xshift
Definition: SimpleNTable3D.h:35
void print()
Definition: SimpleNTable3D.cpp:233
virtual void getInteractions(set< BasicInteraction, BILess > &, double)
Definition: SimpleNTable3D.cpp:202
Vec3 m_yshift
Definition: SimpleNTable3D.h:35
vector< SimpleParticle > * m_data
Definition: SimpleNTable.h:38
int m_zsize
Definition: SimpleNTable3D.h:36
virtual vector< int > allidx(const Vec3 &) const
Definition: SimpleNTable3D.cpp:37
Definition: SimpleParticle.h:24
Abstract base class providing the interface for a simple, serial neighbor table. Used in random initi...
Definition: SimpleNTable.h:35
int m_xsize
Definition: SimpleNTable3D.h:36
std::vector< SimpleParticle > ParticleVector
Definition: SimpleNTable3D.h:22