34 namespace functionObjects
87 return store(
name, tprocField);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
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 ~processorField()
Destructor.
virtual bool execute()
Calculate the processorID field.
virtual bool write()
Write the processorID field.
virtual bool read(const dictionary &)
Read the input data.
virtual bool read(const dictionary &)
Read optional controls.
A class for managing temporary objects.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.