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.
word fieldName_
Name of field to process.
bool store(word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false)
Store the given field in the objectRegistry under the given name.
dimensioned< scalar > magSqr(const dimensioned< Type > &)