ENH: singleCellFvMesh - added access to patchFaceAgglomeration

This commit is contained in:
Andrew Heather 2024-03-11 14:17:47 +00:00
parent ef47662131
commit cff9c7b60c

View File

@ -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
{