PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

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