Go to the documentation of this file.
84 #ifndef functionObjects_processorField_H
85 #define functionObjects_processorField_H
93 namespace functionObjects
102 public fvMeshFunctionObject
117 const dictionary&
dict
140 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Writes a scalar field whose value is the local processor ID. The output field name is processorID.
processorField(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual bool execute()
Calculate the processorID field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool read(const dictionary &)
Read the input data.
TypeName("processorField")
Runtime type information.
virtual bool write()
Write the processorID field.
const word & name() const noexcept
Return the name of this functionObject.
void operator=(const processorField &)=delete
No copy assignment.
virtual ~processorField()=default
Destructor.