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_type e, tk::ctr::ncomp_type ncomp, tk::ctr::ncomp_type 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_type e, tk::ctr::ncomp_type ncomp, tk::ctr::ncomp_type offset)

Initialize particle properties by sampling from a Dirichlet distribution