extend fvSolution re-write to also include the 'smooth' entry

This commit is contained in:
Mark Olesen
2008-12-09 17:04:05 +01:00
parent d0795abc51
commit f7f2d1672a
4 changed files with 62 additions and 20 deletions

View File

@ -90,7 +90,12 @@ int main(int argc, char *argv[])
solutionDict.objectPath() + ".old"
);
solutionDict.regIOobject::write();
solutionDict.writeObject
(
IOstream::ASCII,
IOstream::currentVersion,
IOstream::UNCOMPRESSED
);
Info<< "Backup to " << (solutionDict.objectPath() + ".old") << nl
<< "Write to " << solutionDict.objectPath() << nl << endl;