PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ check_and_abort()

static void pism::io::check_and_abort ( MPI_Comm  com,
const ErrorLocation where,
int  return_code 
)
static

call MPI_Abort() if a NetCDF call failed

Definition at line 48 of file NC_Serial.cc.

References pism::ErrorLocation::filename, and pism::ErrorLocation::line_number.

Referenced by pism::io::NC_Serial::get_var_double(), and pism::io::NC_Serial::put_vara_double_impl().