OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
BoxParticleCachingPolicy< T, Dim, Mesh > Class Template Reference

#include <BoxParticleCachingPolicy.h>

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

Classes

struct  Offset_t
 

Public Member Functions

 BoxParticleCachingPolicy ()
 
void setCacheDimension (int d, T length)
 
void setAllCacheDimensions (T length)
 
template<class C >
void updateCacheInformation (ParticleSpatialLayout< T, Dim, Mesh, C > &PLayout)
 
template<class C >
void updateGhostParticles (IpplParticleBase< ParticleSpatialLayout< T, Dim, Mesh, C > > &PData, ParticleSpatialLayout< T, Dim, Mesh, C > &)
 

Protected Member Functions

 ~BoxParticleCachingPolicy ()
 

Private Attributes

boxDimension [Dim]
 
bool periodic [2 *Dim]
 
std::map< unsigned, std::list< std::pair< NDRegion< T, Dim >, Offset_t > > > regions
 

Detailed Description

template<class T, unsigned Dim, class Mesh>
class BoxParticleCachingPolicy< T, Dim, Mesh >

Definition at line 23 of file BoxParticleCachingPolicy.h.

Constructor & Destructor Documentation

◆ BoxParticleCachingPolicy()

template<class T , unsigned Dim, class Mesh >
BoxParticleCachingPolicy< T, Dim, Mesh >::BoxParticleCachingPolicy ( )
inline

◆ ~BoxParticleCachingPolicy()

template<class T , unsigned Dim, class Mesh >
BoxParticleCachingPolicy< T, Dim, Mesh >::~BoxParticleCachingPolicy ( )
inlineprotected

Definition at line 249 of file BoxParticleCachingPolicy.h.

Member Function Documentation

◆ setAllCacheDimensions()

template<class T , unsigned Dim, class Mesh >
void BoxParticleCachingPolicy< T, Dim, Mesh >::setAllCacheDimensions ( length)
inline

◆ setCacheDimension()

template<class T , unsigned Dim, class Mesh >
void BoxParticleCachingPolicy< T, Dim, Mesh >::setCacheDimension ( int  d,
length 
)
inline

◆ updateCacheInformation()

template<class T , unsigned Dim, class Mesh >
template<class C >
void BoxParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation ( ParticleSpatialLayout< T, Dim, Mesh, C > &  PLayout)
inline

◆ updateGhostParticles()

template<class T , unsigned Dim, class Mesh >
template<class C >
void BoxParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles ( IpplParticleBase< ParticleSpatialLayout< T, Dim, Mesh, C > > &  PData,
ParticleSpatialLayout< T, Dim, Mesh, C > &   
)
inline

Member Data Documentation

◆ boxDimension

template<class T , unsigned Dim, class Mesh >
T BoxParticleCachingPolicy< T, Dim, Mesh >::boxDimension[Dim]
private

◆ periodic

template<class T , unsigned Dim, class Mesh >
bool BoxParticleCachingPolicy< T, Dim, Mesh >::periodic[2 *Dim]
private

◆ regions

template<class T , unsigned Dim, class Mesh >
std::map<unsigned, std::list<std::pair<NDRegion<T,Dim>, Offset_t> > > BoxParticleCachingPolicy< T, Dim, Mesh >::regions
private

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