src/IntRank2/IntG.cc
/* These functions construct the interaction from parameters in a specified
   GAMMA parameter set. This is most useful when working with multispin systems
   that are setting up many interactions over the system using a single 
   parameter file (or parameters read from an external ASCII file.

        Input                GI      : G factor interaction
                             pset    : Parameter set
                             II      : Spin isotope type
                             idx     : Interaction index (default -1->none)
                             warn    : Flag to warn if no interaction found
        Output               none    : GI interaction constructed
                                       for spin with quantum number qn
                                       and parameters in pset
                                or   : GI interaction constructed
                                       for spin with index idxI
                                       and parameters in pset 
	Note			     : If no isotope has been set then
				       we default to I=-1/2 (e-)
        Note                         : Constructions that explicitly use
        			       isotope labels are for support of
        			       use by spin systems                   */
These functions construct the interaction from parameters in a specified
GAMMA parameter set. This is most useful when working with multispin systems
that are setting up many interactions over the system using a single
parameter file (or parameters read from an external ASCII file.


These functions construct the interaction from parameters in a specified GAMMA parameter set . This is most useful when working with multispin systems that are setting up many interactions over the system using a single parameter file ( or parameters read from an external ASCII file .
IntG::IntG(const ParameterSet& pset, int idx, int warn)
     : IntRank2()
  {
  if(!setGI(pset,idx,warn?true:false) && warn)             
    {                                           
    if(warn > 1) IGfatal(2);
    else         IGerror(2,1);
    }
  }
IntG :: IntG ( const ParameterSet & pset , int idx , int warn ) : IntRank2 ( ) { if ( ! setGI ( pset , idx , warn ? true : false ) && warn ) { if ( warn > 1 ) IGfatal ( 2 ) ; else IGerror ( 2 , 1 ) ; } }
These functions construct the interaction from parameters in a specified
GAMMA parameter set.
These functions construct the interaction from parameters in a specified GAMMA parameter set .
// Try & set interaction // and warn if troubles