OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
ParticleUniformLayout< T, Dim > Class Template Reference

#include <ParticleUniformLayout.h>

Inheritance diagram for ParticleUniformLayout< T, Dim >:
Collaboration diagram for ParticleUniformLayout< T, Dim >:

Public Types

typedef int pair_t
typedef pair_tpair_iterator
typedef ParticleLayout< T, Dim >::SingleParticlePos_t SingleParticlePos_t
typedef ParticleLayout< T, Dim >::Index_t Index_t
typedef ParticleAttrib< SingleParticlePos_tParticlePos_t
typedef ParticleAttrib< Index_tParticleIndex_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, DimBoundConds
unsigned int UpdateOptions

Detailed Description

template<class T, unsigned Dim>
class ParticleUniformLayout< T, Dim >

Definition at line 39 of file ParticleUniformLayout.h.

Member Typedef Documentation

◆ Index_t

template<class T, unsigned Dim>
typedef ParticleLayout<T,Dim>::Index_t ParticleUniformLayout< T, Dim >::Index_t

Definition at line 48 of file ParticleUniformLayout.h.

◆ pair_iterator

template<class T, unsigned Dim>
typedef pair_t* ParticleUniformLayout< T, Dim >::pair_iterator

Definition at line 44 of file ParticleUniformLayout.h.

◆ pair_t

template<class T, unsigned Dim>
typedef int ParticleUniformLayout< T, Dim >::pair_t

Definition at line 43 of file ParticleUniformLayout.h.

◆ ParticleIndex_t

template<class T, unsigned Dim>
typedef ParticleAttrib<Index_t> ParticleUniformLayout< T, Dim >::ParticleIndex_t

Definition at line 52 of file ParticleUniformLayout.h.

◆ ParticlePos_t

template<class T, unsigned Dim>
typedef ParticleAttrib<SingleParticlePos_t> ParticleUniformLayout< T, Dim >::ParticlePos_t

Definition at line 51 of file ParticleUniformLayout.h.

◆ Position_t

template<class T, unsigned Dim>
typedef T ParticleLayout< T, Dim >::Position_t
inherited

Definition at line 62 of file ParticleLayout.h.

◆ SingleParticlePos_t

template<class T, unsigned Dim>
typedef ParticleLayout<T,Dim>::SingleParticlePos_t ParticleUniformLayout< T, Dim >::SingleParticlePos_t

Definition at line 47 of file ParticleUniformLayout.h.

Member Enumeration Documentation

◆ anonymous enum

template<class T, unsigned Dim>
anonymous enum
inherited
Enumerator
Dimension 

Definition at line 58 of file ParticleLayout.h.

◆ UpdateFlags

template<class T, unsigned Dim>
enum ParticleLayout::UpdateFlags
inherited
Enumerator
SWAP 
BCONDS 
NUMFLAGS 
OPTDESTROY 
ALL 

Definition at line 59 of file ParticleLayout.h.

Constructor & Destructor Documentation

◆ ParticleUniformLayout()

template<class T, unsigned Dim>
ParticleUniformLayout< T, Dim >::ParticleUniformLayout ( )

Definition at line 39 of file ParticleUniformLayout.hpp.

References Change, IpplInfo::getNodes(), LocalSize, and MsgCount.

Referenced by update().

Here is the call graph for this function:

◆ ~ParticleUniformLayout()

template<class T, unsigned Dim>
ParticleUniformLayout< T, Dim >::~ParticleUniformLayout ( )

Definition at line 51 of file ParticleUniformLayout.hpp.

References Change, LocalSize, and MsgCount.

Member Function Documentation

◆ apply_bconds()

template<class T, unsigned Dim>
template<class PPT, class NDI>
void ParticleLayout< T, Dim >::apply_bconds ( unsigned n,
PPT & R,
const ParticleBConds< T, Dim > & bcs,
const NDI & nr )
inlineprotectedinherited

◆ getBConds()

◆ getUpdateFlag()

◆ printDebug()

template<class T, unsigned Dim>
void ParticleUniformLayout< T, Dim >::printDebug ( Inform & o)

Definition at line 313 of file ParticleUniformLayout.hpp.

◆ setBConds()

template<class T, unsigned Dim>
void ParticleLayout< T, Dim >::setBConds ( const ParticleBConds< T, Dim > & bc)
inlineinherited

Definition at line 94 of file ParticleLayout.h.

◆ setUpdateFlag()

template<class T, unsigned Dim>
void ParticleLayout< T, Dim >::setUpdateFlag ( UpdateFlags f,
bool val )
inlineinherited

Definition at line 76 of file ParticleLayout.h.

Referenced by ParticleLayout(), and IpplParticleBase< Layout_t >::setUpdateFlag().

◆ update()

template<class T, unsigned Dim>
void ParticleUniformLayout< T, Dim >::update ( IpplParticleBase< ParticleUniformLayout< T, Dim > > & p,
const ParticleAttrib< char > * canSwap = 0 )

Member Data Documentation

◆ BoundConds

template<class T, unsigned Dim>
ParticleBConds<T,Dim> ParticleLayout< T, Dim >::BoundConds
privateinherited

Definition at line 118 of file ParticleLayout.h.

◆ Change

template<class T, unsigned Dim>
int* ParticleUniformLayout< T, Dim >::Change
private

Definition at line 80 of file ParticleUniformLayout.h.

Referenced by ParticleUniformLayout(), update(), and ~ParticleUniformLayout().

◆ LocalSize

template<class T, unsigned Dim>
int* ParticleUniformLayout< T, Dim >::LocalSize
private

Definition at line 79 of file ParticleUniformLayout.h.

Referenced by ParticleUniformLayout(), update(), and ~ParticleUniformLayout().

◆ MsgCount

template<class T, unsigned Dim>
int* ParticleUniformLayout< T, Dim >::MsgCount
private

Definition at line 81 of file ParticleUniformLayout.h.

Referenced by ParticleUniformLayout(), update(), and ~ParticleUniformLayout().

◆ UpdateOptions

template<class T, unsigned Dim>
unsigned int ParticleLayout< T, Dim >::UpdateOptions
privateinherited

Definition at line 121 of file ParticleLayout.h.


The documentation for this class was generated from the following files: