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

◆ n_active_layers()

static size_t pism::details::n_active_layers ( std::vector< double >  deposition_times,
double  current_time 
)
static

Compute the number of "active" layers in deposition_times.

A layer is "active" if the model reached its deposition time.

Definition at line 293 of file Isochrones.cc.

References deposition_times().

Referenced by pism::Isochrones::bootstrap(), pism::Isochrones::initialize(), and pism::Isochrones::Isochrones().