Go to the documentation of this file.
92 #ifndef externalFileCoupler_H
93 #define externalFileCoupler_H
137 unsigned waitInterval_;
virtual void writeDataSlave() const
A class for handling words, derived from Foam::string.
virtual void removeDataMaster() const
A class for handling file names.
virtual void writeDataMaster() const
const fileName & commDirectory() const
enum Time::stopAtControls useMaster(const bool wait=false) const
enum Time::stopAtControls waitForMaster() const
virtual void readDataMaster()
TypeName("externalFileCoupler")
virtual void removeDataSlave() const
virtual ~externalFileCoupler()
virtual void readDataSlave()
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
fileName resolveFile(const word &file) const
enum Time::stopAtControls useSlave(const bool wait=false) const
Encapsulates the logic for coordinating between OpenFOAM and an external application.
void removeDirectory() const
enum Time::stopAtControls waitForSlave() const
bool readDict(const dictionary &dict)
@ SLAVE
The slave (external program) is in charge.
fileName lockFile() const
@ MASTER
The master (OpenFOAM) is in charge.