OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
NoParticleCachingPolicy.h
Go to the documentation of this file.
1 #ifndef NO_PARTICLE_CACHING_POLICY
2 #define NO_PARTICLE_CACHING_POLICY
3 
4 /*
5  *
6  * Empty caching strategy that doesn't cache anything
7  *
8  */
9 
10 template <class T, unsigned Dim, class Mesh, class CachingPolicy> class ParticleSpatialLayout;
11 
12 //basic policy that doesn't cache any particles
13 template<class T, unsigned Dim, class Mesh>
15 public:
16 template<class C>
19  )
20  {
21  //don't do anything...
22  }
23 template<class C>
27  )
28  {
29  //don't do anything...
30  }
31 protected:
33 };
34 
35 #endif
void updateGhostParticles(IpplParticleBase< ParticleSpatialLayout< T, Dim, Mesh, C > > &PData, ParticleSpatialLayout< T, Dim, Mesh, C > &PLayout)
void updateCacheInformation(ParticleSpatialLayout< T, Dim, Mesh, C > &PLayout)