src/IntRank2/IntHF.cc
/* This function employs all of the "get*" functions in the above sections
   to parse a parameter set for all of the values needed to define a hyperfine
   interaction, namely { Iqn,Sqn,A,Adelz,eta,alpha,beta,gamma }. If the
   interaction definition is found, we set the interaction or return false.  */
This function employs all of the "get*" functions in the above sections
to parse a parameter set for all of the values needed to define a hyperfine
interaction, namely { Iqn,Sqn,A,Adelz,eta,alpha,beta,gamma }. If the
interaction definition is found, we set the interaction or return false.
This function employs all of the " get * " functions in the above sections to parse a parameter set for all of the values needed to define a hyperfine interaction namely { Iqn Sqn A Adelz eta alpha beta gamma } . If the interaction definition is found we set the interaction or return false .
bool IntHF::setHFI(const ParameterSet& pset, int idxI, int idxS, int warn)
  {
  double  Iz;					
  double  Sz;					
  double  hfc;                                  
  double  hfa;                                  
  double  E;					
  EAngles EA;                                   
  if(getHFI(pset, Iz, Sz, hfc, hfa, E,		
                         EA, idxI, idxS, warn?true:false))
    {                                           
    AISO     = hfc;				
    DELZZ    = hfa/1.5;				
    double X = xi();                            
    IntRank2::operator=(IntRank2(Iz,Sz,X,E,EA));
    return true;                                
    }
  return false;
  }
bool IntHF :: setHFI ( const ParameterSet & pset , int idxI , int idxS , int warn ) { double Iz ; double Sz ; double hfc ; double hfa ; double E ; EAngles EA ; if ( getHFI ( pset , Iz , Sz , hfc , hfa , E , EA , idxI , idxS , warn ? true : false ) ) { AISO = hfc ; DELZZ = hfa / 1.5 ; double X = xi ( ) ; IntRank2 :: operator = ( IntRank2 ( Iz , Sz , X , E , EA ) ) ; return true ; } return false ; }
This function employs all of the "get*" functions in the above sections
to parse a parameter set for all of the values needed to define a hyperfine
interaction, namely { Iqn,Sqn,A,Adelz,eta,alpha,beta,gamma }.
This function employs all of the " get * " functions in the above sections to parse a parameter set for all of the values needed to define a hyperfine interaction namely { Iqn Sqn A Adelz eta alpha beta gamma } .
// 1st spin quantum number // 2nd spin quantum number // Hyperfine coupling   (Gauss) // Hyperfine anisotropy (Gauss) // Hypefine asymmetry     [0,1] // Our Euler angles (radians) // Try and get parameter vals // If successful, set interact //   Set isotropic value (Gauss) //   Set PAS delzz value (Gauss) //   Set interaction constant //   Set rank 2 interaction //   Return we are successful