src/MultiSys/MultiExch0.cc
// ----------------------------------------------------------------------------
//  This Function Mimics Xnm Above But Just Outputs Details Of The Calculation
// ----------------------------------------------------------------------------
This Function Mimics Xnm Above But Just Outputs Details Of The Calculation
This Function Mimics Xnm Above But Just Outputs Details Of The Calculation
void Xnm(ostream& ostr, const multi_sys& sys)
  {
  string hdr("Non-Mutual Exchange Superoperator Generation");
  int len = hdr.length();
  string spcr(40-len/2, ' ');
  ostr << "\n\n" << spcr << hdr;
  ostr << "\n"   << spcr << string(len, '=');
  ostr << "\n";
  ostr << "\n\t* Liouville Space:    " << sys.LS(); 
  ostr << "\n\t* Exchange Processes: " << sys.NExProcs();
  ostr << "\n\t* System Components:  " << msys.NComps();
  for(int p=0; p<sys.NExProcs(); p++)
    {
    ostr << "\n\t* Calculating Xnmp For Process: " << p;
    Xnmp(ostr, sys, p);
    }
  }
void Xnm ( ostream & ostr , const multi_sys & sys ) { string hdr ( " " ) ; int len = hdr . length ( ) ; string spcr ( 40 - len / 2 , ' ' ) ; ostr << " \n \n " << spcr << hdr ; ostr << " \n " << spcr << string ( len , ' ' ) ; ostr << " \n " ; ostr << " \n \t " << sys . LS ( ) ; ostr << " \n \t " << sys . NExProcs ( ) ; ostr << " \n \t " << msys . NComps ( ) ; for ( int p = 0 ; p < sys . NExProcs ( ) ; p ++ ) { ostr << " \n \t " << p ; Xnmp ( ostr , sys , p ) ; } }
This Function Mimics Xnm Above But Just Outputs Details Of The Calculation
This Function Mimics Xnm Above But Just Outputs Details Of The Calculation