94#ifndef functionObjects_systemCall_H
95#define functionObjects_systemCall_H
104namespace functionObjects
113 public functionObject
174 virtual bool write();
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,...
Abstract base-class for Time/database function objects.
const word & name() const noexcept
Return the name of this functionObject.
Executes system calls, entered in the form of string lists.
label dispatch(const stringList &calls)
Dispatch specified calls.
bool masterOnly_
Perform system calls on the master only.
stringList writeCalls_
List of calls to execute - write steps.
systemCall(const systemCall &)=delete
No copy construct.
TypeName("systemCall")
Runtime type information.
stringList executeCalls_
List of calls to execute - every step.
virtual bool read(const dictionary &dict)
Read the system calls.
virtual ~systemCall()=default
Destructor.
stringList endCalls_
List of calls to execute when exiting the time-loop.
virtual bool execute()
Execute the "executeCalls" at each time-step.
virtual bool write()
Write, execute the "writeCalls".
void operator=(const systemCall &)=delete
No copy assignment.
virtual bool end()
Execute the "endCalls" at the final time-loop.
A class for handling words, derived from Foam::string.
List< string > stringList
A List of strings.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.