From 721dbf93235a0fdbedde34d321f59f28c6db1c92 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 20 May 2014 11:57:56 +0100 Subject: [PATCH] Formatting and debug statements --- .../multiTopoBodyFvMesh/multiTopoBodyFvMesh.C | 1 + .../polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C | 6 ++++++ .../polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.H | 1 + 3 files changed, 8 insertions(+) diff --git a/src/dynamicMesh/topoChangerFvMesh/multiTopoBodyFvMesh/multiTopoBodyFvMesh.C b/src/dynamicMesh/topoChangerFvMesh/multiTopoBodyFvMesh/multiTopoBodyFvMesh.C index ff1bad293..fafc5d376 100644 --- a/src/dynamicMesh/topoChangerFvMesh/multiTopoBodyFvMesh/multiTopoBodyFvMesh.C +++ b/src/dynamicMesh/topoChangerFvMesh/multiTopoBodyFvMesh/multiTopoBodyFvMesh.C @@ -54,6 +54,7 @@ void Foam::multiTopoBodyFvMesh::addZonesAndModifiers() Info<< "void multiTopoBodyFvMesh::addZonesAndModifiers() : " << "Zones and modifiers already present. Skipping." << endl; + return; } diff --git a/src/foam/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C b/src/foam/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C index 61500ef5f..15a23a177 100644 --- a/src/foam/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C +++ b/src/foam/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C @@ -187,6 +187,12 @@ void Foam::ggiPolyPatch::calcPatchToPatch() const if (master()) { + if (debug) + { + InfoIn("void ggiPolyPatch::calcPatchToPatch() const") + << "Calculating patch to patch interpolation" << endl; + } + // Create interpolation for zones patchToPatchPtr_ = new ggiZoneInterpolation diff --git a/src/foam/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.H b/src/foam/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.H index 3b9e5b92d..6a57f3f04 100644 --- a/src/foam/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.H +++ b/src/foam/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.H @@ -312,6 +312,7 @@ public: //- Return interpolation face zone const faceZone& zone() const; + // Interpolation data //- Is this the master side?