PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Namespaces | Macros | Functions
NC_Serial.cc File Reference
#include <mpi.h>
#include "pism/util/io/NC_Serial.hh"
#include <netcdf.h>
#include <cstdio>
#include "pism/util/pism_utilities.hh"
#include "pism/util/error_handling.hh"
#include "pism/util/io/pism_type_conversion.hh"

Go to the source code of this file.

Namespaces

 pism
 
 pism::io
 Input and output code (NetCDF wrappers, etc)
 

Macros

#define MPI_INCLUDED   1
 

Functions

static void pism::io::check (const ErrorLocation &where, int return_code)
 Prints an error message; for debugging. More...
 
static void pism::io::check_and_abort (MPI_Comm com, const ErrorLocation &where, int return_code)
 call MPI_Abort() if a NetCDF call failed More...
 
static int pism::io::get_att_text (int ncid, int varid, const std::string &att_name, std::string &result)
 
static int pism::io::get_att_string (int ncid, int varid, const std::string &att_name, std::string &result)