OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <ParticleCashedLayout.h>
Private Member Functions | |
void | setup () |
void | rebuild_interaction_data () |
void | rebuild_interaction_data (const bool periodicBC[2 *Dim]) |
void | swap_ghost_particles (unsigned, IpplParticleBase< ParticleCashedLayout< T, Dim, Mesh > > &) |
void | swap_ghost_particles (unsigned, IpplParticleBase< ParticleCashedLayout< T, Dim, Mesh > > &, const bool periodicBC[2 *Dim]) |
void | setMaxInteractionRadius (T maxval) |
T | getMaxLocalInteractionRadius () |
Private Attributes | |
bool | NeedGhostSwap |
bool * | InterNodeList |
bool * | SentToNodeList |
unsigned | InteractionNodes |
T | InterRadius |
T | MaxGlobalInterRadius |
Additional Inherited Members | |
![]() | |
void | setup () |
void | rebuild_neighbor_data () |
void | rebuild_layout (size_t haveLocal, PB &PData) |
size_t | swap_particles (size_t LocalNum, PB &PData) |
size_t | swap_particles (size_t LocalNum, PB &PData, const ParticleAttrib< char > &canSwap) |
size_t | short_swap_particles (size_t LocalNum, PB &PData) |
size_t | new_swap_particles (size_t LocalNum, PB &PData) |
size_t | new_swap_particles (size_t LocalNum, PB &PData, const ParticleAttrib< char > &canSwap) |
![]() | |
template<class PPT , class NDI > | |
void | apply_bconds (unsigned n, PPT &R, const ParticleBConds< T, Dim > &bcs, const NDI &nr) |
![]() | |
RegionLayout< T, Dim, Mesh > | RLayout |
size_t * | NodeCount |
bool * | EmptyNode |
bool * | SwapNodeList [Dim] |
Message ** | SwapMsgList |
unsigned | NeighborNodes [Dim] |
std::vector< size_t > * | PutList |
bool | caching |
![]() | |
ID_t | Id |
Definition at line 41 of file ParticleCashedLayout.h.
typedef ParticleLayout<T, Dim>::Index_t ParticleCashedLayout< T, Dim, Mesh >::Index_t |
Definition at line 58 of file ParticleCashedLayout.h.
typedef ParticleInteractAttrib<Index_t> ParticleCashedLayout< T, Dim, Mesh >::ParticleIndex_t |
Definition at line 62 of file ParticleCashedLayout.h.
typedef ParticleInteractAttrib<T> ParticleCashedLayout< T, Dim, Mesh >::ParticleInterRadius_t |
Definition at line 63 of file ParticleCashedLayout.h.
typedef ParticleInteractAttrib<SingleParticlePos_t> ParticleCashedLayout< T, Dim, Mesh >::ParticlePos_t |
Definition at line 61 of file ParticleCashedLayout.h.
typedef ParticleLayout<T, Dim>::SingleParticlePos_t ParticleCashedLayout< T, Dim, Mesh >::SingleParticlePos_t |
Definition at line 57 of file ParticleCashedLayout.h.
ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout | ( | FieldLayout< Dim > & | fl | ) |
Definition at line 56 of file ParticleCashedLayout.hpp.
References ParticleCashedLayout< T, Dim, Mesh >::setup().
ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout | ( | FieldLayout< Dim > & | fl, |
Mesh & | mesh | ||
) |
Definition at line 66 of file ParticleCashedLayout.hpp.
References ParticleCashedLayout< T, Dim, Mesh >::setup().
ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout | ( | const RegionLayout< T, Dim, Mesh > & | rl | ) |
Definition at line 76 of file ParticleCashedLayout.hpp.
References ParticleCashedLayout< T, Dim, Mesh >::setup().
ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout | ( | ) |
Definition at line 86 of file ParticleCashedLayout.hpp.
References ParticleCashedLayout< T, Dim, Mesh >::setup().
ParticleCashedLayout< T, Dim, Mesh >::~ParticleCashedLayout | ( | ) |
Definition at line 112 of file ParticleCashedLayout.hpp.
void ParticleCashedLayout< T, Dim, Mesh >::getCashedParticles | ( | IpplParticleBase< ParticleCashedLayout< T, Dim, Mesh > > & | PData | ) |
Definition at line 135 of file ParticleCashedLayout.hpp.
References Dim, and ParticlePeriodicBCond().
|
inline |
Definition at line 115 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::InterRadius.
|
inline |
Definition at line 112 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::MaxGlobalInterRadius.
|
private |
Definition at line 123 of file ParticleCashedLayout.hpp.
|
private |
Definition at line 176 of file ParticleCashedLayout.hpp.
References RegionLayout< T, Dim, MeshType >::begin_iv(), DEBUGMSG, Dim, RegionLayout< T, Dim, MeshType >::end_iv(), endl(), IpplInfo::getNodes(), T, and RegionLayout< T, Dim, MeshType >::touch_range_rdv().
|
private |
Definition at line 244 of file ParticleCashedLayout.hpp.
References RegionLayout< T, Dim, MeshType >::begin_iv(), DEBUGMSG, Dim, RegionLayout< T, Dim, MeshType >::end_iv(), endl(), IpplInfo::getNodes(), IpplInfo::myNode(), PAssert, T, RegionLayout< T, Dim, MeshType >::touch_range_rdv(), and NDRegion< T, Dim >::touches().
|
virtual |
Reimplemented from ParticleSpatialLayout< T, Dim, Mesh >.
Definition at line 923 of file ParticleCashedLayout.hpp.
References UserList::getUserListID().
|
inline |
Definition at line 105 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::InterRadius.
|
inlineprivate |
Definition at line 173 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::MaxGlobalInterRadius.
|
inline |
Definition at line 122 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::NeedGhostSwap.
|
private |
Definition at line 95 of file ParticleCashedLayout.hpp.
References IpplInfo::getNodes().
Referenced by ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout().
|
private |
Definition at line 553 of file ParticleCashedLayout.hpp.
References IpplInfo::getNodes(), and T.
|
private |
Definition at line 684 of file ParticleCashedLayout.hpp.
References RegionLayout< T, Dim, MeshType >::begin_iv(), IpplInfo::Comm, Communicate::COMM_ANY_NODE, Dim, RegionLayout< T, Dim, MeshType >::end_iv(), endl(), ERRORMSG, Rnode< T, Dim >::getNode(), IpplInfo::getNodes(), IpplInfo::myNode(), TagMaker::next_tag(), P_LAYOUT_CYCLE, P_SPATIAL_GHOST_TAG, PAssert, Communicate::receive_block(), Communicate::send(), T, RegionLayout< T, Dim, MeshType >::touch_range_rdv(), and NDRegion< T, Dim >::touches().
void ParticleCashedLayout< T, Dim, Mesh >::update | ( | IpplParticleBase< ParticleCashedLayout< T, Dim, Mesh > > & | p, |
const ParticleAttrib< char > * | canSwap = 0 |
||
) |
Definition at line 410 of file ParticleCashedLayout.hpp.
References Communicate::broadcast_others(), IpplInfo::Comm, Communicate::COMM_ANY_NODE, Dim, Message::get(), IpplInfo::getNodes(), IpplInfo::myNode(), TagMaker::next_tag(), P_LAYOUT_CYCLE, P_SPATIAL_LAYOUT_TAG, P_SPATIAL_RETURN_TAG, ParticlePeriodicBCond(), Message::put(), Communicate::receive_block(), Communicate::send(), SWAP, and T.
|
private |
Definition at line 138 of file ParticleCashedLayout.h.
|
private |
Definition at line 136 of file ParticleCashedLayout.h.
|
private |
Definition at line 144 of file ParticleCashedLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::getInteractionRadius(), and ParticleCashedLayout< T, Dim, Mesh >::setInteractionRadius().
|
private |
Definition at line 144 of file ParticleCashedLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::getMaxInteractionRadius(), and ParticleCashedLayout< T, Dim, Mesh >::setMaxInteractionRadius().
|
private |
Definition at line 135 of file ParticleCashedLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::setNeedGhostSwap().
|
private |
Definition at line 137 of file ParticleCashedLayout.h.