OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
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 | |
Protected Member Functions inherited from ParticleSpatialLayout< T, Dim, UniformCartesian< Dim, T > > | |
void | setup () |
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) |
Protected Member Functions inherited from ParticleLayout< T, Dim > | |
template<class PPT , class NDI > | |
void | apply_bconds (unsigned n, PPT &R, const ParticleBConds< T, Dim > &bcs, const NDI &nr) |
Protected Member Functions inherited from BoxParticleCachingPolicy< T, Dim, UniformCartesian< Dim, T > > | |
~BoxParticleCachingPolicy () | |
Protected Attributes inherited from ParticleSpatialLayout< T, Dim, UniformCartesian< Dim, T > > | |
RegionLayout< T, Dim, UniformCartesian< Dim, T > > | RLayout |
size_t * | NodeCount |
bool * | EmptyNode |
bool * | SwapNodeList [Dim] |
Message ** | SwapMsgList |
unsigned | NeighborNodes [Dim] |
std::vector< size_t > * | PutList |
bool | caching |
Protected Attributes inherited from User | |
ID_t | Id |
Definition at line 61 of file ParticleCashedLayout.h.
typedef ParticleLayout<T, Dim>::Index_t ParticleCashedLayout< T, Dim, Mesh >::Index_t |
Definition at line 67 of file ParticleCashedLayout.h.
typedef ParticleInteractAttrib<Index_t> ParticleCashedLayout< T, Dim, Mesh >::ParticleIndex_t |
Definition at line 71 of file ParticleCashedLayout.h.
typedef ParticleInteractAttrib<T> ParticleCashedLayout< T, Dim, Mesh >::ParticleInterRadius_t |
Definition at line 72 of file ParticleCashedLayout.h.
typedef ParticleInteractAttrib<SingleParticlePos_t> ParticleCashedLayout< T, Dim, Mesh >::ParticlePos_t |
Definition at line 70 of file ParticleCashedLayout.h.
typedef ParticleLayout<T, Dim>::SingleParticlePos_t ParticleCashedLayout< T, Dim, Mesh >::SingleParticlePos_t |
Definition at line 66 of file ParticleCashedLayout.h.
ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout | ( | FieldLayout< Dim > & | fl | ) |
Definition at line 49 of file ParticleCashedLayout.hpp.
References ParticleCashedLayout< T, Dim, Mesh >::setup().
ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout | ( | FieldLayout< Dim > & | fl, |
Mesh & | mesh | ||
) |
Definition at line 59 of file ParticleCashedLayout.hpp.
References ParticleCashedLayout< T, Dim, Mesh >::setup().
ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout | ( | const RegionLayout< T, Dim, Mesh > & | rl | ) |
Definition at line 69 of file ParticleCashedLayout.hpp.
References ParticleCashedLayout< T, Dim, Mesh >::setup().
ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout |
Definition at line 79 of file ParticleCashedLayout.hpp.
References ParticleCashedLayout< T, Dim, Mesh >::setup().
ParticleCashedLayout< T, Dim, Mesh >::~ParticleCashedLayout |
Definition at line 105 of file ParticleCashedLayout.hpp.
void ParticleCashedLayout< T, Dim, Mesh >::getCashedParticles | ( | IpplParticleBase< ParticleCashedLayout< T, Dim, Mesh > > & | PData | ) |
Definition at line 128 of file ParticleCashedLayout.hpp.
References Dim, and ParticlePeriodicBCond().
|
inline |
Definition at line 124 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::InterRadius.
|
inline |
Definition at line 121 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::MaxGlobalInterRadius.
|
private |
Definition at line 116 of file ParticleCashedLayout.hpp.
|
private |
Definition at line 169 of file ParticleCashedLayout.hpp.
References RegionLayout< T, Dim, MeshType >::begin_iv(), Dim, IpplInfo::getNodes(), and Attrib::Legacy::Distribution::T.
|
private |
Definition at line 229 of file ParticleCashedLayout.hpp.
References RegionLayout< T, Dim, MeshType >::begin_iv(), Dim, IpplInfo::getNodes(), IpplInfo::myNode(), PAssert, Attrib::Legacy::Distribution::T, RegionLayout< T, Dim, MeshType >::touch_range_rdv(), and NDRegion< T, Dim >::touches().
|
virtual |
Reimplemented from ParticleSpatialLayout< T, Dim, UniformCartesian< Dim, T > >.
Definition at line 896 of file ParticleCashedLayout.hpp.
References UserList::getUserListID().
|
inline |
Definition at line 114 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::InterRadius.
|
inlineprivate |
Definition at line 182 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::MaxGlobalInterRadius.
|
inline |
Definition at line 131 of file ParticleCashedLayout.h.
References ParticleCashedLayout< T, Dim, Mesh >::NeedGhostSwap.
|
private |
Definition at line 88 of file ParticleCashedLayout.hpp.
References IpplInfo::getNodes().
Referenced by ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout().
|
private |
Definition at line 526 of file ParticleCashedLayout.hpp.
References IpplInfo::getNodes(), and Attrib::Legacy::Distribution::T.
|
private |
Definition at line 657 of file ParticleCashedLayout.hpp.
References RegionLayout< T, Dim, MeshType >::begin_iv(), IpplInfo::Comm, Communicate::COMM_ANY_NODE, Dim, 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(), Attrib::Legacy::Distribution::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 383 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 Attrib::Legacy::Distribution::T.
|
private |
Definition at line 147 of file ParticleCashedLayout.h.
|
private |
Definition at line 145 of file ParticleCashedLayout.h.
|
private |
Definition at line 153 of file ParticleCashedLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::getInteractionRadius(), and ParticleCashedLayout< T, Dim, Mesh >::setInteractionRadius().
|
private |
Definition at line 153 of file ParticleCashedLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::getMaxInteractionRadius(), and ParticleCashedLayout< T, Dim, Mesh >::setMaxInteractionRadius().
|
private |
Definition at line 144 of file ParticleCashedLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::setNeedGhostSwap().
|
private |
Definition at line 146 of file ParticleCashedLayout.h.