functionObjects::writeDictionary: Write the dictionaries from the write function not execute
This commit is contained in:
parent
2e399d34bc
commit
a3d88f3e82
2 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue