ENH: Updated Info, Warning and Error messages

This commit is contained in:
Andrew Heather
2015-12-08 11:15:39 +00:00
parent ae95edeea4
commit eafd5a3850
94 changed files with 351 additions and 1040 deletions

View File

@ -32,10 +32,8 @@ bool Foam::functionObjectState::setActive()
if (!isA<Type>(obr_))
{
WarningIn
(
"void Foam::functionObjectState::setActive()"
) << "No " << Type::typeName << " available, deactivating " << name_
WarningInFunction
<< "No " << Type::typeName << " available, deactivating " << name_
<< endl;
active_ = false;