src/Level2/BaseDecomp.cc
/*      Input                   OD      : Operator decomposition (this)
                                eidx    : Error index
                                noret   : Flag for linefeed (0=linefeed)
        Output                  none    : Error message output
                                          Program execution stopped if fatal */
Input                   OD      : Operator decomposition (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input OD : Operator decomposition ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
void decomp::ODerror(int eidx, int noret) const
  {
  std::string hdr("Operator Basis");
  std::string msg;
  switch (eidx)
    {
    case  3:GAMMAerror(hdr,"Unknown Basis Expansion",      noret); break;
    case  4:GAMMAerror(hdr,"Access Is Out Of Range",       noret); break;
    case  5:GAMMAerror(hdr,"Cant Get Operator Name",       noret); break;
    case  6:GAMMAerror(hdr,"Cant Get Requested Operator",  noret); break;
    case  7:GAMMAerror(hdr,"Cant Get Requested Intensity", noret); break;
    case  8:GAMMAerror(hdr,"Cant Get Requested Coherence", noret); break;
    case  9:GAMMAerror(hdr,"Base Operator Does Not Exist", noret); break;
    case 10:GAMMAerror(hdr,"Liouville Dimension Mismatch", noret); break;
    default:GAMMAerror(hdr,eidx,noret); break;
    }
  }
void decomp :: ODerror ( int eidx , int noret ) const { std :: string hdr ( " " ) ; std :: string msg ; switch ( eidx ) { case 3 : GAMMAerror ( hdr , " " , noret ) ; break ; case 4 : GAMMAerror ( hdr , " " , noret ) ; break ; case 5 : GAMMAerror ( hdr , " " , noret ) ; break ; case 6 : GAMMAerror ( hdr , " " , noret ) ; break ; case 7 : GAMMAerror ( hdr , " " , noret ) ; break ; case 8 : GAMMAerror ( hdr , " " , noret ) ; break ; case 9 : GAMMAerror ( hdr , " " , noret ) ; break ; case 10 : GAMMAerror ( hdr , " " , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input                   OD      : Operator decomposition (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input OD : Operator decomposition ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
// (3) // (4) // (5) // (6) // (7) // (8) // (9) // (10)