153#ifndef functionObjects_norm_H
154#define functionObjects_norm_H
164namespace 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;
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Generic GeometricField class.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
Normalises an input field with a chosen norm, and outputs a new normalised field.
norm(const norm &)=delete
No copy construct.
virtual ~norm()=default
Destructor.
void operator=(const norm &)=delete
No copy assignment.
TypeName("norm")
Runtime type information.
virtual bool read(const dictionary &)
Read the dictionary data.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Fields (face and point) for polySurface.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.