mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Cloud.H: protect remainder for tracking rescue message
This commit is contained in:
@ -193,7 +193,7 @@ public:
|
||||
void trackingRescue() const
|
||||
{
|
||||
nTrackingRescues_++;
|
||||
if (cloud::debug && nTrackingRescues_ % size() == 0)
|
||||
if (cloud::debug && size() && (nTrackingRescues_ % size() == 0))
|
||||
{
|
||||
Pout<< " " << nTrackingRescues_
|
||||
<< " tracking rescues " << endl;
|
||||
|
||||
Reference in New Issue
Block a user