fvModels: Reinstated writeData for parallel transfer from master to slaves

This commit is contained in:
Henry Weller
2023-07-20 15:21:41 +01:00
parent 2779442d2a
commit 86d8fa7d7f
2 changed files with 8 additions and 5 deletions

View File

@ -348,6 +348,13 @@ bool Foam::fvModels::readData(Istream& is)
} }
bool Foam::fvModels::writeData(Ostream& os) const
{
dictionary::write(os, false);
return os.good();
}
bool Foam::fvModels::writeObject bool Foam::fvModels::writeObject
( (
IOstream::streamFormat fmt, IOstream::streamFormat fmt,

View File

@ -277,11 +277,7 @@ public:
//- writeData function required by regIOobject but not used //- writeData function required by regIOobject but not used
// for this class, writeObject is used instead // for this class, writeObject is used instead
virtual bool writeData(Ostream& os) const virtual bool writeData(Ostream& os) const;
{
NotImplemented;
return false;
}
//- Write the fvModels //- Write the fvModels
virtual bool writeObject virtual bool writeObject