applications: Update ...ErrorIn -> ...ErrorInFunction

Avoids the clutter and maintenance effort associated with providing the
function signature string.
This commit is contained in:
Henry Weller
2015-11-10 17:53:31 +00:00
parent 735ce9cce7
commit e2ef006b91
271 changed files with 851 additions and 1559 deletions

View File

@ -61,10 +61,8 @@
}
else
{
FatalErrorIn
(
"readMechanicalProperties.H"
) << "Valid type entries are uniform or field for rho"
FatalErrorInFunction
<< "Valid type entries are uniform or field for rho"
<< abort(FatalError);
}
@ -119,10 +117,8 @@
}
else
{
FatalErrorIn
(
"readMechanicalProperties.H"
) << "Valid type entries are uniform or field for E"
FatalErrorInFunction
<< "Valid type entries are uniform or field for E"
<< abort(FatalError);
}
@ -175,10 +171,8 @@
}
else
{
FatalErrorIn
(
"readMechanicalProperties.H"
) << "Valid type entries are uniform or field for nu"
FatalErrorInFunction
<< "Valid type entries are uniform or field for nu"
<< abort(FatalError);
}

View File

@ -96,10 +96,8 @@ if (thermalStress)
}
else
{
FatalErrorIn
(
"readThermalProperties.H"
) << "Valid type entries are uniform or field for C"
FatalErrorInFunction
<< "Valid type entries are uniform or field for C"
<< abort(FatalError);
}
@ -154,10 +152,8 @@ if (thermalStress)
}
else
{
FatalErrorIn
(
"readThermalProperties.H"
) << "Valid type entries are uniform or field for K"
FatalErrorInFunction
<< "Valid type entries are uniform or field for K"
<< abort(FatalError);
}
@ -212,10 +208,8 @@ if (thermalStress)
}
else
{
FatalErrorIn
(
"readThermalProperties.H"
) << "Valid type entries are uniform or field for alpha"
FatalErrorInFunction
<< "Valid type entries are uniform or field for alpha"
<< abort(FatalError);
}