src/IntRank2/IntGVec.cc
/* These functions allow users to fill up the electron G interactions vector
   from a GAMMA parameter set (external ASCII file). Variants enable higher
   classes such as spin systems to generate the vector when they have a 
   knowledge of spin isotope types.

	   Input		IGV	: Electron G interaction vector (this)
                                pset    : Parameter set
                                idx     : Index for G vector
                                          i.e [idx] is parameter name prefix
                                warn    : Warning level
                                                0 - no warnings
                                                1 - warn if spin isn't e- 
                                                2 - fatal if spin isn't e- 
           Note                         : If idx is negative then no
                                          parameter indicies are used
           Note                         : Since this has no idea about
                                          the number of interactions it will
                                          count through G(i) until there
                                          is none found starting with i=0     */
These functions allow users to fill up the electron G interactions vector
from a GAMMA parameter set (external ASCII file). Variants enable higher
classes such as spin systems to generate the vector when they have a
knowledge of spin isotope types.


These functions allow users to fill up the electron G interactions vector from a GAMMA parameter set ( external ASCII file ) . Variants enable higher classes such as spin systems to generate the vector when they have a knowledge of spin isotope types .
IntGVec::IntGVec(const ParameterSet& pset, int idx, int warn)
  {
  if(!setGIV(pset, idx, warn?true:false))
  if(warn)
    {
    IGVerror(3, 1);
    if(warn>1) IGVfatal(2);
    else       IGVerror(2);
    }
  }
IntGVec :: IntGVec ( const ParameterSet & pset , int idx , int warn ) { if ( ! setGIV ( pset , idx , warn ? true : false ) ) if ( warn ) { IGVerror ( 3 , 1 ) ; if ( warn > 1 ) IGVfatal ( 2 ) ; else IGVerror ( 2 ) ; } }
These functions allow users to fill up the electron G interactions vector
from a GAMMA parameter set (external ASCII file).
These functions allow users to fill up the electron G interactions vector from a GAMMA parameter set ( external ASCII file ) .