From cb45c789b5cb528980d2ced637b615bf56e9c804 Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 11 Nov 2010 10:28:27 +0000 Subject: [PATCH] ENH: Moved cloud warning inside debug clause --- src/lagrangian/basic/Cloud/CloudIO.C | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lagrangian/basic/Cloud/CloudIO.C b/src/lagrangian/basic/Cloud/CloudIO.C index c18174baec..11c0c5125e 100644 --- a/src/lagrangian/basic/Cloud/CloudIO.C +++ b/src/lagrangian/basic/Cloud/CloudIO.C @@ -121,9 +121,12 @@ void Foam::Cloud::initCloud(const bool checkClass) } else { - Pout<< "Cannot read particle positions file:" << nl - << " " << ioP.path() << nl - << "Assuming the initial cloud contains 0 particles." << endl; + if (debug) + { + Pout<< "Cannot read particle positions file:" << nl + << " " << ioP.objectPath() << nl + << "Assuming the initial cloud contains 0 particles." << endl; + } } // Ask for the tetBasePtIs to trigger all processors to build