mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: encapsulated warning msg in dedug scope
This commit is contained in:
@ -42,16 +42,19 @@ void Foam::KinematicParcel<ParcelType>::setCellValues
|
||||
|
||||
if (rhoc_ < td.cloud().constProps().rhoMin())
|
||||
{
|
||||
WarningIn
|
||||
(
|
||||
"void Foam::KinematicParcel<ParcelType>::setCellValues"
|
||||
"("
|
||||
"TrackData&, "
|
||||
"const scalar, "
|
||||
"const label"
|
||||
")"
|
||||
) << "Limiting observed density in cell " << cellI << " to "
|
||||
<< td.cloud().constProps().rhoMin() << nl << endl;
|
||||
if (debug)
|
||||
{
|
||||
WarningIn
|
||||
(
|
||||
"void Foam::KinematicParcel<ParcelType>::setCellValues"
|
||||
"("
|
||||
"TrackData&, "
|
||||
"const scalar, "
|
||||
"const label"
|
||||
")"
|
||||
) << "Limiting observed density in cell " << cellI << " to "
|
||||
<< td.cloud().constProps().rhoMin() << nl << endl;
|
||||
}
|
||||
|
||||
rhoc_ = td.cloud().constProps().rhoMin();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user