94 #ifndef functionObjects_systemCall_H 95 #define functionObjects_systemCall_H 104 namespace functionObjects
113 public functionObject
174 virtual bool write();
bool masterOnly_
Perform system calls on the master only.
virtual ~systemCall()=default
Destructor.
TypeName("systemCall")
Runtime type information.
virtual bool write()
Write, execute the "writeCalls".
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const noexcept
Return the name of this functionObject.
label dispatch(const stringList &calls)
Dispatch specified calls.
virtual bool execute()
Execute the "executeCalls" at each time-step.
A class for handling words, derived from Foam::string.
stringList endCalls_
List of calls to execute when exiting the time-loop.
Executes system calls, entered in the form of string lists.
void operator=(const systemCall &)=delete
No copy assignment.
virtual bool read(const dictionary &dict)
Read the system calls.
systemCall(const systemCall &)=delete
No copy construct.
List< string > stringList
A List of strings.
virtual bool end()
Execute the "endCalls" at the final time-loop.
stringList executeCalls_
List of calls to execute - every step.
stringList writeCalls_
List of calls to execute - write steps.