/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2021 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 . Application reconstructParMesh Description Reconstructs a mesh. Writes point/face/cell procAddressing so afterwards reconstructPar can be used to reconstruct fields. \*---------------------------------------------------------------------------*/ #include "argList.H" #include "timeSelector.H" #include "IOobjectList.H" #include "labelIOList.H" #include "processorPolyPatch.H" #include "mapAddedPolyMesh.H" #include "polyMeshAdder.H" #include "faceCoupleInfo.H" #include "fvMeshAdder.H" #include "polyTopoChange.H" #include "extrapolatedCalculatedFvPatchFields.H" #include "regionProperties.H" using namespace Foam; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // autoPtr determineCoupledFaces ( const label masterMeshProcStart, const label masterMeshProcEnd, const polyMesh& masterMesh, const label meshToAddProcStart, const label meshToAddProcEnd, const polyMesh& meshToAdd ) { const polyBoundaryMesh& masterPatches = masterMesh.boundaryMesh(); const polyBoundaryMesh& addPatches = meshToAdd.boundaryMesh(); DynamicList