PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ 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 300 of file Isochrones.cc.

References deposition_times().

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