From 651a64d6097fca9390cdc5536473182cf239be2c Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 23 Oct 2008 18:18:52 +0100 Subject: [PATCH] force ascii writing of IOdictionary --- src/meshTools/searchableSurface/distributedTriSurfaceMesh.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meshTools/searchableSurface/distributedTriSurfaceMesh.C b/src/meshTools/searchableSurface/distributedTriSurfaceMesh.C index a42408e9bc..adfe29401e 100644 --- a/src/meshTools/searchableSurface/distributedTriSurfaceMesh.C +++ b/src/meshTools/searchableSurface/distributedTriSurfaceMesh.C @@ -2192,9 +2192,10 @@ bool Foam::distributedTriSurfaceMesh::writeObject // Make sure dictionary goes to same directory as surface const_cast(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); }