From 686c7a20ed15912a62c80434f3a3623ccc6da68c Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 29 Mar 2019 15:08:02 +0000 Subject: [PATCH] Formatting --- .../immersedBoundaryFvPatch/immersedBoundaryFvPatch.C | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/immersedBoundary/immersedBoundary/immersedBoundaryFvPatch/immersedBoundaryFvPatch.C b/src/immersedBoundary/immersedBoundary/immersedBoundaryFvPatch/immersedBoundaryFvPatch.C index 34c90d3d9..0c47673c7 100644 --- a/src/immersedBoundary/immersedBoundary/immersedBoundaryFvPatch/immersedBoundaryFvPatch.C +++ b/src/immersedBoundary/immersedBoundary/immersedBoundaryFvPatch/immersedBoundaryFvPatch.C @@ -186,14 +186,14 @@ void Foam::immersedBoundaryFvPatch::updatePhi const unallocLabelList& owner = mesh.owner(); const unallocLabelList& neighbour = mesh.neighbour(); - forAll(owner, faceI) + forAll (owner, faceI) { divPhi[owner[faceI]] += phiIn[faceI]; divPhi[neighbour[faceI]] -= phiIn[faceI]; } // Add the mesh motion fluxes from all patches including immersed boundary - forAll(mesh.boundary(), patchI) + forAll (mesh.boundary(), patchI) { const unallocLabelList& pFaceCells = mesh.boundary()[patchI].faceCells(); @@ -235,7 +235,8 @@ void Foam::immersedBoundaryFvPatch::updatePhi // << " error: " << magDivPhi[cellI] // << " V: " << newVols[cellI] // << " V0: " << oldVols[cellI] - // << " divPhi: " << divPhi[cellI]; + // << " divPhi: " << divPhi[cellI] + // << endl; if (corrOldVol < SMALL) {