mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: LocalInteraction - do not reset list to zero
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -298,7 +298,7 @@ void Foam::LocalInteraction<CloudType>::info(Ostream& os)
|
|||||||
this->getModelProperty("massStick", mps0);
|
this->getModelProperty("massStick", mps0);
|
||||||
|
|
||||||
// accumulate current data
|
// accumulate current data
|
||||||
labelList npe(nEscape_, 0);
|
labelList npe(nEscape_);
|
||||||
Pstream::listCombineGather(npe, plusEqOp<label>());
|
Pstream::listCombineGather(npe, plusEqOp<label>());
|
||||||
npe = npe + npe0;
|
npe = npe + npe0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user