Skip to content
Snippets Groups Projects
Commit f27c3cff authored by Andrew Heather's avatar Andrew Heather
Browse files

changed notImplemented(...) to warnings under debug mode

parent b02f6145
Branches
Tags
No related merge requests found
......@@ -465,17 +465,19 @@ Foam::scalar Foam::CompositionModel<CloudType>::L
{
case phaseProperties::GAS:
{
notImplemented
(
"Foam::scalar Foam::CompositionModel<CloudType>::L"
"("
"const label, "
"const scalarField&, "
"const scalar, "
"const scalar"
") const\n"
"*** No support for gaseous components"
);
if (debug)
{
WarningIn
(
"Foam::scalar Foam::CompositionModel<CloudType>::L"
"("
"const label, "
"const scalarField&, "
"const scalar, "
"const scalar"
") const\n"
) << "No support for gaseous components" << endl;
}
break;
}
case phaseProperties::LIQUID:
......@@ -489,17 +491,19 @@ Foam::scalar Foam::CompositionModel<CloudType>::L
}
case phaseProperties::SOLID:
{
notImplemented
(
"Foam::scalar Foam::CompositionModel<CloudType>::L"
"("
"const label, "
"const scalarField&, "
"const scalar, "
"const scalar"
") const\n"
"*** No support for solid components"
);
if (debug)
{
WarningIn
(
"Foam::scalar Foam::CompositionModel<CloudType>::L"
"("
"const label, "
"const scalarField&, "
"const scalar, "
"const scalar"
") const\n"
) << "No support for solid components" << endl;
}
break;
}
default:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment