55 #ifndef functionObjects_processorField_H
56 #define functionObjects_processorField_H
64 namespace functionObjects
73 public fvMeshFunctionObject
static const List< word > & null()
Return a null List.
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 any number of values (e....
const word & name() const
Return the name of this functionObject.
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.
virtual wordList fields() const
Return the list of fields required.
void operator=(const processorField &)=delete
Disallow default bitwise assignment.
virtual ~processorField()
Destructor.
virtual bool execute()
Calculate the processorID field.
virtual bool write()
Write the processorID field.
TypeName("processorField")
Runtime type information.
virtual bool read(const dictionary &)
Read the input data.
A class for handling words, derived from string.