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
......@@ -154,6 +154,12 @@ bool Foam::functionObjects::writeDictionary::read(const dictionary& dict)
bool Foam::functionObjects::writeDictionary::execute(const bool postProcess)
{
return true;
}
bool Foam::functionObjects::writeDictionary::write(const bool postProcess)
{
bool firstDict = true;
forAll(dictNames_, i)
......@@ -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:
//- Execute, currently does nothing
virtual bool execute(const bool postProcess = false);
//- Write the writeDictionary
//- Write the selected dictionaries
virtual bool write(const bool postProcess = false);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment