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

◆ regrid_layer_thickness()

static std::shared_ptr<array::Array3D> pism::details::regrid_layer_thickness ( std::shared_ptr< const Grid grid,
const File input_file,
int  record 
)
static

Read layer deposition times and layer thicknesses from input_file.

Uses bilinear interpolation in the X and Y directions.

Definition at line 237 of file Isochrones.cc.

References allocate_layer_thickness(), pism::LocalInterpCtx::count, deposition_times(), pism::File::find_variable(), pism::petsc::VecArray::get(), pism::k, pism::LINEAR, pism::NEAREST, pism::io::regrid_spatial_variable(), pism::LocalInterpCtx::start, pism::T_AXIS, pism::LocalInterpCtx::z, and pism::Z_AXIS.

Referenced by pism::Isochrones::initialize().