MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / check

Function check

src/parallel/decompose/scotchDecomp/scotchDecomp.C:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
65
66void 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
77Foam::label Foam::scotchDecomp::decompose

Callers 1

scotchDecomp.CFile · 0.70

Calls 1

exitFunction · 0.50

Tested by

no test coverage detected