| 64 | // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // |
| 65 | |
| 66 | void Foam::scotchDecomp::check(const int retVal, const char* str) |
| 67 | { |
| 68 | if (retVal) |
| 69 | { |
| 70 | FatalErrorInFunction |
| 71 | << "Call to scotch routine " << str << " failed." |
| 72 | << exit(FatalError); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | |
| 77 | Foam::label Foam::scotchDecomp::decompose |