From 01558c2408e6faef5f8d351434a4bb4b48d849d8 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 5 Nov 2013 13:51:23 +0000 Subject: [PATCH] Added patch access --- .../GGIInterpolation/GGIInterpolation.H | 36 ++++++++++++------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/src/OpenFOAM/interpolations/GGIInterpolation/GGIInterpolation.H b/src/OpenFOAM/interpolations/GGIInterpolation/GGIInterpolation.H index ce028cfd0..75e431b31 100644 --- a/src/OpenFOAM/interpolations/GGIInterpolation/GGIInterpolation.H +++ b/src/OpenFOAM/interpolations/GGIInterpolation/GGIInterpolation.H @@ -437,23 +437,35 @@ public: // Access - //- Return reference to master addressing - const labelListList& masterAddr() const; + //- Reference to the master patch + const MasterPatch& masterPatch() const + { + return masterPatch_; + } - //- Return reference to master weights - const scalarListList& masterWeights() const; + //- Reference to the slave patch + const SlavePatch& slavePatch() const + { + return slavePatch_; + } - //- Return reference to slave addressing - const labelListList& slaveAddr() const; + //- Return reference to master addressing + const labelListList& masterAddr() const; - //- Return reference to slave weights - const scalarListList& slaveWeights() const; + //- Return reference to master weights + const scalarListList& masterWeights() const; - //- Return reference to the master list of non-overlap faces - const labelList& uncoveredMasterFaces() const; + //- Return reference to slave addressing + const labelListList& slaveAddr() const; - //- Return reference to the slave list of non-overlap faces - const labelList& uncoveredSlaveFaces() const; + //- Return reference to slave weights + const scalarListList& slaveWeights() const; + + //- Return reference to the master list of non-overlap faces + const labelList& uncoveredMasterFaces() const; + + //- Return reference to the slave list of non-overlap faces + const labelList& uncoveredSlaveFaces() const; // Interpolation functions