PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().