From 05890eadfaeb9b706d255d6b7652b8d3dd292a7f Mon Sep 17 00:00:00 2001 From: sergio Date: Wed, 16 Dec 2015 11:10:55 -0800 Subject: [PATCH] BUG: Changing the writing function of uniformInterpolationTable to hard coded ascii format. --- .../uniformInterpolationTable/uniformInterpolationTable.C | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.C b/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.C index 3ceb1a19ed..b078c9dea8 100644 --- a/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.C +++ b/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.C @@ -25,6 +25,7 @@ License #include "uniformInterpolationTable.H" #include "Time.H" +#include "IOstream.H" // * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * // @@ -228,7 +229,12 @@ void Foam::uniformInterpolationTable::write() const dict.add("bound", bound_); } - dict.regIOobject::write(); + dict.regIOobject::writeObject + ( + IOstream::ASCII, + IOstream::currentVersion, + dict.time().writeCompression() + ); }