/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2023 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::patchIntersection Description Base class for patch intersections. Provides type name and debugging. See templated derivatives for actual functionality. SourceFiles patchIntersection.C \*---------------------------------------------------------------------------*/ #ifndef patchIntersection_H #define patchIntersection_H #include "DynamicField.H" #include "face.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // namespace Foam { /*---------------------------------------------------------------------------*\ Class patchIntersection Declaration \*---------------------------------------------------------------------------*/ class patchIntersection { protected: // Protected static data //- Flag to set whether the faces of the intersection are oriented the // same way as the source patch (true) or the target patch (false). static const bool orientToSource_; // Protected Data // Points //- The intersection points DynamicField points_; //- The source points' corresponding intersection points labelList srcPointPoints_; //- The target points' corresponding intersection points labelList tgtPointPoints_; //- The intersection points' corresponding source points, or -1 // if the point does not correspond to a source point DynamicList