From 552fd5fdfae8f8de5359b382128a44ac795efb6b Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 10 Apr 2013 17:23:25 +0100 Subject: [PATCH] Added data assembly level: addressing; for parallel setup --- .../polyBoundaryMesh/polyBoundaryMesh.C | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C index e2a9dbdae..d608171b5 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C @@ -624,6 +624,29 @@ void Foam::polyBoundaryMesh::updateMesh() { patches[patchi].updateMesh(); } + + // Calculation of addressing, with communication + // HJ, 12/Jun/2011 + forAll(*this, patchi) + { + operator[](patchi).initAddressing(); + } + + forAll(*this, patchi) + { + operator[](patchi).calcAddressing(); + } + + // Calculation of geometry with communications + forAll(*this, patchi) + { + operator[](patchi).initGeometry(); + } + + forAll(*this, patchi) + { + operator[](patchi).calcGeometry(); + } }