MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / BoutParallelThrowRhsFail

Function BoutParallelThrowRhsFail

src/sys/boutexception.cxx:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void BoutParallelThrowRhsFail(int status, const char* message) {
25 int allstatus;
26 MPI_Allreduce(&status, &allstatus, 1, MPI_INT, MPI_LOR, BoutComm::get());
27
28 if (allstatus) {
29 throw BoutRhsFail(message);
30 }
31}
32
33BoutException::BoutException(std::string msg) : message(std::move(msg)) {
34 makeBacktrace();

Callers 2

solveMethod · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68