56 for (
direction cmpt = 1; cmpt < pTraits<Type>::nComponents; cmpt++)
58 tMagSqrGradGrad.
ref() +=
62 return tMagSqrGradGrad;
75 return tMagSqrGradGrad;
Generic GeometricField class.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
A class for managing temporary objects.
Calculate the gradient of the given field.
Calculate the magnitiude of the square of the gradient of the gradient of the given volField.
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)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)