src/Pulses/PulTrainSCyc.cc
// ____________________________________________________________________________
// iii              CLASS PULSE TRAIN SUPERCYCLE COPY FACILITATORS 
// ____________________________________________________________________________
iii              CLASS PULSE TRAIN SUPERCYCLE COPY FACILITATORS
iii CLASS PULSE TRAIN SUPERCYCLE COPY FACILITATORS
void PulTrainSCyc::copyUprops(const PulTrainSCyc& PTSC1)
  {
  Usteps = NULL; 
  Usums = NULL;
  Ucount = 0;
  if(PTSC1.Usteps)			
    {
    Usteps = new HSprop[SCycnosteps];	
    for(int i=0; i<SCycnosteps; i++)	
      Usteps[i] = PTSC1.Usteps[i];
    }
  if(PTSC1.Usums)			
    {
    Usums = new HSprop[SCycnosteps];	
    for(int i=0; i<SCycnosteps; i++)	
      Usums[i] = PTSC1.Usums[i];
    }
  }
void PulTrainSCyc :: copyUprops ( const PulTrainSCyc & PTSC1 ) { Usteps = NULL ; Usums = NULL ; Ucount = 0 ; if ( PTSC1 . Usteps ) { Usteps = new HSprop [ SCycnosteps ] ; for ( int i = 0 ; i < SCycnosteps ; i ++ ) Usteps [ i ] = PTSC1 . Usteps [ i ] ; } if ( PTSC1 . Usums ) { Usums = new HSprop [ SCycnosteps ] ; for ( int i = 0 ; i < SCycnosteps ; i ++ ) Usums [ i ] = PTSC1 . Usums [ i ] ; } }
____________________________________________________________________________
iii              CLASS PULSE TRAIN SUPERCYCLE COPY FACILITATORS
____________________________________________________________________________
____________________________________________________________________________ iii CLASS PULSE TRAIN SUPERCYCLE COPY FACILITATORS ____________________________________________________________________________
// Input	PTSC	: A pulse train supercycle (this) //		PTSC1    : A second PulTrainSCyc // Output	none	: PTSC step Hilbert propagators //			  are copied from PTSC1 // Note			: Assumed array Usteps is empty // If the propagators exist //	Allocate space for them //	Copy all of the propagators // If sum propagators exist //	Allocate space for them //	Copy all of the propagators