82#ifndef Foam_functionObjects_magSqr_H
83#define Foam_functionObjects_magSqr_H
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
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....
fieldExpression(const word &name, const Time &runTime, const dictionary &dict, const word &fieldName=word::null, const word &resultName=word::null)
Construct from name, Time and dictionary.
virtual bool calc()=0
Calculate the components of the field and return true if successful.
Computes the magnitude of the square of an input field.
magSqr(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
TypeName("magSqr")
Runtime type information.
virtual ~magSqr()=default
Destructor.
void operator=(const magSqr &)=delete
No copy assignment.
magSqr(const magSqr &)=delete
No copy construct.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.