src/IntRank2/IntHF.cc
/* These functions will try and get all the parameters required to define a
   hyperfine interaction: { Iqn,Sqn,A,Adelz,eta,alpha,beta,gamma }. Although
   the 1st function is the generic means to accomplishing this, we will
   immediately branch into two categories: 1.) Defining the interaction with a
   single interaction index & 2.) Defining the interaction with two spin
   indices.

           Input        HF      : Hyperfine interaction (this)
                        pset    : A parameter set
                        Iqn     : 1st spin quantum number
                        Sqn     : 2nd spin quantum number
                        hfc	: Isotropic hyperfine coupling (Gauss)
                        hfa     : Hyperfine anisotropy value (Gauss)
                        aeta    : Hyperfine asymmetry value [0,1]
                        EA      : Euler angles for orientation (radians)
                        idxI    : 1st spin or interaction index
                        idxS    : 2nd spin index
                        warn    : Warning level
                                    0 - no warnings
                                    1 - warnings
                                   >1 - fatal warnings
       Output           TF      : True if hyperfine interaction defined
                                  Argument values are set                    */
These functions will try and get all the parameters required to define a
hyperfine interaction: { Iqn,Sqn,A,Adelz,eta,alpha,beta,gamma }. Although
the 1st function is the generic means to accomplishing this, we will
immediately branch into two categories: 1.) Defining the interaction with a
single interaction index & 2.) Defining the interaction with two spin
indices.


These functions will try and get all the parameters required to define a hyperfine interaction : { Iqn Sqn A Adelz eta alpha beta gamma } . Although the 1st function is the generic means to accomplishing this we will immediately branch into two categories : 1 . ) Defining the interaction with a single interaction index & 2 . ) Defining the interaction with two spin indices .
bool IntHF::getHFI(const ParameterSet& pset, double& Iqn, double& Sqn,
         double& hfc, double& hfa, double& aeta, EAngles& EA,
                                         int iI, int iS, bool warn) const
  {
  if(iS == -1) return getHFI1(pset,Iqn,Sqn,hfc,hfa,aeta,EA,iI,   warn);
  else         return getHFI2(pset,Iqn,Sqn,hfc,hfa,aeta,EA,iI,iS,warn);
  }
bool IntHF :: getHFI ( const ParameterSet & pset , double & Iqn , double & Sqn , double & hfc , double & hfa , double & aeta , EAngles & EA , int iI , int iS , bool warn ) const { if ( iS == -1 ) return getHFI1 ( pset , Iqn , Sqn , hfc , hfa , aeta , EA , iI , warn ) ; else return getHFI2 ( pset , Iqn , Sqn , hfc , hfa , aeta , EA , iI , iS , warn ) ; }
These functions will try and get all the parameters required to define a
hyperfine interaction: { Iqn,Sqn,A,Adelz,eta,alpha,beta,gamma }.
These functions will try and get all the parameters required to define a hyperfine interaction : { Iqn Sqn A Adelz eta alpha beta gamma } .