ParticleInteractLayout< T, Dim, Mesh > Class Template Reference

#include <ParticleInteractLayout.h>

Inheritance diagram for ParticleInteractLayout< T, Dim, Mesh >:

Inheritance graph
[legend]
Collaboration diagram for ParticleInteractLayout< T, Dim, Mesh >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef vector< pair_t
>::iterator 
pair_iterator
typedef ParticleLayout< T,
Dim >::SingleParticlePos_t 
SingleParticlePos_t
typedef ParticleLayout< T,
Dim >::Index_t 
Index_t
typedef ParticleInteractAttrib<
SingleParticlePos_t
ParticlePos_t
typedef ParticleInteractAttrib<
Index_t
ParticleIndex_t
typedef ParticleInteractAttrib<
T > 
ParticleInterRadius_t

Public Member Functions

 ParticleInteractLayout (FieldLayout< Dim > &)
 ParticleInteractLayout (FieldLayout< Dim > &, Mesh &)
 ParticleInteractLayout (const RegionLayout< T, Dim, Mesh > &)
 ParticleInteractLayout ()
 ~ParticleInteractLayout ()
void update (ParticleBase< ParticleInteractLayout< T, Dim, Mesh > > &p, const ParticleAttrib< char > *canSwap=0)
void getPairlist (unsigned, pair_iterator &, pair_iterator &, ParticleBase< ParticleInteractLayout< T, Dim, Mesh > > &)
void setInteractionRadius (const T &r)
void setInteractionRadius (ParticleInterRadius_t &rAttrib)
getMaxInteractionRadius ()
getInteractionRadius (unsigned i)
void setNeedGhostSwap (bool cond=true)
virtual void Repartition (UserList *)

Classes

struct  pair_t

Detailed Description

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
class ParticleInteractLayout< T, Dim, Mesh >

Definition at line 63 of file ParticleInteractLayout.h.


Member Typedef Documentation

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
typedef ParticleLayout<T, Dim>::Index_t ParticleInteractLayout< T, Dim, Mesh >::Index_t
 

Reimplemented from ParticleSpatialLayout< T, Dim, Mesh >.

Definition at line 79 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
typedef vector<pair_t>::iterator ParticleInteractLayout< T, Dim, Mesh >::pair_iterator
 

Reimplemented from ParticleSpatialLayout< T, Dim, Mesh >.

Definition at line 75 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
typedef ParticleInteractAttrib<Index_t> ParticleInteractLayout< T, Dim, Mesh >::ParticleIndex_t
 

Reimplemented from ParticleSpatialLayout< T, Dim, Mesh >.

Definition at line 83 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
typedef ParticleInteractAttrib<T> ParticleInteractLayout< T, Dim, Mesh >::ParticleInterRadius_t
 

Definition at line 84 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
typedef ParticleInteractAttrib<SingleParticlePos_t> ParticleInteractLayout< T, Dim, Mesh >::ParticlePos_t
 

Reimplemented from ParticleSpatialLayout< T, Dim, Mesh >.

Definition at line 82 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
typedef ParticleLayout<T, Dim>::SingleParticlePos_t ParticleInteractLayout< T, Dim, Mesh >::SingleParticlePos_t
 

Reimplemented from ParticleSpatialLayout< T, Dim, Mesh >.

Definition at line 78 of file ParticleInteractLayout.h.


Constructor & Destructor Documentation

template<class T, unsigned Dim, class Mesh>
ParticleInteractLayout< T, Dim, Mesh >::ParticleInteractLayout FieldLayout< Dim > &   ) 
 

Definition at line 47 of file ParticleInteractLayout.cpp.

References CT, TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class Mesh>
ParticleInteractLayout< T, Dim, Mesh >::ParticleInteractLayout FieldLayout< Dim > &  ,
Mesh
 

Definition at line 60 of file ParticleInteractLayout.cpp.

References CT, TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class Mesh>
ParticleInteractLayout< T, Dim, Mesh >::ParticleInteractLayout const RegionLayout< T, Dim, Mesh > &   ) 
 

