From 6651f319093ae2cb66747cc8600ff493b9436f03 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 11 Jan 2016 09:23:14 +0000 Subject: [PATCH] BUG: lagrangian: PatchInteractionModel was not initialising statistics counters Fixed #55. --- .../PatchInteractionModel/PatchInteractionModel.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C index d219177107..1cba847bb9 100644 --- a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C +++ b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/PatchInteractionModel/PatchInteractionModel.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation - \\/ M anipulation | + \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -110,7 +110,9 @@ Foam::PatchInteractionModel::PatchInteractionModel ) : CloudSubModelBase(owner), - UName_("unknown_UName") + UName_("unknown_UName"), + escapedParcels_(0), + escapedMass_(0.0) {}