From 7520bd7c6774698ca73bbec816900b7cd72db861 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 25 Sep 2019 09:14:55 +0100 Subject: [PATCH] FatalErrorInFunction --- src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.C | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.C b/src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.C index 89242c55c..b3dacb7a6 100644 --- a/src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.C +++ b/src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.C @@ -608,15 +608,7 @@ void Foam::fvMatrix::setReference if (celli >= diag().size()) { - FatalErrorIn - ( - "fvMatrix::setReference" - "(" - "const label celli, " - "const Type& value, " - "const bool forceReference" - ")" - ) + FatalErrorInFunction << "celli out of bound" << abort(FatalError); }