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