src/Level2/RelaxBas.cc
/* The following error messages use the defaults set in the Gutils package
 
                Case                          Error Message
 
                (1)                     Problems With File PNAME
                (2)                     Cannot Read Parameter PNAME
                default                 Unknown Error - PNAME                */
The following error messages use the defaults set in the Gutils package
Case                          Error Message

(1)                     Problems With File PNAME
(2)                     Cannot Read Parameter PNAME
default                 Unknown Error - PNAME
The following error messages use the defaults set in the Gutils package Case Error Message ( 1 ) Problems With File PNAME ( 2 ) Cannot Read Parameter PNAME default Unknown Error - PNAME
void RBasic::RBasErr(int   eidx, int noret) const
  {
  std::string hdr("Basic Relaxation");
  std::string msg;
  switch (eidx)
    {
    case 40: GAMMAerror(hdr,"Negative Relaxation Rate!",        noret);
             break;                              
    case 41: GAMMAerror(hdr,"Non-Positive Relaxation Time!",    noret);
             break;                              
    case 42: GAMMAerror(hdr,"Negative Line Width Disallowed",   noret);
             break;                              
    case 50: GAMMAerror(hdr,"Accessed Spin Index Out of Range", noret);
             break;                              
    case 59: GAMMAerror(hdr,"Accessed Spin Out Of Range!",      noret);
             break;                              
    case 60: GAMMAerror(hdr,"Spin Size MisMatch!",              noret);
             break;                              
    case 61: GAMMAerror(hdr,"Incompatible Spin System",         noret);
             break;                              
    case 62: GAMMAerror(hdr,"Cannot Generate Iz Coefficients",  noret);
             break;                              
    case 63: GAMMAerror(hdr,"Cannot Set Up Iz Spin Operators",  noret);
             break;                              
    case 64: GAMMAerror(hdr,"Cannot Perform System Evolution",  noret);
             break;                              
    case 65: GAMMAerror(hdr,"Cannot Perform Acquisition",       noret);
             break;                              
    case 70: GAMMAerror(hdr,"Hilbert Space Dimension MisMatch!",noret);
             break;                              
    case 71: GAMMAerror(hdr,"Incompatible Density Operator",    noret);
             break;                              
    case 72: GAMMAerror(hdr,"Cannot Make Iz Inf. Coefficients", noret);
             break;                              
    case 80: GAMMAerror(hdr,"Problems Setting The Hamiltonian", noret);
             break;                              
    case 81: GAMMAerror(hdr,"Problems Setting Detection Op.",   noret);
             break;                              
    case 82: GAMMAerror(hdr,"Must First Specify A Spin System", noret);
             break;                              
    case 83: GAMMAerror(hdr,"Incompatible General Operator",    noret);
             break;                              
    case 85: GAMMAerror(hdr,"Problems Setting Sigma Infinte",   noret);
             break;                              
    case 90: GAMMAerror(hdr,"Problems Setting Spin System", noret);
             break;                              
    default: GAMMAerror(hdr, eidx, noret); break;
    }
  if(!noret) std::cout << "\n";
  }
void RBasic :: RBasErr ( int eidx , int noret ) const { std :: string hdr ( " " ) ; std :: string msg ; switch ( eidx ) { case 40 : GAMMAerror ( hdr , " " , noret ) ; break ; case 41 : GAMMAerror ( hdr , " " , noret ) ; break ; case 42 : GAMMAerror ( hdr , " " , noret ) ; break ; case 50 : GAMMAerror ( hdr , " " , noret ) ; break ; case 59 : GAMMAerror ( hdr , " " , noret ) ; break ; case 60 : GAMMAerror ( hdr , " " , noret ) ; break ; case 61 : GAMMAerror ( hdr , " " , noret ) ; break ; case 62 : GAMMAerror ( hdr , " " , noret ) ; break ; case 63 : GAMMAerror ( hdr , " " , noret ) ; break ; case 64 : GAMMAerror ( hdr , " " , noret ) ; break ; case 65 : GAMMAerror ( hdr , " " , noret ) ; break ; case 70 : GAMMAerror ( hdr , " " , noret ) ; break ; case 71 : GAMMAerror ( hdr , " " , noret ) ; break ; case 72 : GAMMAerror ( hdr , " " , noret ) ; break ; case 80 : GAMMAerror ( hdr , " " , noret ) ; break ; case 81 : GAMMAerror ( hdr , " " , noret ) ; break ; case 82 : GAMMAerror ( hdr , " " , noret ) ; break ; case 83 : GAMMAerror ( hdr , " " , noret ) ; break ; case 85 : GAMMAerror ( hdr , " " , noret ) ; break ; case 90 : GAMMAerror ( hdr , " " , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } if ( ! noret ) std :: cout << " \n " ; }
The following error messages use the defaults set in the Gutils package
Case                          Error Message
The following error messages use the defaults set in the Gutils package Case Error Message
//                        (40) //                        (41) //                        (42) //                        (50) //                        (59) //                        (60) //                        (61) //                        (62) //                        (63) //                        (64) //                        (65) //                        (70) //                        (71) //                        (72) //                        (80) //                        (81) //                        (82) //                        (83) //                        (85) //                        (90) // Usually Unknown Error  (-1)