src/Pulses/PulTrainSCyc.cc
/* These functions allow access and production of propagators over the pulse
   train cycle steps.  They are generated from an input pulse waveform.  It
   is the waveform which actually contains individual step propagators.      */
These functions allow access and production of propagators over the pulse
train cycle steps.  They are generated from an input pulse waveform.  It
is the waveform which actually contains individual step propagators.
These functions allow access and production of propagators over the pulse train cycle steps . They are generated from an input pulse waveform . It is the waveform which actually contains individual step propagators .
HSprop PulTrainSCyc::GetU(int i) const
  {
  if(i<0) return GetUsum(i);
  if(!Usteps)                           
    {                                   
    PTSCerror(32, 1);
    PTSCerror(30, 1);
    PTSCfatality(31);
    }
  return Usteps[i];                     
  }
HSprop PulTrainSCyc :: GetU ( int i ) const { if ( i < 0 ) return GetUsum ( i ) ; if ( ! Usteps ) { PTSCerror ( 32 , 1 ) ; PTSCerror ( 30 , 1 ) ; PTSCfatality ( 31 ) ; } return Usteps [ i ] ; }
These functions allow access and production of propagators over the pulse
train cycle steps.
These functions allow access and production of propagators over the pulse train cycle steps .
// Input                PTSC	: A pulse train supercycle (this) //                      i       : Step in pulse train supercycle // Output               U       : The propagator for pulse train supercycle //                                that evolves from start of step i //                                             to the end of step i // Note				: Steps are indexed [0, nsteps-1) // Note                         : An exception is made for default //                                then the return will be the //                                propagator for the entire pulse //                                train cycle // If propagators dont exist // then end of story // Just return the requested U