walker::InitDirichlet struct

Dirichlet initialization policy: generate samples from a Dirichlet 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)

Function documentation

template<class eq>
static void walker::InitDirichlet::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 Dirichlet distribution