mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the function signature string.
This commit is contained in:
@ -288,7 +288,7 @@ Foam::multiphaseMixture::surfaceTensionForce() const
|
||||
|
||||
if (sigma == sigmas_.end())
|
||||
{
|
||||
FatalErrorIn("multiphaseMixture::surfaceTensionForce() const")
|
||||
FatalErrorInFunction
|
||||
<< "Cannot find interface " << interfacePair(alpha1, alpha2)
|
||||
<< " in list of sigma values"
|
||||
<< exit(FatalError);
|
||||
@ -442,12 +442,8 @@ void Foam::multiphaseMixture::correctContactAngle
|
||||
|
||||
if (tp == acap.thetaProps().end())
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"multiphaseMixture::correctContactAngle"
|
||||
"(const phase& alpha1, const phase& alpha2, "
|
||||
"fvPatchVectorFieldField& nHatb) const"
|
||||
) << "Cannot find interface " << interfacePair(alpha1, alpha2)
|
||||
FatalErrorInFunction
|
||||
<< "Cannot find interface " << interfacePair(alpha1, alpha2)
|
||||
<< "\n in table of theta properties for patch "
|
||||
<< acap.patch().name()
|
||||
<< exit(FatalError);
|
||||
|
||||
Reference in New Issue
Block a user