src/Pulses/PulTrainSCyc.cc
void PulTrainSCyc::PTSCerror(int eidx, int noret) const
 
        // Input                PTSC	: Pulse Train (this)
        //                      eidx    : Error flag
        //                      noret   : Return flag 
        // Output               none    : Error Message Output
 

  {
  std::cout << "\nClass Pulse Train Supercycle: ";
  switch(eidx)
    {
    case 0:								// (0)
      std::cout << "Program Aborting....";
      break;
    case 1:								// (1)
      std::cout << "Error During Construction";
      break;
    case 6:								// (6)
      std::cout << "Build Step Propagators Before Requesting Propagators";
      break;
    case 30:								// (30)
      std::cout << "Step Hamiltonian Access, Hamiltonian Does Not Exist";
      break;
    case 31:								// (31)
      std::cout << "Build Step Hamiltonians Before Their Access";
      break;
    case 32:								// (32)
      std::cout << "Step Propagator Access, Propagator Does Not Exist";
      break;
    case 52:								// (52)
      std::cout << "Step Propagator Access, Superop. Propagator Does Not Exist";
      break;
    default:
      std::cout << "Unknown Error (Number " << eidx << ")";
    }
  if(!noret) std::cout << ".\n";
  else       std::cout << ".";
  }
// ____________________________________________________________________________
// i                 CLASS PULSE TRAIN SUPERCYCLE ERROR HANDLING
// ____________________________________________________________________________
i                 CLASS PULSE TRAIN SUPERCYCLE ERROR HANDLING
i CLASS PULSE TRAIN SUPERCYCLE ERROR HANDLING
void PulTrainSCyc::PTSCerror(int eidx, int noret) const
  {
  std::cout << "\nClass Pulse Train Supercycle: ";
  switch(eidx)
    {
    case 0:								
      std::cout << "Program Aborting....";
      break;
    case 1:								
      std::cout << "Error During Construction";
      break;
    case 6:								
      std::cout << "Build Step Propagators Before Requesting Propagators";
      break;
    case 30:								
      std::cout << "Step Hamiltonian Access, Hamiltonian Does Not Exist";
      break;
    case 31:								
      std::cout << "Build Step Hamiltonians Before Their Access";
      break;
    case 32:								
      std::cout << "Step Propagator Access, Propagator Does Not Exist";
      break;
    case 52:								
      std::cout << "Step Propagator Access, Superop. Propagator Does Not Exist";
      break;
    default:
      std::cout << "Unknown Error (Number " << eidx << ")";
    }
  if(!noret) std::cout << ".\n";
  else       std::cout << ".";
  }
void PulTrainSCyc :: PTSCerror ( int eidx , int noret ) const { std :: cout << " \n " ; switch ( eidx ) { case 0 : std :: cout << " " ; break ; case 1 : std :: cout << " " ; break ; case 6 : std :: cout << " " ; break ; case 30 : std :: cout << " " ; break ; case 31 : std :: cout << " " ; break ; case 32 : std :: cout << " " ; break ; case 52 : std :: cout << " " ; break ; default : std :: cout << " " << eidx << " " ; } if ( ! noret ) std :: cout << " \n " ; else std :: cout << " " ; }
____________________________________________________________________________
i                 CLASS PULSE TRAIN SUPERCYCLE ERROR HANDLING
____________________________________________________________________________
____________________________________________________________________________ i CLASS PULSE TRAIN SUPERCYCLE ERROR HANDLING ____________________________________________________________________________
// Input                PTSC	: Pulse Train (this) //                      eidx    : Error flag //                      noret   : Return flag  // Output               none    : Error Message Output // (0) // (1) // (6) // (30) // (31) // (32) // (52)