/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2021-2022 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM, distributed under GPL-3.0-or-later. Description Summary of faMesh information \*---------------------------------------------------------------------------*/ { const faBoundaryMesh& patches = aMesh.boundary(); const label nNonProcessor = patches.nNonProcessor(); const label nPatches = patches.size(); label nLocalProcEdges = 0; if (Pstream::parRun()) { for (const faPatch& fap : patches) { const auto* cpp = isA(fap); if (cpp) { nLocalProcEdges += fap.nEdges(); } } } const labelList nFaces ( UPstream::listGatherValues