mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the function signature string.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user