ESyS-Particle  4.0.1
InteractionGroup.hpp
00001 
00002 //                                                         //
00003 // Copyright (c) 2003-2011 by The University of Queensland //
00004 // Earth Systems Science Computational Centre (ESSCC)      //
00005 // http://www.uq.edu.au/esscc                              //
00006 //                                                         //
00007 // Primary Business: Brisbane, Queensland, Australia       //
00008 // Licensed under the Open Software License version 3.0    //
00009 // http://www.opensource.org/licenses/osl-3.0.php          //
00010 //                                                         //
00012 
00013 template <class T>
00014 bool APairInteractionGroup<T>::isIn(int id1,int id2)
00015 {
00016   return (m_set.find(pair<int,int>(id1,id2))!=m_set.end());
00017 }