src/Pulses/PulComposite.cc
/* These functions allow for access of individual waveform step Hilbert space
   propagators.  These can either be for a single step evolution or for the
   evolution from pulse start to step end.                                   */
These functions allow for access of individual waveform step Hilbert space
propagators.  These can either be for a single step evolution or for the
evolution from pulse start to step end.
These functions allow for access of individual waveform step Hilbert space propagators . These can either be for a single step evolution or for the evolution from pulse start to step end .
HSprop PulComposite::GetU(int i)
  {
  if(i<0) return GetUsum(i);		
  if(!CheckH(10, 17)) CPulfatality(16); 
  if(!CheckStep(i,40)) CPulfatality(41);
  if(!Usteps) SetUs(); 			
  return Usteps[Uindex[i]];		
  }
HSprop PulComposite :: GetU ( int i ) { if ( i < 0 ) return GetUsum ( i ) ; if ( ! CheckH ( 10 , 17 ) ) CPulfatality ( 16 ) ; if ( ! CheckStep ( i , 40 ) ) CPulfatality ( 41 ) ; if ( ! Usteps ) SetUs ( ) ; return Usteps [ Uindex [ i ] ] ; }
These functions allow for access of individual waveform step Hilbert space
propagators.
These functions allow for access of individual waveform step Hilbert space propagators .
// Input                CPul	: A composite pulse (this) //                      i	: Step in composite pulse // Output               U	: The propagator for composite pulse //				  that evolves from start of step i //                                             to the end of step i // Note				: An exception is made for default //				  then the return will be the //				  propagator for the entire pulse //				  waveform // Note				: If requested and not existing, //				  this will trigger ALL propators  //				  to be generated if possible // For negative i, return G full WF // Insure Hs exist, fatal if not // Insure step within WF // If props dont exist, build em // Just return the requested U