From 568a927388f1f1d7d571e5cf4fddba0d8776807f Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 10 Apr 2017 11:42:59 +0100 Subject: [PATCH] Better error messaging for coupled patches --- .../fields/fvPatchFields/constraint/ggi/ggiFvPatchField.H | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/ggi/ggiFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/constraint/ggi/ggiFvPatchField.H index 315e2d1e0..85c9079e6 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/ggi/ggiFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/constraint/ggi/ggiFvPatchField.H @@ -198,11 +198,13 @@ public: Field& f ) const { - notImplemented + FatalErrorIn ( "ggiFvPatchField::transformCoupleField" "(Field& f) const" - ); + ) << "transformCoupleField not implemented for patch " + << this->patch().name() + << abort(FatalError); } //- Initialise neighbour matrix update