MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / check_err

Function check_err

preprocessing/science/rconv/src/NRFWriter.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53};
54
55void check_err(const int stat, const int line, const char *file) {
56 if (stat != NC_NOERR) {
57 (void)fprintf(stderr,"line %d of %s: %s\n", line, file, nc_strerror(stat));
58 fflush(stderr);
59 exit(1);
60 }
61}
62
63void writeNRF(char const* filename, std::vector<SRFPointSource> const& sources, Map const& map, bool normalizeOnset)
64{

Callers 1

writeNRFFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected