src/LSLib/DensOp.cc
// ____________________________________________________________________________ 
// i                 CLASS DENSITY OPERATOR ERROR HANDLING
// ____________________________________________________________________________
i                 CLASS DENSITY OPERATOR ERROR HANDLING
i CLASS DENSITY OPERATOR ERROR HANDLING
void densop::SIGMAerror(int eidx, int noret) const
  {
  std::cout << "\nClass Density Operator: ";
  switch(eidx)
    {
    case 0:                                                             
      std::cout << "Program Aborting....";
      break;
    case 1:                                                             
      std::cout << "Error During Construction";
      break;
    case 10:								
      std::cout << "Steady State Does Not Exist";
      break;
    default:
      std::cout << "Unknown Error (Number " << eidx << ")";
    }
  if(!noret) std::cout << ".\n";
  else       std::cout << ".";
  }
void densop :: SIGMAerror ( int eidx , int noret ) const { std :: cout << " \n " ; switch ( eidx ) { case 0 : std :: cout << " " ; break ; case 1 : std :: cout << " " ; break ; case 10 : std :: cout << " " ; break ; default : std :: cout << " " << eidx << " " ; } if ( ! noret ) std :: cout << " \n " ; else std :: cout << " " ; }
____________________________________________________________________________
i                 CLASS DENSITY OPERATOR ERROR HANDLING
____________________________________________________________________________
____________________________________________________________________________ i CLASS DENSITY OPERATOR ERROR HANDLING ____________________________________________________________________________
// Input                Sigma	: Density operator (this) //                      eidx    : Error flag     //                      noret   : Return flag  // Output               none    : Error Message Output  // (0) // (1) // (10)