32 bool Foam::functionObjects::mag::calcMag()
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.
const word fieldName_
Name of field to process.
bool store(const tmp< ObjectType > &tfield)
Store the given field in the objectRegistry.
dimensioned< scalar > mag(const dimensioned< Type > &)