20 #ifndef PARTICLE_INTERACT_LAYOUT_H
21 #define PARTICLE_INTERACT_LAYOUT_H
51 template <
class T,
unsigned Dim,
class Mesh>
60 template <
class T,
unsigned Dim,
class Mesh=UniformCartesian<Dim,T> >
203 const bool periodicBC[2*
Dim]);
207 void find_pairs(
const unsigned LocalNum,
const unsigned a1,
208 const unsigned a2,
const bool initLists,
std::ostream & operator<<(std::ostream &, const ParticleInteractLayout< T, Dim, Mesh > &)
std::string::iterator iterator
void find_pairs(const unsigned LocalNum, const unsigned a1, const unsigned a2, const bool initLists, IpplParticleBase< ParticleInteractLayout< T, Dim, Mesh > > &PData)
void setInteractionRadius(const T &r)
~ParticleInteractLayout()
T getMaxLocalInteractionRadius()
void setInteractionRadius(ParticleInterRadius_t &rAttrib)
T getMaxInteractionRadius()
std::vector< std::vector< pair_t > * > PairList
unsigned InteractionNodes
ParticleInteractAttrib< T > ParticleInterRadius_t
void setMaxInteractionRadius(T maxval)
void setNeedGhostSwap(bool cond=true)
void rebuild_interaction_data()
virtual void Repartition(UserList *)
ParticleLayout< T, Dim >::SingleParticlePos_t SingleParticlePos_t
ParticleInterRadius_t * InterRadiusArray
void update(IpplParticleBase< ParticleInteractLayout< T, Dim, Mesh > > &p, const ParticleAttrib< char > *canSwap=0)
T getInteractionRadius(unsigned i)
void swap_ghost_particles(unsigned, IpplParticleBase< ParticleInteractLayout< T, Dim, Mesh > > &)
ParticleInteractAttrib< SingleParticlePos_t > ParticlePos_t
std::vector< pair_t >::iterator pair_iterator
ParticleLayout< T, Dim >::Index_t Index_t
void getPairlist(unsigned, pair_iterator &, pair_iterator &, IpplParticleBase< ParticleInteractLayout< T, Dim, Mesh > > &)
ParticleInteractAttrib< Index_t > ParticleIndex_t