src/Bloch/BlochMx.cc
// Input                G       : Bloch matrix (this)
//                      eidx    : Error index
//			pname	: Additional error message
// Output               none    : Error message output
//                                Program execution stopped
Input                G       : Bloch matrix (this)
eidx    : Error index
pname   : Additional error message
Output               none    : Error message output
Program execution stopped
Input G : Bloch matrix ( this ) eidx : Error index pname : Additional error message Output none : Error message output Program execution stopped
void BlochMx::BMxerror(int eidx, int noret) const
  {
  std::string hdr("Bloch Matrix");
  std::string msg;
  switch (eidx)
    {
    case 10: msg = std::string("Rectangular Array Discovered");		
             GAMMAerror(hdr,msg,noret);  break;
    case 11: msg = std::string("These Arrays Must Be Square");		
             GAMMAerror(hdr,msg,noret);  break;
    case 12: msg = std::string("Array Dimensioning Problem");		
             GAMMAerror(hdr,msg,noret);  break;
    case 13: msg = std::string("Array Not 3N x 3N with N=0,1,2,...");	
             GAMMAerror(hdr,msg,noret);  break;
    case 14: msg = std::string("Problems During Assigment From Matrix");
             GAMMAerror(hdr,msg,noret);  break;
    default: GAMMAerror(hdr, eidx, noret); break;			
    }
  }
void BlochMx :: BMxerror ( int eidx , int noret ) const { std :: string hdr ( " " ) ; std :: string msg ; switch ( eidx ) { case 10 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 11 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 12 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 13 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 14 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input                G       : Bloch matrix (this)
eidx    : Error index
pname   : Additional error message
Output               none    : Error message output
Program execution stopped
Input G : Bloch matrix ( this ) eidx : Error index pname : Additional error message Output none : Error message output Program execution stopped
// (10) // (11) // (12) // (13) // (14) // (-1)