|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <ParticleAmrLayout.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 | |
| ParticleAmrLayout () | |
| void | setFinestLevel (int finestLevel) |
| void | setMaxLevel (int maxLevel) |
| virtual void | setBoundingBox (double dh)=0 |
| 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) |
Protected Attributes | |
| int | finestLevel_m |
| Current finest level of simluation. | |
| int | maxLevel_m |
| Maximum level allowed. | |
Private Attributes | |
| ParticleBConds< T, Dim > | BoundConds |
| unsigned int | UpdateOptions |
Definition at line 27 of file ParticleAmrLayout.h.
| typedef ParticleLayout<T,Dim>::Index_t ParticleAmrLayout< T, Dim >::Index_t |
Definition at line 35 of file ParticleAmrLayout.h.
| typedef pair_t* ParticleAmrLayout< T, Dim >::pair_iterator |
Definition at line 32 of file ParticleAmrLayout.h.
| typedef int ParticleAmrLayout< T, Dim >::pair_t |
Definition at line 31 of file ParticleAmrLayout.h.
| typedef ParticleAttrib<Index_t> ParticleAmrLayout< T, Dim >::ParticleIndex_t |
Definition at line 39 of file ParticleAmrLayout.h.
| typedef ParticleAttrib<SingleParticlePos_t> ParticleAmrLayout< T, Dim >::ParticlePos_t |
Definition at line 38 of file ParticleAmrLayout.h.
|
inherited |
Definition at line 62 of file ParticleLayout.h.
| typedef ParticleLayout<T,Dim>::SingleParticlePos_t ParticleAmrLayout< T, Dim >::SingleParticlePos_t |
Definition at line 34 of file ParticleAmrLayout.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.
| ParticleAmrLayout< T, Dim >::ParticleAmrLayout | ( | ) |
Definition at line 72 of file ParticleAmrLayout.h.
References finestLevel_m, and maxLevel_m.
Referenced by BoxLibLayout< T, Dim >::BoxLibLayout(), BoxLibLayout< T, Dim >::BoxLibLayout(), BoxLibLayout< T, Dim >::BoxLibLayout(), BoxLibLayout< T, Dim >::BoxLibLayout(), and BoxLibLayout< T, Dim >::BoxLibLayout().
|
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().
|
inlineinherited |
|
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().
|
inlineinherited |
Definition at line 94 of file ParticleLayout.h.
|
pure virtual |
Set the computational domain of the base level. E.g. the computational domain is [-1, 1]^3. With dh = 4, we get a new domain of [-1.04, 1.04]^3.
| dh | is the mesh enlargement in [%] |
Implemented in BoxLibLayout< T, Dim >, and BoxLibLayout< double, 3 >.
| void ParticleAmrLayout< T, Dim >::setFinestLevel | ( | int | finestLevel | ) |
| finestLevel | of current simulation state |
Definition at line 79 of file ParticleAmrLayout.h.
References finestLevel_m.
| void ParticleAmrLayout< T, Dim >::setMaxLevel | ( | int | maxLevel | ) |
| maxLevel | allowed during simulation run |
Definition at line 85 of file ParticleAmrLayout.h.
References maxLevel_m.
|
inlineinherited |
Definition at line 76 of file ParticleLayout.h.
Referenced by ParticleLayout(), and IpplParticleBase< Layout_t >::setUpdateFlag().
|
privateinherited |
Definition at line 118 of file ParticleLayout.h.
|
protected |
Current finest level of simluation.
Definition at line 63 of file ParticleAmrLayout.h.
Referenced by BoxLibLayout< T, Dim >::finestLevel(), ParticleAmrLayout(), and setFinestLevel().
|
protected |
Maximum level allowed.
Definition at line 64 of file ParticleAmrLayout.h.
Referenced by BoxLibLayout< T, Dim >::BoxLibLayout(), BoxLibLayout< T, Dim >::LevelDefined(), BoxLibLayout< T, Dim >::maxLevel(), ParticleAmrLayout(), and setMaxLevel().
|
privateinherited |
Definition at line 121 of file ParticleLayout.h.