src/Utilities/GeometricUtilities.hh
//------------------------------------------------------------------------------
// Construct a SymTensor with the given diagonal elements, raised to a power.
//------------------------------------------------------------------------------
Construct a SymTensor with the given diagonal elements, raised to a power.
Construct a SymTensor with the given diagonal elements raised to a power .
inline
Dim<1>::SymTensor
constructSymTensorWithPowDiagonal(const Dim<1>::Vector& vec,
                                  const double exponent) {
  return Dim<1>::SymTensor(pow(vec.x(), exponent));
}
inline Dim < 1 > :: SymTensor constructSymTensorWithPowDiagonal ( const Dim < 1 > :: Vector & vec , const double exponent ) { return Dim < 1 > :: SymTensor ( pow ( vec . x ( ) , exponent ) ) ; }
Construct a SymTensor with the given diagonal elements, raised to a power.
Construct a SymTensor with the given diagonal elements raised to a power .