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

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