mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects::writeDictionary: Write the dictionaries from the write function not execute
This commit is contained in:
@ -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)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::writeDictionary::write(const bool postProcess)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user