From 732cd3883fb5d9a843cb89391007a20bdfc29deb Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Tue, 10 Feb 2015 17:32:27 +0000 Subject: [PATCH] turbulenceModel: Correct handling of IOdictionary writing to support timeStampMaster --- etc/controlDict | 2 +- src/TurbulenceModels/turbulenceModels/turbulenceModel.H | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/etc/controlDict b/etc/controlDict index b82989f65b0..cfbdf69cb85 100644 --- a/etc/controlDict +++ b/etc/controlDict @@ -56,7 +56,7 @@ OptimisationSwitches // - inotify : use inotify framework // - timeStampMaster : do time stamp (and file reading) only on master. // - inotifyMaster : do inotify (and file reading) only on master. - fileModificationChecking timeStamp; + fileModificationChecking timeStampMaster; commsType nonBlocking; //scheduled; //blocking; floatTransfer 0; diff --git a/src/TurbulenceModels/turbulenceModels/turbulenceModel.H b/src/TurbulenceModels/turbulenceModels/turbulenceModel.H index e2177bb72aa..6f123b77ba3 100644 --- a/src/TurbulenceModels/turbulenceModels/turbulenceModel.H +++ b/src/TurbulenceModels/turbulenceModels/turbulenceModel.H @@ -207,12 +207,6 @@ public: //- Solve the turbulence equations and correct the turbulence viscosity virtual void correct() = 0; - - //- Default dummy write function - virtual bool writeData(Ostream&) const - { - return true; - } }; -- GitLab