src/Level1/ExProcessM.cc
// The first function just checks the boundaries of the exchange components 
// The 2nd function insures the exchange process integrity
The first function just checks the boundaries of the exchange components
The 2nd function insures the exchange process integrity
The first function just checks the boundaries of the exchange components The 2nd function insures the exchange process integrity
bool ExchProcM::CCheck(int comp, bool warn) const
  {
  if(comp<0 || comp>=(int)Spins.size()) 	
    {						
    if(warn) XPerror(10, 1);
    return false;
    }
  return true;
  }
bool ExchProcM :: CCheck ( int comp , bool warn ) const { if ( comp < 0 || comp >= ( int ) Spins . size ( ) ) { if ( warn ) XPerror ( 10 , 1 ) ; return false ; } return true ; }
The first function just checks the boundaries of the exchange components
The 2nd function insures the exchange process integrity
The first function just checks the boundaries of the exchange components The 2nd function insures the exchange process integrity
// Check that the component // actually exists