From cff9c7b60c423a8fe7ad08101e1e97d3b4131f24 Mon Sep 17 00:00:00 2001 From: Andrew Heather <> Date: Mon, 11 Mar 2024 14:17:47 +0000 Subject: [PATCH] ENH: singleCellFvMesh - added access to patchFaceAgglomeration --- .../fvMesh/singleCellFvMesh/singleCellFvMesh.H | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.H b/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.H index c5b2a4417d..7e7e9aa1b9 100644 --- a/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.H +++ b/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.H @@ -29,7 +29,7 @@ Class Description fvMesh as subset of other mesh. Consists of one cell and all original - bounday faces. Useful when manipulating boundary data. Single internal + boundary faces. Useful when manipulating boundary data. Single internal cell only needed to be able to manipulate in a standard way. SourceFiles @@ -60,6 +60,7 @@ class singleCellFvMesh { // Private Data + //- Fine patch face to agglomeration index addressing const labelListIOList patchFaceAgglomeration_; //- From patch faces back to agglomeration or fine mesh @@ -184,6 +185,12 @@ public: return !patchFaceAgglomeration_.empty(); } + //- Fine patch face to agglomeration index addressing + const labelListList& patchFaceAgglomeration() const noexcept + { + return patchFaceAgglomeration_; + } + //- From patchFace on this back to original mesh or agglomeration const labelListList& patchFaceMap() const noexcept {