walker::MixDirichletCoeffConst class

MixDirichlet constant coefficients policity: constants in time.

Public static functions

static auto type() -> ctr::CoeffPolicyType noexcept
Coefficients policy type accessor.

Constructors, destructors, conversion operators

MixDirichletCoeffConst(tk::ctr::ncomp_type ncomp, ctr::NormalizationType norm, const std::vector<kw::sde_b::info::expect::type>& b_, const std::vector<kw::sde_S::info::expect::type>& S_, const std::vector<kw::sde_kappa::info::expect::type>& kprime_, const std::vector<kw::sde_rho::info::expect::type>& rho_, std::vector<kw::sde_b::info::expect::type>& b, std::vector<kw::sde_kappa::info::expect::type>& kprime, std::vector<kw::sde_S::info::expect::type>& S, std::vector<kw::sde_rho::info::expect::type>& rho, std::vector<kw::sde_r::info::expect::type>& r, std::vector<kw::sde_kappa::info::expect::type>& k)
Constructor: initialize coefficients.

Public functions

void update(char depvar, ncomp_t ncomp, ctr::NormalizationType norm, std::size_t density_offset, std::size_t volume_offset, const std::map<tk::ctr::Product, tk::real>& moments, const std::vector<kw::sde_rho::info::expect::type>& rho, const std::vector<kw::sde_r::info::expect::type>& r, const std::vector<kw::sde_kappa::info::expect::type>& kprime, const std::vector<kw::sde_b::info::expect::type>& b, std::vector<kw::sde_kappa::info::expect::type>& k, std::vector<kw::sde_kappa::info::expect::type>& S) const
Update coefficients.

Function documentation

walker::MixDirichletCoeffConst::MixDirichletCoeffConst(tk::ctr::ncomp_type ncomp, ctr::NormalizationType norm, const std::vector<kw::sde_b::info::expect::type>& b_, const std::vector<kw::sde_S::info::expect::type>& S_, const std::vector<kw::sde_kappa::info::expect::type>& kprime_, const std::vector<kw::sde_rho::info::expect::type>& rho_, std::vector<kw::sde_b::info::expect::type>& b, std::vector<kw::sde_kappa::info::expect::type>& kprime, std::vector<kw::sde_S::info::expect::type>& S, std::vector<kw::sde_rho::info::expect::type>& rho, std::vector<kw::sde_r::info::expect::type>& r, std::vector<kw::sde_kappa::info::expect::type>& k)

Constructor: initialize coefficients.

Parameters
ncomp in Number of scalar components in this SDE system
norm in Normalization type (N=heavy or N=light)
b_ in Vector used to initialize coefficient vector b
S_ in Vector used to initialize coefficient vector S
kprime_ in Vector used to initialize coefficient vector kprime and k
rho_ in Vector used to initialize coefficient vector rho and r
in/out Coefficient vector to be initialized
kprime in/out Coefficient vector to be initialized
in/out Coefficient vector to be initialized
rho in/out Coefficient vector to be initialized
in/out Coefficient vector to be initialized
in/out Coefficient vector to be initialized

void walker::MixDirichletCoeffConst::update(char depvar, ncomp_t ncomp, ctr::NormalizationType norm, std::size_t density_offset, std::size_t volume_offset, const std::map<tk::ctr::Product, tk::real>& moments, const std::vector<kw::sde_rho::info::expect::type>& rho, const std::vector<kw::sde_r::info::expect::type>& r, const std::vector<kw::sde_kappa::info::expect::type>& kprime, const std::vector<kw::sde_b::info::expect::type>& b, std::vector<kw::sde_kappa::info::expect::type>& k, std::vector<kw::sde_kappa::info::expect::type>& S) const

Update coefficients.

Parameters
depvar in Dependent variable
ncomp in Number of scalar components in this SDE system
norm in Normalization type (N=heavy or N=light)
density_offset in Offset of particle density in solution array relative to YN
volume_offset in Offset of particle specific volume in solution array relative to YN
moments in Map of statistical moments estimated
rho in Coefficient vector
in Coefficient Vector
kprime in Coefficient vector
in Coefficient vector
in/out Coefficient vector to be updated
in/out Coefficient vector to be updated