ENH: respond to externalCoupled lock file contents
- waitForSlave now return a Time::stopAtControls enumeration: unknown: when lockfile has no specially recognized content. endTime: when lockfile contains "status=done" writeNow: when lockfile contains "action=writeNow" nextWrite: when lockfile contains "action=nextWrite" noWriteNow: when lockfile contains "action=noWriteNow" These values can be used by the caller to terminate the master (OpenFOAM) as desired in response to information placed there by the slave process.
Showing
- src/finiteVolume/cfdTools/general/coupling/externalFileCoupler.C 73 additions, 29 deletions...iteVolume/cfdTools/general/coupling/externalFileCoupler.C
- src/finiteVolume/cfdTools/general/coupling/externalFileCoupler.H 54 additions, 27 deletions...iteVolume/cfdTools/general/coupling/externalFileCoupler.H
- src/functionObjects/field/externalCoupled/externalCoupled.C 39 additions, 33 deletionssrc/functionObjects/field/externalCoupled/externalCoupled.C
- src/functionObjects/field/externalCoupled/externalCoupled.H 4 additions, 1 deletionsrc/functionObjects/field/externalCoupled/externalCoupled.H
- src/lumpedPointMotion/lumpedPointDisplacementPointPatchVectorField.C 16 additions, 3 deletions...ointMotion/lumpedPointDisplacementPointPatchVectorField.C
Please register or sign in to comment