force ascii writing of IOdictionary

This commit is contained in:
mattijs 2008-10-23 18:18:52 +01:00
parent 96dac1cb93
commit 651a64d609

View File

@ -2192,9 +2192,10 @@ bool Foam::distributedTriSurfaceMesh::writeObject
// Make sure dictionary goes to same directory as surface
const_cast<fileName&>(dict_.instance()) = searchableSurface::instance();
// Dictionary needs to be written in ascii - binary output not supported.
return
triSurfaceMesh::writeObject(fmt, ver, cmp)
&& dict_.writeObject(fmt, ver, cmp);
&& dict_.writeObject(IOstream::ASCII, ver, cmp);
}