OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <BoxParticleCachingPolicy.h>
Classes | |
struct | Offset_t |
Public Member Functions | |
BoxParticleCachingPolicy () | |
void | setCacheDimension (int d, T length) |
void | setAllCacheDimensions (T length) |
template<class C > | |
void | updateCacheInformation (ParticleSpatialLayout< T, Dim, Mesh, C > &PLayout) |
template<class C > | |
void | updateGhostParticles (IpplParticleBase< ParticleSpatialLayout< T, Dim, Mesh, C > > &PData, ParticleSpatialLayout< T, Dim, Mesh, C > &) |
Protected Member Functions | |
~BoxParticleCachingPolicy () | |
Private Attributes | |
T | boxDimension [Dim] |
bool | periodic [2 *Dim] |
std::map< unsigned, std::list< std::pair< NDRegion< T, Dim >, Offset_t > > > | regions |
Definition at line 23 of file BoxParticleCachingPolicy.h.
|
inline |
Definition at line 25 of file BoxParticleCachingPolicy.h.
References BoxParticleCachingPolicy< T, Dim, Mesh >::boxDimension, Dim, and Attrib::Legacy::Distribution::T.
|
inlineprotected |
Definition at line 249 of file BoxParticleCachingPolicy.h.
|
inline |
Definition at line 35 of file BoxParticleCachingPolicy.h.
References BoxParticleCachingPolicy< T, Dim, Mesh >::boxDimension, and Dim.
|
inline |
Definition at line 30 of file BoxParticleCachingPolicy.h.
References BoxParticleCachingPolicy< T, Dim, Mesh >::boxDimension.
|
inline |
Definition at line 40 of file BoxParticleCachingPolicy.h.
References BoxParticleCachingPolicy< T, Dim, Mesh >::Offset_t::begin(), RegionLayout< T, Dim, MeshType >::begin_iv(), BoxParticleCachingPolicy< T, Dim, Mesh >::boxDimension, Dim, BoxParticleCachingPolicy< T, Dim, Mesh >::Offset_t::end(), RegionLayout< T, Dim, MeshType >::end_iv(), ParticleLayout< T, Dim >::getBConds(), RegionLayout< T, Dim, MeshType >::getDomain(), ParticleLayout< T, Dim >::getUpdateFlag(), IpplInfo::myNode(), ParticlePeriodicBCond(), BoxParticleCachingPolicy< T, Dim, Mesh >::periodic, BoxParticleCachingPolicy< T, Dim, Mesh >::regions, and RegionLayout< T, Dim, MeshType >::touch_range_rdv().
Referenced by CellParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation().
|
inline |
Definition at line 155 of file BoxParticleCachingPolicy.h.
References Communicate::barrier(), BoxParticleCachingPolicy< T, Dim, Mesh >::boxDimension, IpplInfo::Comm, Communicate::COMM_ANY_NODE, Dim, MsgBuffer::getBuffer(), MsgBuffer::getSize(), Hypervolume::n, TagMaker::next_tag(), P_LAYOUT_CYCLE, P_SPATIAL_GHOST_TAG, Communicate::raw_isend(), Communicate::raw_probe_receive(), BoxParticleCachingPolicy< T, Dim, Mesh >::regions, and NDRegion< T, Dim >::touches().
Referenced by CellParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles().
|
private |
Definition at line 260 of file BoxParticleCachingPolicy.h.
Referenced by BoxParticleCachingPolicy< T, Dim, Mesh >::BoxParticleCachingPolicy(), BoxParticleCachingPolicy< T, Dim, Mesh >::setAllCacheDimensions(), BoxParticleCachingPolicy< T, Dim, Mesh >::setCacheDimension(), BoxParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation(), and BoxParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles().
|
private |
Definition at line 261 of file BoxParticleCachingPolicy.h.
Referenced by BoxParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation().
|
private |
Definition at line 262 of file BoxParticleCachingPolicy.h.
Referenced by BoxParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation(), and BoxParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles().