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)
tmp< volScalarField > magSqrGradGrad(const GeometricField< Type, fvPatchField, volMesh > &vf)
Generic GeometricField class.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
Calculate the gradient of the given field.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Calculate the magnitiude of the square of the gradient of the gradient of the given volField...