From 46a1e7e21eb136b5c0086e8193ec7651d40748b7 Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@esi-group.com> Date: Sun, 13 Mar 2022 22:52:49 +0100 Subject: [PATCH] GIT: missed change (rebase) to ensight manifold cell handling (#2396) --- src/fileFormats/ensight/part/cells/ensightCellsIO.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fileFormats/ensight/part/cells/ensightCellsIO.C b/src/fileFormats/ensight/part/cells/ensightCellsIO.C index 1d640065428..662af29417d 100644 --- a/src/fileFormats/ensight/part/cells/ensightCellsIO.C +++ b/src/fileFormats/ensight/part/cells/ensightCellsIO.C @@ -31,6 +31,7 @@ License #include "polyMesh.H" #include "globalIndex.H" #include "globalMeshData.H" +#include "manifoldCellsMeshObject.H" // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // @@ -135,6 +136,8 @@ void Foam::ensightCells::writePolysConnectivity } } + ///const cellList& meshCells = mesh.cells(); + const cellList& meshCells = manifoldCellsMeshObject::New(mesh).cells(); // List of points id for each face of the above list if (Pstream::master()) @@ -180,7 +183,7 @@ void Foam::ensightCells::writePolysConnectivity ); toMaster - << mesh.cells() + << meshCells << addr << faces << mesh.faceOwner(); -- GitLab