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

#include <CellParticleCachingPolicy.h>

Inheritance diagram for CellParticleCachingPolicy< T, Dim, Mesh >:
Collaboration diagram for CellParticleCachingPolicy< T, Dim, Mesh >:

Public Member Functions

 CellParticleCachingPolicy ()
void setCacheCellRange (int d, int length)
void setAllCacheCellRanges (int 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 > &PLayout)

Protected Member Functions

 ~CellParticleCachingPolicy ()

Private Member Functions

void setCacheDimension (int d, T length)
void setAllCacheDimensions (T length)

Private Attributes

int cells [Dim]
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 CellParticleCachingPolicy< T, Dim, Mesh >

Definition at line 30 of file CellParticleCachingPolicy.h.

Constructor & Destructor Documentation

◆ CellParticleCachingPolicy()

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

Definition at line 32 of file CellParticleCachingPolicy.h.

References cells, and Dim.

◆ ~CellParticleCachingPolicy()

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

Definition at line 70 of file CellParticleCachingPolicy.h.

Member Function Documentation

◆ setAllCacheCellRanges()

template<class T, unsigned Dim, class Mesh>
void CellParticleCachingPolicy< T, Dim, Mesh >::setAllCacheCellRanges ( int length)
inline

Definition at line 42 of file CellParticleCachingPolicy.h.

References cells, and Dim.

◆ setAllCacheDimensions()

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

Definition at line 35 of file BoxParticleCachingPolicy.h.

References boxDimension, and Dim.

◆ setCacheCellRange()

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

Definition at line 37 of file CellParticleCachingPolicy.h.

References cells.

◆ setCacheDimension()

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

◆ updateCacheInformation()

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

Definition at line 48 of file CellParticleCachingPolicy.h.

References cells, Dim, BoxParticleCachingPolicy< T, Dim, Mesh >::setCacheDimension(), and BoxParticleCachingPolicy< T, Dim, Mesh >::updateCacheInformation().

Here is the call graph for this function:

◆ updateGhostParticles()

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

Definition at line 59 of file CellParticleCachingPolicy.h.

References cells, Dim, BoxParticleCachingPolicy< T, Dim, Mesh >::setCacheDimension(), and BoxParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles().

Here is the call graph for this function:

Member Data Documentation

◆ boxDimension

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

◆ cells

template<class T, unsigned Dim, class Mesh>
int CellParticleCachingPolicy< T, Dim, Mesh >::cells[Dim]
private

◆ periodic

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

Definition at line 261 of file BoxParticleCachingPolicy.h.

Referenced by updateCacheInformation().

◆ 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
privateinherited

Definition at line 262 of file BoxParticleCachingPolicy.h.

Referenced by updateCacheInformation(), and updateGhostParticles().


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