src/Gradients/sys_gradz.cc
/*  Arguments                         Constructed Spin System
    ---------           -------------------------------------------------------
      spins              An empty system with "spins" spins in a z-gradient
       sys               A duplicate of spin system sys
 
   Note that these constructors don't do much at all.  Systems in gradients
   need not only the parameters for a base spin system to describe them, they
   also need parameters for the gradient strength, number of sub-systems, etc.
   This being too much information to feed into the constructor, we do mimimal
   things in them. Rather, spin systems are usually read in from an external
   file where all their parameters are clearly written out.                  */
Arguments                         Constructed Spin System

spins              An empty system with "spins" spins in a z-gradient
sys               A duplicate of spin system sys

Note that these constructors don't do much at all.  Systems in gradients
need not only the parameters for a base spin system to describe them, they
also need parameters for the gradient strength, number of sub-systems, etc.
This being too much information to feed into the constructor, we do mimimal
things in them. Rather, spin systems are usually read in from an external
file where all their parameters are clearly written out.
Arguments Constructed Spin System spins An empty system with " spins " spins in a z - gradient sys A duplicate of spin system sys Note that these constructors don ' t do much at all . Systems in gradients need not only the parameters for a base spin system to describe them they also need parameters for the gradient strength number of sub - systems etc . This being too much information to feed into the constructor we do mimimal things in them . Rather spin systems are usually read in from an external file where all their parameters are clearly written out .
sys_gradz::sys_gradz(int spins) : spin_system(spins)
  {
  _NSS   = 0;					
  dBodm  = 0;					
  efflen = 0;					
  }
sys_gradz :: sys_gradz ( int spins ) : spin_system ( spins ) { _NSS = 0 ; dBodm = 0 ; efflen = 0 ; }
Arguments                         Constructed Spin System
Arguments Constructed Spin System
// No subsystems // No field gradient // No effective sample length