ESyS-Particle  2.3.4
InteractionGroup.hpp
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 template <class T>
14 bool APairInteractionGroup<T>::isIn(int id1,int id2)
15 {
16  return (m_set.find(pair<int,int>(id1,id2))!=m_set.end());
17 }
APairInteractionGroup::isIn
bool isIn(int, int)
Definition: InteractionGroup.hpp:14