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

◆ PDDrandMassBalance()

pism::surface::PDDrandMassBalance::PDDrandMassBalance ( Config::ConstPtr  config,
units::System::Ptr  system,
Kind  kind 
)

Initializes the random number generator (RNG). The RNG is GSL's recommended default, which seems to be "mt19937" and is DIEHARD (whatever that means ...). Seed with wall clock time in seconds in non-repeatable case, and with 0 in repeatable case.

Definition at line 300 of file localMassBalance.cc.

References m_impl, pism::surface::LocalMassBalance::m_method, NOT_REPEATABLE, REPEATABLE, and pism::surface::PDDrandMassBalance::Impl::rng.