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

◆ PDDrandMassBalance()

pism::surface::PDDrandMassBalance::PDDrandMassBalance ( std::shared_ptr< const Config 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.