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

◆ check_grid_overlap()

static void pism::io::check_grid_overlap ( const grid::InputGridInfo input,
const Grid internal,
const std::vector< double > &  z_internal 
)
static

Check the overlap of the input grid and the internal grid.

Set allow_extrapolation to true to "extend" the vertical grid during "bootstrapping".

Definition at line 687 of file io_helpers.cc.

References pism::grid::InputGridInfo::filename, pism::RuntimeError::formatted(), pism::grid::InputGridInfo::Lx, pism::grid::InputGridInfo::Ly, PISM_ERROR_LOCATION, pism::grid::InputGridInfo::x0, pism::grid::InputGridInfo::y0, pism::grid::InputGridInfo::z, pism::grid::InputGridInfo::z_max, and pism::grid::InputGridInfo::z_min.

Referenced by check_input_grid().