92#ifndef Foam_functionObjects_components_H
93#define Foam_functionObjects_components_H
122 template<
class GeoFieldType>
123 bool calcComponents(
const GeoFieldType&
field);
128 bool calcComponents();
165 virtual bool write();
168 virtual bool clear();
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.
Extracts the components of elements of a field and outputs the result into new fields,...
void operator=(const components &)=delete
No copy assignment.
components(const components &)=delete
No copy construct.
TypeName("components")
Runtime type information.
virtual bool clear()
Clear the component fields from the objectRegistry.
virtual bool write()
Write the function-object results.
virtual ~components()=default
Destructor.
components(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
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.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< word > wordList
List of word.
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.