src/IntRank2/IntG.cc
/* Here we try to use the set { Iqn, Gxx, Gyy, Gzz, GEAs, GOm }. The spin
   quantum number sets the dimension of the interaction spin Hilbert space.
   The values of Gxx, Gyy, and Gzz are unitless and used to determine the
   isotropic g factro GIso, G anisotropy GA, and G asymmetry ETA ([0,1]). The
   interaction orientation is taken from Euler angles GEAs and the external
   static field strength specified by the spin Larmor frequency GOm (Hz). We
   will allow for default settings of the orientation and Larmor frequency so
   that those arguments need not be input during construction.  Their
   default values are 0.

        Input      GI      : G factor interaction (this)
                   Gcart   : Cartesian tensor values (unitless)
                   EA      : G orientation Euler angles (radians)
                   Bo      : External field strength    (Gauss)
        Output     none    : GI interaction constructed 
	Note		   : We insist |gzz| >= |gyy| >= |gxx|               */
Here we try to use the set { Iqn, Gxx, Gyy, Gzz, GEAs, GOm }. The spin
quantum number sets the dimension of the interaction spin Hilbert space.
The values of Gxx, Gyy, and Gzz are unitless and used to determine the
isotropic g factro GIso, G anisotropy GA, and G asymmetry ETA ([0,1]). The
interaction orientation is taken from Euler angles GEAs and the external
static field strength specified by the spin Larmor frequency GOm (Hz). We
will allow for default settings of the orientation and Larmor frequency so
that those arguments need not be input during construction.  Their
default values are 0.


Here we try to use the set { Iqn Gxx Gyy Gzz GEAs GOm } . The spin quantum number sets the dimension of the interaction spin Hilbert space . The values of Gxx Gyy and Gzz are unitless and used to determine the isotropic g factro GIso G anisotropy GA and G asymmetry ETA ( [ 0 1 ] ) . The interaction orientation is taken from Euler angles GEAs and the external static field strength specified by the spin Larmor frequency GOm ( Hz ) . We will allow for default settings of the orientation and Larmor frequency so that those arguments need not be input during construction . Their default values are 0 .
IntG::IntG(const string& IsoI, const coord& GxGyGz, const EAngles& EA, double Bo)
  {
  if(!SpinCheck(IsoI)) IGfatal(2);              
  Isotope II(IsoI);                             
  if(!SpinCheck(II, true)) IGfatal(2);		
  coord GiGzGe = AisoDelzEta(GxGyGz);           
  GISO      = GiGzGe.x();                       
  DELZZ     = GiGzGe.y();			
  BoFIELD   = Bo;				
  double Iz = II.qn();                          
  double E  = GiGzGe.z();                       
  double X  = xi();                             
  IntRank2::operator=(IntRank2(Iz,X,E,EA));     
  }
IntG :: IntG ( const string & IsoI , const coord & GxGyGz , const EAngles & EA , double Bo ) { if ( ! SpinCheck ( IsoI ) ) IGfatal ( 2 ) ; Isotope II ( IsoI ) ; if ( ! SpinCheck ( II , true ) ) IGfatal ( 2 ) ; coord GiGzGe = AisoDelzEta ( GxGyGz ) ; GISO = GiGzGe . x ( ) ; DELZZ = GiGzGe . y ( ) ; BoFIELD = Bo ; double Iz = II . qn ( ) ; double E = GiGzGe . z ( ) ; double X = xi ( ) ; IntRank2 :: operator = ( IntRank2 ( Iz , X , E , EA ) ) ; }
Here we try to use the set { Iqn, Gxx, Gyy, Gzz, GEAs, GOm }.
Here we try to use the set { Iqn Gxx Gyy Gzz GEAs GOm } .
// Insure we know this isotope // Get isotope for this type // Insure we are an electron // Switch to spherical values // Set isotropic g-factor // Set anisotropic delzz // Set the applied field // Get Iz value of spin // Get asymmetry value // Get interaction constant // Use generic interaction