Definition at line 73 of file ParticleInteractLayout.cpp.

References CT, TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class Mesh>
ParticleInteractLayout< T, Dim, Mesh >::ParticleInteractLayout  ) 
 

Definition at line 86 of file ParticleInteractLayout.cpp.

References CT, TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

template<class T, unsigned Dim, class Mesh>
ParticleInteractLayout< T, Dim, Mesh >::~ParticleInteractLayout  ) 
 

Definition at line 118 of file ParticleInteractLayout.cpp.

References CT, TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.


Member Function Documentation

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
T ParticleInteractLayout< T, Dim, Mesh >::getInteractionRadius unsigned  i  )  [inline]
 

Definition at line 146 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
T ParticleInteractLayout< T, Dim, Mesh >::getMaxInteractionRadius  )  [inline]
 

Definition at line 143 of file ParticleInteractLayout.h.

Referenced by ParticleInteractLayout< T, Dim, Mesh >::update().

template<class T, unsigned Dim, class Mesh>
void ParticleInteractLayout< T, Dim, Mesh >::getPairlist unsigned  ,
pair_iterator ,
pair_iterator ,
ParticleBase< ParticleInteractLayout< T, Dim, Mesh > > & 
 

Definition at line 158 of file ParticleInteractLayout.cpp.

References CT, ParticleLayout< T, Dim >::getBConds(), ParticleLayout< T, Dim >::getUpdateFlag(), ParticlePeriodicBCond(), TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class Mesh>
void ParticleInteractLayout< T, Dim, Mesh >::Repartition UserList  )  [virtual]
 

Reimplemented from ParticleSpatialLayout< T, Dim, Mesh >.

Definition at line 1063 of file ParticleInteractLayout.cpp.

References RegionLayout< T, Dim, MeshType >::get_Id(), UserList::getUserListID(), ParticleSpatialLayout< T, Dim, Mesh >::RLayout, TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
void ParticleInteractLayout< T, Dim, Mesh >::setInteractionRadius ParticleInterRadius_t rAttrib  )  [inline]
 

Definition at line 136 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
void ParticleInteractLayout< T, Dim, Mesh >::setInteractionRadius const T &  r  )  [inline]
 

Definition at line 131 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh = UniformCartesian<Dim,T>>
void ParticleInteractLayout< T, Dim, Mesh >::setNeedGhostSwap bool  cond = true  )  [inline]
 

Definition at line 153 of file ParticleInteractLayout.h.

template<class T, unsigned Dim, class Mesh>
void ParticleInteractLayout< T, Dim, Mesh >::update ParticleBase< ParticleInteractLayout< T, Dim, Mesh > > &  p,
const ParticleAttrib< char > *  canSwap = 0
 

Definition at line 446 of file ParticleInteractLayout.cpp.

References ParticleLayout< T, Dim >::apply_bconds(), Communicate::broadcast_others(), IpplInfo::Comm, Communicate::COMM_ANY_NODE, CT, Message::get(), ParticleLayout< T, Dim >::getBConds(), RegionLayout< T, Dim, MeshType >::getDomain(), ParticleInteractLayout< T, Dim, Mesh >::getMaxInteractionRadius(), IpplInfo::getNodes(), ParticleLayout< T, Dim >::getUpdateFlag(), IpplInfo::myNode(), TagMaker::next_tag(), ParticleSpatialLayout< T, Dim, Mesh >::NodeCount, P_LAYOUT_CYCLE, P_SPATIAL_LAYOUT_TAG, P_SPATIAL_RETURN_TAG, ParticlePeriodicBCond(), Message::put(), ParticleSpatialLayout< T, Dim, Mesh >::rebuild_layout(), Communicate::receive_block(), ParticleSpatialLayout< T, Dim, Mesh >::RLayout, Communicate::send(), ParticleSpatialLayout< T, Dim, Mesh >::swap_particles(), TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:44:58 2006 for IPPL by  doxygen 1.4.6