Skip to content
Snippets Groups Projects
Commit a1e9e518 authored by andy's avatar andy
Browse files

BUG: LocalInteraction - do not reset list to zero

parent 61d7e8fc
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -298,7 +298,7 @@ void Foam::LocalInteraction<CloudType>::info(Ostream& os)
this->getModelProperty("massStick", mps0);
// accumulate current data
labelList npe(nEscape_, 0);
labelList npe(nEscape_);
Pstream::listCombineGather(npe, plusEqOp<label>());
npe = npe + npe0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment