From 82c2eb53eab9eee0e3b52d38435d08a396dcbb9d Mon Sep 17 00:00:00 2001 From: Martin Beaudoin Date: Sun, 22 Apr 2012 16:36:26 -0400 Subject: [PATCH] GGI and mixingPlane interfaces: use default dummy name for initializing shadowName_ and zoneName_ --- .../meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C | 4 ++-- .../polyPatches/constraint/mixingPlane/mixingPlanePolyPatch.C | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C index 94dac2e9c..9aef0022d 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/ggi/ggiPolyPatch.C @@ -238,8 +238,8 @@ Foam::ggiPolyPatch::ggiPolyPatch ) : coupledPolyPatch(name, size, start, index, bm), - shadowName_(word::null), - zoneName_(word::null), + shadowName_("_initialize_me_"), + zoneName_("_initialize_me_"), bridgeOverlap_(false), shadowIndex_(-1), zoneIndex_(-1), diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/mixingPlane/mixingPlanePolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/mixingPlane/mixingPlanePolyPatch.C index 8fb879a7f..056e032b0 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/mixingPlane/mixingPlanePolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/mixingPlane/mixingPlanePolyPatch.C @@ -217,7 +217,7 @@ Foam::mixingPlanePolyPatch::mixingPlanePolyPatch ) : coupledPolyPatch(name, size, start, index, bm), - shadowName_(fileName::null), + shadowName_("_initialize_me_"), csPtr_ ( new coordinateSystem