ESyS-Particle  2.3.4
ParticleComparer.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 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.apache.org/licenses/LICENSE-2.0 //
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
esys::lsm::ParticleComparer
Definition: ParticleComparer.h:23
ParticleComparer.h
esys::lsm::ParticleComparer::Particle
TmplParticle Particle
Definition: ParticleComparer.h:25
esys::lsm::ParticleComparer::operator()
bool operator()(const Particle &p1, const Particle &p2) const
Definition: ParticleComparer.hpp:25
esys::lsm::ParticleComparer::ParticleComparer
ParticleComparer(const Particle &p)
Definition: ParticleComparer.hpp:19
esys
Definition: CheckPointable.cpp:17
ParticleComparer.hpp
esys::lsm::ParticleComparer::m_pParticle
const Particle * m_pParticle
Definition: ParticleComparer.h:33