src/IntRank2/IntDipVec.cc
/* These functions allow users to fill up the dipolar interactions vector from
   a GAMMA parameter set (external ASCII file). Variants enable higher classes
   such as spin systems to generate the vector when they have a knowledge of
   spin isotope types (and coordinates in the dipolar interaction case).

	// Input		IDV	: Dipole interaction vector (this)
        //                      pset    : Parameter set
        //                      idx	: Index for dipolar vector
	//				  i.e [idx] is parameter name prefix
        //                      warn    : Warning level (applicable to use
	//				  of isotopes & coordinates)
        // Note                         : If idx is negative then no
        //                                parameter prefix will be used     */
These functions allow users to fill up the dipolar interactions vector from
a GAMMA parameter set (external ASCII file). Variants enable higher classes
such as spin systems to generate the vector when they have a knowledge of
spin isotope types (and coordinates in the dipolar interaction case).


These functions allow users to fill up the dipolar interactions vector from a GAMMA parameter set ( external ASCII file ) . Variants enable higher classes such as spin systems to generate the vector when they have a knowledge of spin isotope types ( and coordinates in the dipolar interaction case ) .
IntDipVec::IntDipVec(const ParameterSet& pset, int idx, int warn)
  {
  if(!setDIV(pset, idx, warn?true:false))
    if(warn)
      {
      IDVerror(3, 1);
      if(warn>1) IDVfatal(2);
      else       IDVerror(2);
      }
  }
IntDipVec :: IntDipVec ( const ParameterSet & pset , int idx , int warn ) { if ( ! setDIV ( pset , idx , warn ? true : false ) ) if ( warn ) { IDVerror ( 3 , 1 ) ; if ( warn > 1 ) IDVfatal ( 2 ) ; else IDVerror ( 2 ) ; } }
These functions allow users to fill up the dipolar interactions vector from
a GAMMA parameter set (external ASCII file).
These functions allow users to fill up the dipolar interactions vector from a GAMMA parameter set ( external ASCII file ) .