32 bool Foam::functionObjects::magSqr::calcMagSqr()
34 typedef GeometricField<Type, fvPatchField, volMesh> VolFieldType;
35 typedef GeometricField<Type, fvsPatchField, surfaceMesh> SurfaceFieldType;
45 else if (foundObject<SurfaceFieldType>(
fieldName_))
word resultName_
Name of result field.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
const word fieldName_
Name of field to process.
bool store(const tmp< ObjectType > &tfield)
Store the given field in the objectRegistry.