From a40bfad1c931ece4452bf4270987b649f724771f Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 30 Nov 2010 21:29:11 +0000 Subject: [PATCH] BUG: ptscotchDecomp : consistent dummy variant --- .../ptscotchDecomp/dummyPtscotchDecomp.C | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/src/dummyThirdParty/ptscotchDecomp/dummyPtscotchDecomp.C b/src/dummyThirdParty/ptscotchDecomp/dummyPtscotchDecomp.C index 9e59239fd1..d4c2802d58 100644 --- a/src/dummyThirdParty/ptscotchDecomp/dummyPtscotchDecomp.C +++ b/src/dummyThirdParty/ptscotchDecomp/dummyPtscotchDecomp.C @@ -58,13 +58,35 @@ void Foam::ptscotchDecomp::check(const int retVal, const char* str) {} +Foam::label Foam::ptscotchDecomp::decomposeZeroDomains +( + const List& initxadj, + const List& initadjncy, + const scalarField& initcWeights, + + List& finalDecomp +) const +{ + FatalErrorIn + ( + "label ptscotchDecomp::decompose" + "(" + "const List&, " + "const List&, " + "const scalarField&, " + "List&" + ")" + ) << notImplementedMessage << exit(FatalError); + + return -1; +} Foam::label Foam::ptscotchDecomp::decompose ( - List& adjncy, - List& xadj, + const List& adjncy, + const List& xadj, const scalarField& cWeights, List& finalDecomp -) +) const { FatalErrorIn (