Skip to content
Snippets Groups Projects
Commit 2dbd3efe authored by Henry Weller's avatar Henry Weller
Browse files

functionObjects::writeDictionary: Write the dictionaries from the write function not execute

parent 39e0368d
No related branches found
No related tags found
No related merge requests found
...@@ -154,6 +154,12 @@ bool Foam::functionObjects::writeDictionary::read(const dictionary& dict) ...@@ -154,6 +154,12 @@ bool Foam::functionObjects::writeDictionary::read(const dictionary& dict)
bool Foam::functionObjects::writeDictionary::execute(const bool postProcess) bool Foam::functionObjects::writeDictionary::execute(const bool postProcess)
{
return true;
}
bool Foam::functionObjects::writeDictionary::write(const bool postProcess)
{ {
bool firstDict = true; bool firstDict = true;
forAll(dictNames_, i) forAll(dictNames_, i)
...@@ -211,10 +217,4 @@ bool Foam::functionObjects::writeDictionary::execute(const bool postProcess) ...@@ -211,10 +217,4 @@ bool Foam::functionObjects::writeDictionary::execute(const bool postProcess)
} }
bool Foam::functionObjects::writeDictionary::write(const bool postProcess)
{
return true;
}
// ************************************************************************* // // ************************************************************************* //
...@@ -124,7 +124,7 @@ public: ...@@ -124,7 +124,7 @@ public:
//- Execute, currently does nothing //- Execute, currently does nothing
virtual bool execute(const bool postProcess = false); virtual bool execute(const bool postProcess = false);
//- Write the writeDictionary //- Write the selected dictionaries
virtual bool write(const bool postProcess = false); virtual bool write(const bool postProcess = false);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment