From 159a7a5a38f3af8072dddffa9750636bd09f3e23 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 28 Sep 2022 09:24:46 +0200 Subject: [PATCH] ENH: simplify parallel/serial checks in ensight output BUG: inadvertant type conversion in ensightFileTemplates::writeLabels --- src/fileFormats/ensight/file/ensightFile.H | 14 +++--- .../ensight/file/ensightFileTemplates.C | 2 +- src/fileFormats/ensight/mesh/ensightMesh.C | 8 ++-- .../ensight/output/ensightOutputTemplates.C | 47 +++---------------- .../ensight/part/cells/ensightCellsAddr.C | 2 +- src/fileFormats/vtk/file/foamVtkFileWriter.C | 2 +- 6 files changed, 21 insertions(+), 54 deletions(-) diff --git a/src/fileFormats/ensight/file/ensightFile.H b/src/fileFormats/ensight/file/ensightFile.H index 46f328892d..ddf866c86d 100644 --- a/src/fileFormats/ensight/file/ensightFile.H +++ b/src/fileFormats/ensight/file/ensightFile.H @@ -214,24 +214,26 @@ public: void beginParticleCoordinates(const label nparticles); //- Write a list of integers - // With carriage return after each value (ascii stream) + // Adds newline after each value (ascii stream) void writeLabels(const UList