OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
NoParticleCachingPolicy.h
Go to the documentation of this file.
1//
2// Class NoParticleCachingPolicy
3// Empty caching strategy that doesn't cache anything
4//
5// Please note: for the time being this class is *not* used! But since it
6// might be used in future projects, we keep this file.
7//
8// Copyright (c) 2003 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
9// All rights reserved
10//
11// This file is part of OPAL.
12//
13// OPAL is free software: you can redistribute it and/or modify
14// it under the terms of the GNU General Public License as published by
15// the Free Software Foundation, either version 3 of the License, or
16// (at your option) any later version.
17//
18// You should have received a copy of the GNU General Public License
19// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
20//
21
22#ifndef NO_PARTICLE_CACHING_POLICY
23#define NO_PARTICLE_CACHING_POLICY
24
25template <class T, unsigned Dim, class Mesh, class CachingPolicy> class ParticleSpatialLayout;
26
27//basic policy that doesn't cache any particles
28template<class T, unsigned Dim, class Mesh>
30public:
31template<class C>
34 )
35 {
36 //don't do anything...
37 }
38template<class C>
42 )
43 {
44 //don't do anything...
45 }
46protected:
48};
49
50#endif
void updateGhostParticles(IpplParticleBase< ParticleSpatialLayout< T, Dim, Mesh, C > > &, ParticleSpatialLayout< T, Dim, Mesh, C > &)
void updateCacheInformation(ParticleSpatialLayout< T, Dim, Mesh, C > &)