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,17 +465,19 @@ Foam::scalar Foam::CompositionModel<CloudType>::L
|
|||||||
{
|
{
|
||||||
case phaseProperties::GAS:
|
case phaseProperties::GAS:
|
||||||
{
|
{
|
||||||
notImplemented
|
if (debug)
|
||||||
(
|
{
|
||||||
"Foam::scalar Foam::CompositionModel<CloudType>::L"
|
WarningIn
|
||||||
"("
|
(
|
||||||
"const label, "
|
"Foam::scalar Foam::CompositionModel<CloudType>::L"
|
||||||
"const scalarField&, "
|
"("
|
||||||
"const scalar, "
|
"const label, "
|
||||||
"const scalar"
|
"const scalarField&, "
|
||||||
") const\n"
|
"const scalar, "
|
||||||
"*** No support for gaseous components"
|
"const scalar"
|
||||||
);
|
") const\n"
|
||||||
|
) << "No support for gaseous components" << endl;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case phaseProperties::LIQUID:
|
case phaseProperties::LIQUID:
|
||||||
@ -489,17 +491,19 @@ Foam::scalar Foam::CompositionModel<CloudType>::L
|
|||||||
}
|
}
|
||||||
case phaseProperties::SOLID:
|
case phaseProperties::SOLID:
|
||||||
{
|
{
|
||||||
notImplemented
|
if (debug)
|
||||||
(
|
{
|
||||||
"Foam::scalar Foam::CompositionModel<CloudType>::L"
|
WarningIn
|
||||||
"("
|
(
|
||||||
"const label, "
|
"Foam::scalar Foam::CompositionModel<CloudType>::L"
|
||||||
"const scalarField&, "
|
"("
|
||||||
"const scalar, "
|
"const label, "
|
||||||
"const scalar"
|
"const scalarField&, "
|
||||||
") const\n"
|
"const scalar, "
|
||||||
"*** No support for solid components"
|
"const scalar"
|
||||||
);
|
") const\n"
|
||||||
|
) << "No support for solid components" << endl;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user