fvModels: Reinstated writeData for parallel transfer from master to slaves
This commit is contained in:
@ -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
|
||||
(
|
||||
IOstream::streamFormat fmt,
|
||||
|
||||
@ -277,11 +277,7 @@ public:
|
||||
|
||||
//- writeData function required by regIOobject but not used
|
||||
// for this class, writeObject is used instead
|
||||
virtual bool writeData(Ostream& os) const
|
||||
{
|
||||
NotImplemented;
|
||||
return false;
|
||||
}
|
||||
virtual bool writeData(Ostream& os) const;
|
||||
|
||||
//- Write the fvModels
|
||||
virtual bool writeObject
|
||||
|
||||
Reference in New Issue
Block a user