36bool Foam::functionObjects::mag::calcMag()
38 typedef GeometricField<Type, fvPatchField, volMesh> VolFieldType;
39 typedef GeometricField<Type, fvsPatchField, surfaceMesh> SurfaceFieldType;
40 typedef DimensionedField<Type, polySurfaceGeoMesh> SurfFieldType;
bool foundObject(const word &name, const bool verbose=true) const
Return true if required objects are found.
word resultName_
Name of result field.
word fieldName_
Name of field to process.
const ObjectType & lookupObject(const word &fieldName) const
Lookup and return object (eg, a field) from the (sub) objectRegistry.
bool store(word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false)
Store the field in the (sub) objectRegistry under the given name.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Fields (face and point) for polySurface.