src/IntRank2/IntQuadVec.cc
/* In this case the vector of interactions is associated with a list of isotope
   types (Isos). The interaction vector length will match the vector of spin
   types. For each electron spin type a G interaction will be generated from
   parameters in the parameter set.
 
	   Input		IQV	: Quadrupolar interaction vector (this)
                                Isos    : Array of isotope/spin types
                                pset    : Parameter set
                                warn    : Warning level
                                                0 - no warnings
                                                1 - warn if spin is nucleon
	                                        2 - fatal if spin is nucleon
           Output               none    : Quadrupolar interaction vector
                                          constructed with spin labels
                                          in Isos and parameters in pset
           Note                         : We don't allow users to associate
                                          a nucleon with a G interaction. For
                                          each nucleus a NULL interaction
                                          is stored in the vector.           */
In this case the vector of interactions is associated with a list of isotope
types (Isos). The interaction vector length will match the vector of spin
types. For each electron spin type a G interaction will be generated from
parameters in the parameter set.


In this case the vector of interactions is associated with a list of isotope types ( Isos ) . The interaction vector length will match the vector of spin types . For each electron spin type a G interaction will be generated from parameters in the parameter set .
IntQuadVec::IntQuadVec(const vector<Isotope>& Isos,
                                           const ParameterSet& pset, int warn)
  {
  int ni = Isos.size();			
  for(int i=0; i<ni; i++)		
    {
    if(Isos[i].electron())		
      {					
      if(warn)				
        {				
        IQVerror(15, 1);
        if(warn>1) IQVfatality(2);
        }
      }
    }
  }
IntQuadVec :: IntQuadVec ( const vector < Isotope > & Isos , const ParameterSet & pset , int warn ) { int ni = Isos . size ( ) ; for ( int i = 0 ; i < ni ; i ++ ) { if ( Isos [ i ] . electron ( ) ) { if ( warn ) { IQVerror ( 15 , 1 ) ; if ( warn > 1 ) IQVfatality ( 2 ) ; } } } }
In this case the vector of interactions is associated with a list of isotope
types (Isos).
In this case the vector of interactions is associated with a list of isotope types ( Isos ) .
// # possible interactions // Loop proposed interactions //      Insure not an electron //	if so, don't make G //	interaction, but warn if  //	desired (or fail!) // sosik //    push_back(IntQuad(Isos[i],pset,i,warn));// Nucleus, try & construct