mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
changed notImplemented(...) to warnings under debug mode
This commit is contained in:
@ -465,7 +465,9 @@ Foam::scalar Foam::CompositionModel<CloudType>::L
|
||||
{
|
||||
case phaseProperties::GAS:
|
||||
{
|
||||
notImplemented
|
||||
if (debug)
|
||||
{
|
||||
WarningIn
|
||||
(
|
||||
"Foam::scalar Foam::CompositionModel<CloudType>::L"
|
||||
"("
|
||||
@ -474,8 +476,8 @@ Foam::scalar Foam::CompositionModel<CloudType>::L
|
||||
"const scalar, "
|
||||
"const scalar"
|
||||
") const\n"
|
||||
"*** No support for gaseous components"
|
||||
);
|
||||
) << "No support for gaseous components" << endl;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case phaseProperties::LIQUID:
|
||||
@ -489,7 +491,9 @@ Foam::scalar Foam::CompositionModel<CloudType>::L
|
||||
}
|
||||
case phaseProperties::SOLID:
|
||||
{
|
||||
notImplemented
|
||||
if (debug)
|
||||
{
|
||||
WarningIn
|
||||
(
|
||||
"Foam::scalar Foam::CompositionModel<CloudType>::L"
|
||||
"("
|
||||
@ -498,8 +502,8 @@ Foam::scalar Foam::CompositionModel<CloudType>::L
|
||||
"const scalar, "
|
||||
"const scalar"
|
||||
") const\n"
|
||||
"*** No support for solid components"
|
||||
);
|
||||
) << "No support for solid components" << endl;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user