/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2026 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License This file is part of OpenFOAM. OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see . Class Foam::localPointRegion Description Takes mesh with 'baffles' (= boundary faces sharing points). Determines for selected points on boundary faces the 'point region' it is connected to. Each region can be visited by a cell-face-cell walk. Used in duplicating points after splitting baffles. Regions are not consecutive per processor. They will be -1..nRegions_. Note: coupled boundaries (cyclics, parallel) not fully tested. SourceFiles localPointRegion.C \*---------------------------------------------------------------------------*/ #ifndef localPointRegion_H #define localPointRegion_H #include "typeInfo.H" #include "Map.H" #include "labelList.H" #include "HashSet.H" #include "faceList.H" #include "boolList.H" #include "labelPair.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // namespace Foam { // Forward declaration of classes class primitiveMesh; class polyMesh; class face; class polyTopoChangeMap; /*---------------------------------------------------------------------------*\ Class localPointRegion Declaration \*---------------------------------------------------------------------------*/ class localPointRegion { // Private Data ////- (global) number of regions // label nRegions_; //- Per point that is to duplicated to the local index Map