54 for (
direction cmpt = 1; cmpt < pTraits<Type>::nComponents; cmpt++)
56 tMagSqrGradGrad.
ref() +=
60 return tMagSqrGradGrad;
73 return tMagSqrGradGrad;
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
T & ref() const
Return non-const reference or generate a fatal error.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
tmp< volScalarField > magSqrGradGrad(const GeometricField< Type, fvPatchField, volMesh > &vf)
Generic GeometricField class.
Calculate the gradient of the given field.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
A class for managing temporary objects.
Calculate the magnitude of the square of the gradient of the gradient of the given volField...