|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <ParticleSpatialLayout.h>
Public Types | |
| typedef int | pair_t |
| typedef pair_t * | pair_iterator |
| typedef ParticleLayout< T, Dim >::SingleParticlePos_t | SingleParticlePos_t |
| typedef ParticleLayout< T, Dim >::Index_t | Index_t |
| typedef ParticleAttrib< SingleParticlePos_t > | ParticlePos_t |
| typedef ParticleAttrib< Index_t > | ParticleIndex_t |
| typedef RegionLayout< T, Dim, Mesh > | RegionLayout_t |
| enum | { Dimension = Dim } |
| enum | UpdateFlags { SWAP , BCONDS , NUMFLAGS , OPTDESTROY , ALL } |
| typedef T | Position_t |
| typedef Unique::type | ID_t |
Protected Member Functions | |
| void | setup () |
| template<class PB> | |
| void | rebuild_layout (size_t haveLocal, PB &PData) |
| template<class PB> | |
| size_t | swap_particles (size_t LocalNum, PB &PData) |
| template<class PB> | |
| size_t | short_swap_particles (size_t LocalNum, PB &PData) |
| template<class PB> | |
| size_t | swap_particles (size_t LocalNum, PB &PData, const ParticleAttrib< char > &canSwap) |
| template<class PB> | |
| size_t | new_swap_particles (size_t LocalNum, PB &PData) |
| template<class PB> | |
| 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) |
Protected Attributes | |
| 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 |
Private Attributes | |
| ParticleBConds< T, Dim > | BoundConds |
| unsigned int | UpdateOptions |
| T | boxDimension [Dim] |
| bool | periodic [2 *Dim] |
| std::map< unsigned, std::list< std::pair< NDRegion< T, Dim >, Offset_t > > > | regions |
Definition at line 60 of file ParticleSpatialLayout.h.
|
inherited |
| typedef ParticleLayout<T,Dim>::Index_t ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::Index_t |
Definition at line 74 of file ParticleSpatialLayout.h.
| typedef pair_t* ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::pair_iterator |
Definition at line 71 of file ParticleSpatialLayout.h.
| typedef int ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::pair_t |
Definition at line 70 of file ParticleSpatialLayout.h.
| typedef ParticleAttrib<Index_t> ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::ParticleIndex_t |
Definition at line 78 of file ParticleSpatialLayout.h.
| typedef ParticleAttrib<SingleParticlePos_t> ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::ParticlePos_t |
Definition at line 77 of file ParticleSpatialLayout.h.
|
inherited |
Definition at line 62 of file ParticleLayout.h.
| typedef RegionLayout<T,Dim,Mesh> ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::RegionLayout_t |
Definition at line 79 of file ParticleSpatialLayout.h.
| typedef ParticleLayout<T,Dim>::SingleParticlePos_t ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::SingleParticlePos_t |
Definition at line 73 of file ParticleSpatialLayout.h.
|
inherited |
| Enumerator | |
|---|---|
| Dimension | |
Definition at line 58 of file ParticleLayout.h.
|
inherited |
| Enumerator | |
|---|---|
| SWAP | |
| BCONDS | |
| NUMFLAGS | |
| OPTDESTROY | |
| ALL | |
Definition at line 59 of file ParticleLayout.h.
| ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::ParticleSpatialLayout | ( | FieldLayout< Dim > & | fl | ) |
Definition at line 27 of file ParticleSpatialLayout.hpp.
References RLayout, and setup().
Referenced by ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout(), ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout(), ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout(), ParticleCashedLayout< T, Dim, Mesh >::ParticleCashedLayout(), ParticleInteractLayout< T, Dim, Mesh >::ParticleInteractLayout(), ParticleInteractLayout< T, Dim, Mesh >::ParticleInteractLayout(), ParticleInteractLayout< T, Dim, Mesh >::ParticleInteractLayout(), ParticleInteractLayout< T, Dim, Mesh >::ParticleInteractLayout(), and update().
| ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::ParticleSpatialLayout | ( | FieldLayout< Dim > & | fl, |
| Mesh & | mesh ) |
Definition at line 37 of file ParticleSpatialLayout.hpp.
References RLayout, and setup().
| ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::ParticleSpatialLayout | ( | const RegionLayout< T, Dim, Mesh > & | rl | ) |
Definition at line 48 of file ParticleSpatialLayout.hpp.
References RLayout, and setup().
| ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::ParticleSpatialLayout | ( | ) |
Definition at line 59 of file ParticleSpatialLayout.hpp.
References RLayout, and setup().
| ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::~ParticleSpatialLayout | ( | ) |
Definition at line 100 of file ParticleSpatialLayout.hpp.
References Dim, EmptyNode, NodeCount, PutList, RLayout, SwapMsgList, and SwapNodeList.
|
inlineprotectedinherited |
Definition at line 106 of file ParticleLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), and ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::update().
|
inline |
Definition at line 172 of file ParticleSpatialLayout.h.
|
inline |
Definition at line 171 of file ParticleSpatialLayout.h.
|
inlineinherited |
Definition at line 46 of file User.h.
References Id.
Referenced by UserList::checkinUser(), and UserList::checkoutUser().
|
inlineinherited |
|
inline |
Definition at line 136 of file ParticleSpatialLayout.h.
Referenced by ParticlePos_t< double, 3 >::swap_particles(), and ParticlePos_t< double, 3 >::swap_particles().
|
inline |
Definition at line 113 of file ParticleSpatialLayout.h.
|
inline |
Definition at line 119 of file ParticleSpatialLayout.h.
Referenced by PartBunch::getFieldLayout(), PartBunch::getMesh(), PartBunch::getMesh(), PartBunch::initialize(), operator<<(), operator<<(), and operator<<().
|
inline |
Definition at line 123 of file ParticleSpatialLayout.h.
|
inline |
Definition at line 129 of file ParticleSpatialLayout.h.
Referenced by operator<<(), operator<<(), and operator<<().
|
inlineinherited |
Definition at line 86 of file ParticleLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::getCashedParticles(), ParticleInteractLayout< T, Dim, Mesh >::getPairlist(), IpplParticleBase< Layout_t >::getUpdateFlag(), ParticleCashedLayout< T, Dim, Mesh >::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::update(), and ParticleUniformLayout< T, Dim >::update().
|
inlineprotected |
Definition at line 1073 of file ParticleSpatialLayout.h.
|
inlineprotected |
Definition at line 1194 of file ParticleSpatialLayout.h.
|
virtual |
Implements User.
Definition at line 282 of file ParticleSpatialLayout.hpp.
| void ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::printDebug | ( | Inform & | o | ) |
Definition at line 259 of file ParticleSpatialLayout.hpp.
References IpplInfo::getNodes(), and NodeCount.
|
inlineprotected |
Definition at line 202 of file ParticleSpatialLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), and update().
|
virtual |
Implements FieldLayoutUser.
Reimplemented in ParticleCashedLayout< T, Dim, Mesh >, and ParticleInteractLayout< T, Dim, Mesh >.
Definition at line 273 of file ParticleSpatialLayout.hpp.
|
inlineinherited |
Definition at line 35 of file BoxParticleCachingPolicy.h.
References boxDimension, and Dim.
|
inlineinherited |
Definition at line 94 of file ParticleLayout.h.
|
inlineinherited |
Definition at line 30 of file BoxParticleCachingPolicy.h.
References boxDimension.
Referenced by CellParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation(), and CellParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles().
|
protected |
Definition at line 68 of file ParticleSpatialLayout.hpp.
References caching, Dim, IpplInfo::getNodes(), PutList, RLayout, SwapMsgList, and SwapNodeList.
Referenced by ParticleSpatialLayout(), ParticleSpatialLayout(), ParticleSpatialLayout(), and ParticleSpatialLayout().
|
inlineinherited |
Definition at line 76 of file ParticleLayout.h.
Referenced by ParticleLayout(), and IpplParticleBase< Layout_t >::setUpdateFlag().
|
inlineprotected |
Definition at line 632 of file ParticleSpatialLayout.h.
|
inlineprotected |
Definition at line 330 of file ParticleSpatialLayout.h.
Referenced by ParticleCashedLayout< T, Dim, Mesh >::update(), and ParticleInteractLayout< T, Dim, Mesh >::update().
|
inlineprotected |
Definition at line 773 of file ParticleSpatialLayout.h.
| void ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::update | ( | IpplParticleBase< ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy > > & | p, |
| const ParticleAttrib< char > * | canSwap = 0 ) |
Definition at line 121 of file ParticleSpatialLayout.hpp.
References ParticleLayout< T, Dim >::apply_bconds(), ParticleLayout< T, Dim >::BCONDS, IpplInfo::getNodes(), ParticleLayout< T, Dim >::getUpdateFlag(), IpplInfo::myNode(), ParticleSpatialLayout(), rebuild_layout(), and RLayout.
|
inlineinherited |
Definition at line 40 of file BoxParticleCachingPolicy.h.
References ParticleLayout< T, Dim >::BCONDS, BoxParticleCachingPolicy< T, Dim, Mesh >::Offset_t::begin(), RegionLayout< T, Dim, MeshType >::begin_iv(), boxDimension, Dim, BoxParticleCachingPolicy< T, Dim, Mesh >::Offset_t::end(), RegionLayout< T, Dim, MeshType >::end_iv(), RegionLayout< T, Dim, MeshType >::getDomain(), IpplInfo::myNode(), ParticlePeriodicBCond(), periodic, regions, and RegionLayout< T, Dim, MeshType >::touch_range_rdv().
Referenced by CellParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation().
|
inlineinherited |
Definition at line 155 of file BoxParticleCachingPolicy.h.
References boxDimension, IpplInfo::Comm, Communicate::COMM_ANY_NODE, Dim, MsgBuffer::getBuffer(), MsgBuffer::getSize(), P_LAYOUT_CYCLE, P_SPATIAL_GHOST_TAG, regions, and NDRegion< T, Dim >::touches().
Referenced by CellParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles().
|
privateinherited |
Definition at line 118 of file ParticleLayout.h.
|
privateinherited |
Definition at line 260 of file BoxParticleCachingPolicy.h.
Referenced by BoxParticleCachingPolicy(), setAllCacheDimensions(), setCacheDimension(), updateCacheInformation(), and updateGhostParticles().
|
protected |
Definition at line 191 of file ParticleSpatialLayout.h.
Referenced by setup().
|
protected |
Definition at line 182 of file ParticleSpatialLayout.h.
Referenced by ~ParticleSpatialLayout().
|
protectedinherited |
|
protected |
Definition at line 188 of file ParticleSpatialLayout.h.
|
protected |
Definition at line 179 of file ParticleSpatialLayout.h.
Referenced by printDebug(), ParticleCashedLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleCashedLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleInteractLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleInteractLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleCashedLayout< T, Dim, Mesh >::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), and ~ParticleSpatialLayout().
|
privateinherited |
Definition at line 261 of file BoxParticleCachingPolicy.h.
Referenced by updateCacheInformation().
|
protected |
Definition at line 189 of file ParticleSpatialLayout.h.
Referenced by setup(), and ~ParticleSpatialLayout().
|
privateinherited |
Definition at line 262 of file BoxParticleCachingPolicy.h.
Referenced by updateCacheInformation(), and updateGhostParticles().
|
protected |
Definition at line 176 of file ParticleSpatialLayout.h.
Referenced by ParticleSpatialLayout(), ParticleSpatialLayout(), ParticleSpatialLayout(), ParticleSpatialLayout(), ParticleCashedLayout< T, Dim, Mesh >::rebuild_interaction_data(), ParticleCashedLayout< T, Dim, Mesh >::rebuild_interaction_data(), ParticleInteractLayout< T, Dim, Mesh >::rebuild_interaction_data(), ParticleInteractLayout< T, Dim, Mesh >::rebuild_interaction_data(), setup(), ParticleCashedLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleInteractLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleCashedLayout< T, Dim, Mesh >::update(), ParticleInteractLayout< T, Dim, Mesh >::update(), update(), and ~ParticleSpatialLayout().
|
protected |
Definition at line 187 of file ParticleSpatialLayout.h.
Referenced by setup(), ParticleCashedLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleCashedLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleInteractLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleInteractLayout< T, Dim, Mesh >::swap_ghost_particles(), and ~ParticleSpatialLayout().
|
protected |
Definition at line 186 of file ParticleSpatialLayout.h.
Referenced by setup(), and ~ParticleSpatialLayout().
|
privateinherited |
Definition at line 121 of file ParticleLayout.h.