src/MultiSys/ExProcess.cc
// Input                pro     : A process
//			ic1     : Component index 1
//			ic2     : Component index 2
// Output		TF	: True if components are
//				  involved in the exchange process
Input                pro     : A process
ic1     : Component index 1
ic2     : Component index 2
Output         TF      : True if components are
involved in the exchange process
Input pro : A process ic1 : Component index 1 ic2 : Component index 2 Output TF : True if components are involved in the exchange process
bool ExchProc::mixes(int comp1, int comp2) const
  {
  if(CompInLHS(comp1) && CompInRHS(comp2))	
    { return mapped(comp1, comp2); } 		
  if(CompInLHS(comp2) && CompInRHS(comp1))	
    { return mapped(comp1, comp2); } 		
  return false;
  }
bool ExchProc :: mixes ( int comp1 , int comp2 ) const { if ( CompInLHS ( comp1 ) && CompInRHS ( comp2 ) ) { return mapped ( comp1 , comp2 ) ; } if ( CompInLHS ( comp2 ) && CompInRHS ( comp1 ) ) { return mapped ( comp1 , comp2 ) ; } return false ; }
Input                pro     : A process
ic1     : Component index 1
ic2     : Component index 2
Output         TF      : True if components are
involved in the exchange process
Input pro : A process ic1 : Component index 1 ic2 : Component index 2 Output TF : True if components are involved in the exchange process
// If comp1 in LHS & comp2 in RHS // see if any spins exchange // If comp2 in LHS & comp1 in RHS // see if any spins exchange