src/Pulses/PulComposite.cc
/* These functions allow for access of individual waveform step Liouville space
   propagators.  These will be for the evolution pulse start to step end.    */
These functions allow for access of individual waveform step Liouville space
propagators.  These will be for the evolution pulse start to step end.
These functions allow for access of individual waveform step Liouville space propagators . These will be for the evolution pulse start to step end .
LSprop PulComposite::GetG(int i)
  {
  if(i<0) return GetGsum(i);		
  if(!CheckH(10, 22))  CPulfatality(21);
  if(!CheckStep(i,40)) CPulfatality(41);
  if(!Gsteps) SetGs();			
  return Gsteps[Uindex[i]];		
  }
LSprop PulComposite :: GetG ( int i ) { if ( i < 0 ) return GetGsum ( i ) ; if ( ! CheckH ( 10 , 22 ) ) CPulfatality ( 21 ) ; if ( ! CheckStep ( i , 40 ) ) CPulfatality ( 41 ) ; if ( ! Gsteps ) SetGs ( ) ; return Gsteps [ Uindex [ i ] ] ; }
These functions allow for access of individual waveform step Liouville space
propagators.
These functions allow for access of individual waveform step Liouville space propagators .
// Input                CPul	: A composite pulse (this) //                      i	: Step in composite pulse //                                Default is last superpropagator - //                                i.e. for the entire composite pulse // Output               G	: Superpropagator for composite pulse //                                that evolves from the start of //                                the waveform to the end of step i // Note				: Assumes relaxation operator set // Return full WF prop if i negative // Insure Hs exist, fatal if not // Insure step within WF // Build propagators if needed // Just return the requested G