src/IntRank2/IntRank2.cc
// ----------------------------------------------------------------------------
//                          Full Interaction Hamiltonians
//                           These Use No Approximations! 
//   They Are Correct ln the Lab. Frame, But Probably NOT in a Rotating Frame
// ----------------------------------------------------------------------------
Full Interaction Hamiltonians
These Use No Approximations.
They Are Correct ln the Lab. Frame, But Probably NOT in a Rotating Frame
Full Interaction Hamiltonians These Use No Approximations . They Are Correct ln the Lab . Frame But Probably NOT in a Rotating Frame
matrix IntRank2::H() const
  {
  IR2ASph As = SphCmp();			
  matrix Hmx =  As.A20()*T0;			
         Hmx -= As.A2m1()*T1 + As.A21()*Tm1;	
         Hmx += As.A2m2()*T2 + As.A22()*Tm2;
  Hmx.set_type(h_matrix_type);			
  return _XI*Hmx;				
  }
matrix IntRank2 :: H ( ) const { IR2ASph As = SphCmp ( ) ; matrix Hmx = As . A20 ( ) * T0 ; Hmx -= As . A2m1 ( ) * T1 + As . A21 ( ) * Tm1 ; Hmx += As . A2m2 ( ) * T2 + As . A22 ( ) * Tm2 ; Hmx . set_type ( h_matrix_type ) ; return _XI * Hmx ; }
Full Interaction Hamiltonians
These Use No Approximations!
Full Interaction Hamiltonians These Use No Approximations!
// Get spherical components // Sum over the 5 components // using generic formulation // Insure it is Hermitian // Scale and return 