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())
|
if (rhoc_ < td.cloud().constProps().rhoMin())
|
||||||
{
|
{
|
||||||
WarningIn
|
if (debug)
|
||||||
(
|
{
|
||||||
"void Foam::KinematicParcel<ParcelType>::setCellValues"
|
WarningIn
|
||||||
"("
|
(
|
||||||
"TrackData&, "
|
"void Foam::KinematicParcel<ParcelType>::setCellValues"
|
||||||
"const scalar, "
|
"("
|
||||||
"const label"
|
"TrackData&, "
|
||||||
")"
|
"const scalar, "
|
||||||
) << "Limiting observed density in cell " << cellI << " to "
|
"const label"
|
||||||
<< td.cloud().constProps().rhoMin() << nl << endl;
|
")"
|
||||||
|
) << "Limiting observed density in cell " << cellI << " to "
|
||||||
|
<< td.cloud().constProps().rhoMin() << nl << endl;
|
||||||
|
}
|
||||||
|
|
||||||
rhoc_ = td.cloud().constProps().rhoMin();
|
rhoc_ = td.cloud().constProps().rhoMin();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user