src/IntRank2/IntRank2.cc
// ----------------------------------------------------------------------------
//        Functions To Read Reducible Rank 2 Spherical Spatial Tensors
// ----------------------------------------------------------------------------
Functions To Read Reducible Rank 2 Spherical Spatial Tensors
Functions To Read Reducible Rank 2 Spherical Spatial Tensors
bool IntRank2::getAiAzAe(const ParameterSet& pset, const string& A,
           coord& Aize, int i, int j, bool warni, bool warnz, bool warne) const
  {
  double aiso  = 0;				
  double adelz = 0; 				
  double aeta  = 0;				
  bool TFI = getAiso(pset,  A,aiso, i,j,warni);	
  bool TFZ = getAaniso(pset,A,adelz,i,j,warnz);	
  bool TFE = getAeta(pset,  A,aeta, i,j,warne);	
  Aize = coord(aiso, adelz, aeta);		
  return TFI&TFZ&TFE;				
  }
bool IntRank2 :: getAiAzAe ( const ParameterSet & pset , const string & A , coord & Aize , int i , int j , bool warni , bool warnz , bool warne ) const { double aiso = 0 ; double adelz = 0 ; double aeta = 0 ; bool TFI = getAiso ( pset , A , aiso , i , j , warni ) ; bool TFZ = getAaniso ( pset , A , adelz , i , j , warnz ) ; bool TFE = getAeta ( pset , A , aeta , i , j , warne ) ; Aize = coord ( aiso , adelz , aeta ) ; return TFI & TFZ & TFE ; }
Functions To Read Reducible Rank 2 Spherical Spatial Tensors
Functions To Read Reducible Rank 2 Spherical Spatial Tensors
// For isotropic value // For anisotropic value // For asymmetry value // Try for Aiso first // Try for Adelzz next // Try for Aeta third // Set return coordinate // Return how we did