|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <ParticleUniformLayout.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 |
| enum | { Dimension = Dim } |
| enum | UpdateFlags { SWAP , BCONDS , NUMFLAGS , OPTDESTROY , ALL } |
| typedef T | Position_t |
Public Member Functions | |
| ParticleUniformLayout () | |
| ~ParticleUniformLayout () | |
| void | update (IpplParticleBase< ParticleUniformLayout< T, Dim > > &p, const ParticleAttrib< char > *canSwap=0) |
| void | printDebug (Inform &) |
| void | setUpdateFlag (UpdateFlags f, bool val) |
| bool | getUpdateFlag (UpdateFlags f) const |
| ParticleBConds< T, Dim > & | getBConds () |
| void | setBConds (const ParticleBConds< T, Dim > &bc) |
Protected Member Functions | |
| template<class PPT , class NDI > | |
| void | apply_bconds (unsigned n, PPT &R, const ParticleBConds< T, Dim > &bcs, const NDI &nr) |
Private Attributes | |
| int * | LocalSize |
| int * | Change |
| int * | MsgCount |
| ParticleBConds< T, Dim > | BoundConds |
| unsigned int | UpdateOptions |
Definition at line 39 of file ParticleUniformLayout.h.
| typedef ParticleLayout<T,Dim>::Index_t ParticleUniformLayout< T, Dim >::Index_t |
Definition at line 48 of file ParticleUniformLayout.h.
| typedef pair_t* ParticleUniformLayout< T, Dim >::pair_iterator |
Definition at line 44 of file ParticleUniformLayout.h.
| typedef int ParticleUniformLayout< T, Dim >::pair_t |
Definition at line 43 of file ParticleUniformLayout.h.
| typedef ParticleAttrib<Index_t> ParticleUniformLayout< T, Dim >::ParticleIndex_t |
Definition at line 52 of file ParticleUniformLayout.h.
| typedef ParticleAttrib<SingleParticlePos_t> ParticleUniformLayout< T, Dim >::ParticlePos_t |
Definition at line 51 of file ParticleUniformLayout.h.
|
inherited |
Definition at line 62 of file ParticleLayout.h.
| typedef ParticleLayout<T,Dim>::SingleParticlePos_t ParticleUniformLayout< T, Dim >::SingleParticlePos_t |
Definition at line 47 of file ParticleUniformLayout.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.
| ParticleUniformLayout< T, Dim >::ParticleUniformLayout |
Definition at line 39 of file ParticleUniformLayout.hpp.
References IpplInfo::getNodes().

| ParticleUniformLayout< T, Dim >::~ParticleUniformLayout |
Definition at line 51 of file ParticleUniformLayout.hpp.
|
inlineprotectedinherited |
Definition at line 106 of file ParticleLayout.h.
References ParticleBConds< T, Dim >::apply(), Dim, Hypervolume::n, nr, and Attrib::Distribution::R.

|
inlineinherited |
Definition at line 91 of file ParticleLayout.h.
References ParticleLayout< T, Dim >::BoundConds.
Referenced by IpplParticleBase< PLayout >::getBConds(), and BoxParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation().
|
inlineinherited |
Definition at line 86 of file ParticleLayout.h.
References ParticleLayout< T, Dim >::ALL, and ParticleLayout< T, Dim >::UpdateOptions.
Referenced by IpplParticleBase< PLayout >::getUpdateFlag(), and BoxParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation().
| void ParticleUniformLayout< T, Dim >::printDebug | ( | Inform & | o | ) |
Definition at line 313 of file ParticleUniformLayout.hpp.
|
inlineinherited |
Definition at line 94 of file ParticleLayout.h.
References ParticleLayout< T, Dim >::BoundConds.
Referenced by IpplParticleBase< PLayout >::setBConds().
|
inlineinherited |
Definition at line 76 of file ParticleLayout.h.
References ParticleLayout< T, Dim >::ALL, and ParticleLayout< T, Dim >::UpdateOptions.
Referenced by IpplParticleBase< PLayout >::setUpdateFlag().
| void ParticleUniformLayout< T, Dim >::update | ( | IpplParticleBase< ParticleUniformLayout< T, Dim > > & | p, |
| const ParticleAttrib< char > * | canSwap = 0 |
||
| ) |
Definition at line 65 of file ParticleUniformLayout.hpp.
References IpplInfo::Comm, Communicate::COMM_ANY_NODE, Message::get(), IpplInfo::getNodes(), IpplInfo::myNode(), TagMaker::next_tag(), P_LAYOUT_CYCLE, P_WEIGHTED_LAYOUT_TAG, P_WEIGHTED_RETURN_TAG, P_WEIGHTED_TRANSFER_TAG, Message::put(), Communicate::receive_block(), and Communicate::send().

|
privateinherited |
Definition at line 118 of file ParticleLayout.h.
Referenced by ParticleLayout< T, Dim >::getBConds(), and ParticleLayout< T, Dim >::setBConds().
|
private |
Definition at line 80 of file ParticleUniformLayout.h.
|
private |
Definition at line 79 of file ParticleUniformLayout.h.
|
private |
Definition at line 81 of file ParticleUniformLayout.h.
|
privateinherited |
Definition at line 121 of file ParticleLayout.h.
Referenced by ParticleLayout< T, Dim >::getUpdateFlag(), and ParticleLayout< T, Dim >::setUpdateFlag().