OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ParticleLayout< T, Dim > Class Template Reference

#include <ParticleLayout.h>

Inheritance diagram for ParticleLayout< T, Dim >:
Inheritance graph
[legend]

Public Types

enum  { Dimension = Dim }
 
enum  UpdateFlags {
  SWAP , BCONDS , NUMFLAGS , OPTDESTROY ,
  ALL
}
 
typedef T Position_t
 
typedef unsigned Index_t
 
typedef Vektor< T, DimSingleParticlePos_t
 

Public Member Functions

 ParticleLayout ()
 
 ~ParticleLayout ()
 
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

ParticleBConds< T, DimBoundConds
 
unsigned int UpdateOptions
 

Detailed Description

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

Definition at line 54 of file ParticleLayout.h.

Member Typedef Documentation

◆ Index_t

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

Definition at line 63 of file ParticleLayout.h.

◆ Position_t

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

Definition at line 62 of file ParticleLayout.h.

◆ SingleParticlePos_t

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

Definition at line 64 of file ParticleLayout.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 58 of file ParticleLayout.h.

◆ UpdateFlags

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

Definition at line 59 of file ParticleLayout.h.

Constructor & Destructor Documentation

◆ ParticleLayout()

template<class T , unsigned Dim>
ParticleLayout< T, Dim >::ParticleLayout

Definition at line 35 of file ParticleLayout.hpp.

◆ ~ParticleLayout()

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

Definition at line 73 of file ParticleLayout.h.

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 
)
inlineprotected

Definition at line 106 of file ParticleLayout.h.

References ParticleBConds< T, Dim >::apply(), Dim, Hypervolume::n, nr, and Attrib::Distribution::R.

Here is the call graph for this function:

◆ getBConds()

template<class T , unsigned Dim>
ParticleBConds<T,Dim>& ParticleLayout< T, Dim >::getBConds ( )
inline

◆ getUpdateFlag()

template<class T , unsigned Dim>
bool ParticleLayout< T, Dim >::getUpdateFlag ( UpdateFlags  f) const
inline

◆ setBConds()

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

◆ setUpdateFlag()

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

Member Data Documentation

◆ BoundConds

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

◆ UpdateOptions

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

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