153 #ifndef functionObjects_norm_H 154 #define functionObjects_norm_H 164 namespace functionObjects
173 public fieldExpression
189 static const Enum<normType> normTypeNames;
198 autoPtr<Function1<scalar>> divisorPtr_;
201 word divisorFieldName_;
214 template<
class GeoFieldType>
215 tmp<GeoFieldType> calcNormType();
219 tmp<volScalarField> fieldNorm
221 const GeometricField<Type, fvPatchField, volMesh>&
226 tmp<surfaceScalarField> fieldNorm
228 const GeometricField<Type, fvsPatchField, surfaceMesh>&
233 tmp<polySurfaceScalarField> fieldNorm
235 const DimensionedField<Type, polySurfaceGeoMesh>&
266 virtual ~norm() =
default;
A list of keyword definitions, which are a keyword followed by a number of values (eg...
norm(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
Fields (face and point) for polySurface.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const noexcept
Return the name of this functionObject.
virtual ~norm()=default
Destructor.
A class for handling words, derived from Foam::string.
TypeName("norm")
Runtime type information.
Normalises an input field with a chosen norm, and outputs a new normalised field. ...
void operator=(const norm &)=delete
No copy assignment.
virtual bool read(const dictionary &)
Read the dictionary data.