ESyS-Particle  2.3.2
ParticleComparer.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 
14 #ifndef ESYS_LSMPARTICLECOMPARER_H
15 #define ESYS_LSMPARTICLECOMPARER_H
16 
17 namespace esys
18 {
19  namespace lsm
20  {
21  template <typename TmplParticle>
23  {
24  public:
25  typedef TmplParticle Particle;
26  ParticleComparer(const Particle &p);
27 
28  bool operator()(const Particle &p1, const Particle &p2) const;
29 
30  bool operator()(const Particle *p1, const Particle *p2) const;
31 
32  private:
34  };
35  }
36 }
37 
39 
40 #endif