walker::InitGamma struct

Gamma initialization policy: generate samples from a joint gamma PDF.

Contents

Public static functions

template<class eq>
static void init(const ctr::InputDeck& deck, const tk::RNG& rng, int stream, tk::Particles& particles, tk::ctr::ncomp_t e, tk::ctr::ncomp_t ncomp, tk::ctr::ncomp_t offset)
Initialize particle properties by sampling from a joint gamma distribution.