Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

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