walker::ctr namespace

Walker control facilitating user input to internal data transfer.

Contents

Classes

class CmdLine
CmdLine : Control< specialized to Walker >, see Types.h.
class CoeffPolicy
CoeffPolicy options: outsource searches to base templated on enum type.
class Depvar
Dependent variable options: outsource to base templated on enum type.
class DiffEq
Class with base templated on the above enum class with associations.
class HydroProductions
HydroProductions options: outsource searches to base templated on enum type.
class HydroTimeScales
HydroTimeScales options: outsource searches to base templated on enum type.
class InitPolicy
InitPolicy options: outsource searches to base templated on enum type.
class InputDeck
InputDeck : Control< specialized to Walker >, see Types.h.
class Normalization
Normalization variants: outsource to base templated on enum type.
class VelocityVariant
Velocity model variants: outsource to base templated on enum type.

Enums

enum class CoeffPolicyType: uint8_t { CONST_COEFF =0, DECAY, HOMOGENEOUS, HOMOGENEOUS_DECAY, MONTE_CARLO_HOMOGENEOUS_DECAY, HYDROTIMESCALE, CONST_SHEAR, STATIONARY, INSTANTANEOUS_VELOCITY }
Differential equation coefficients policy types.
enum class DepvarType: uint8_t { FULLVAR =0, FLUCTUATION }
Dependent variable options types.
enum class DiffEqType: uint8_t { NO_DIFFEQ =0, OU, DIAG_OU, SKEWNORMAL, GAMMA, BETA, NUMFRACBETA, MASSFRACBETA, MIXNUMFRACBETA, MIXMASSFRACBETA, DIRICHLET, MIXDIRICHLET, GENDIR, WRIGHTFISHER, POSITION, DISSIPATION, VELOCITY }
Differential equation types.
enum class HydroProductionsType: uint8_t { PROD_A005H =0, PROD_A005S, PROD_A005L, PROD_A05H, PROD_A05S, PROD_A05L, PROD_A075H, PROD_A075S, PROD_A075L }
Hydrodynamics production divided by dissipation rate types.
enum class HydroTimeScalesType: uint8_t { EQ_A005H =0, EQ_A005S, EQ_A005L, EQ_A05H, EQ_A05S, EQ_A05L, EQ_A075H, EQ_A075S, EQ_A075L }
Inverse hydrodynamics time scale types.
enum class InitPolicyType: uint8_t { RAW =0, ZERO, JOINTDELTA, JOINTGAUSSIAN, JOINTCORRGAUSSIAN, JOINTBETA, JOINTGAMMA, JOINTDIRICHLET }
Differential equation initializion policy types.
enum class NormalizationType: uint8_t { LIGHT =0, HEAVY }
Normalization types.
enum class VelocityVariantType: uint8_t { SLM =0, GLM }
Velocity model variant types.

Typedefs

using ncomps = tk::ctr::ncomponents<tag::dirichlet, std::vector<tk::ctr::ncomp_type>, tag::mixdirichlet, std::vector<tk::ctr::ncomp_type>, tag::gendir, std::vector<tk::ctr::ncomp_type>, tag::wrightfisher, std::vector<tk::ctr::ncomp_type>, tag::diagou, std::vector<tk::ctr::ncomp_type>, tag::ou, std::vector<tk::ctr::ncomp_type>, tag::skewnormal, std::vector<tk::ctr::ncomp_type>, tag::gamma, std::vector<tk::ctr::ncomp_type>, tag::beta, std::vector<tk::ctr::ncomp_type>, tag::numfracbeta, std::vector<tk::ctr::ncomp_type>, tag::massfracbeta, std::vector<tk::ctr::ncomp_type>, tag::mixnumfracbeta, std::vector<tk::ctr::ncomp_type>, tag::mixmassfracbeta, std::vector<tk::ctr::ncomp_type>, tag::velocity, std::vector<tk::ctr::ncomp_type>, tag::position, std::vector<tk::ctr::ncomp_type>, tag::dissipation, std::vector<tk::ctr::ncomp_type>>
Number of components of systems of equations.
using DiffEqKey = tk::tuple::tagged_tuple<tag::diffeq, DiffEqType, tag::initpolicy, ctr::InitPolicyType, tag::coeffpolicy, ctr::CoeffPolicyType>
Differential equation key used to access a diff eq in a factory.
using selects = tk::tuple::tagged_tuple<tag::diffeq, std::vector<ctr::DiffEqType>, tag::rng, std::vector<tk::ctr::RNGType>, tag::filetype, tk::ctr::PDFFileType, tag::pdfpolicy, tk::ctr::PDFPolicyType, tag::pdfctr, tk::ctr::PDFCenteringType>
Storage of selected options.
using discretization = tk::tuple::tagged_tuple<tag::npar, kw::npar::info::expect::type, tag::nstep, kw::nstep::info::expect::type, tag::term, kw::term::info::expect::type, tag::dt, kw::dt::info::expect::type, tag::binsize, std::vector<std::vector<tk::real>>, tag::extent, std::vector<std::vector<tk::real>>>
Discretization parameters storage.
using precision = tk::tuple::tagged_tuple<tag::stat, kw::precision::info::expect::type, tag::pdf, kw::precision::info::expect::type>
ASCII output floating-point precision in digits.
using floatformat = tk::tuple::tagged_tuple<tag::stat, tk::ctr::TxtFloatFormatType, tag::pdf, tk::ctr::TxtFloatFormatType>
ASCII output floating-point format.
using intervals = tk::tuple::tagged_tuple<tag::tty, kw::ttyi::info::expect::type, tag::stat, kw::interval::info::expect::type, tag::pdf, kw::interval::info::expect::type>
Output intervals storage.
using ios = tk::tuple::tagged_tuple<tag::control, kw::control::info::expect::type, tag::input, std::string, tag::output, std::string, tag::pdf, kw::pdf::info::expect::type, tag::stat, kw::stat::info::expect::type, tag::pdfnames, std::vector<std::string>>
IO parameters storage.
using Init = tk::tuple::tagged_tuple<tag::spike, std::vector<std::vector<std::vector<kw::spike::info::expect::type>>>, tag::betapdf, std::vector<std::vector<std::vector<kw::betapdf::info::expect::type>>>, tag::gamma, std::vector<std::vector<std::vector<kw::gammapdf::info::expect::type>>>, tag::dirichlet, std::vector<std::vector<kw::dirichletpdf::info::expect::type>>, tag::gaussian, std::vector<std::vector<std::vector<kw::gaussian::info::expect::type>>>, tag::mean, std::vector<std::vector<kw::sde_mu::info::expect::type>>, tag::cov, std::vector<std::vector<kw::sde_cov::info::expect::type>>, tag::jointgaussian, std::vector<std::vector<std::vector<kw::gaussian::info::expect::type>>>>
Data for initialization (SDE initial conditions)
using DirichletParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::b, std::vector<std::vector<kw::sde_b::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappa, std::vector<std::vector<kw::sde_kappa::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Dirichlet parameters storage.
using MixDirichletParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::b, std::vector<std::vector<kw::sde_b::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappa, std::vector<std::vector<kw::sde_kappa::info::expect::type>>, tag::kappaprime, std::vector<std::vector<kw::sde_kappaprime::info::expect::type>>, tag::rho, std::vector<std::vector<kw::sde_rho::info::expect::type>>, tag::normalization, std::vector<ctr::NormalizationType>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Mixture Dirichlet parameters storage.
using GenDirichletParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::b, std::vector<std::vector<kw::sde_b::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappa, std::vector<std::vector<kw::sde_kappa::info::expect::type>>, tag::c, std::vector<std::vector<kw::sde_c::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Generalized Dirichlet parameters storage.
using WrightFisherParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::omega, std::vector<std::vector<kw::sde_omega::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Wright-Fisher parameters storage.
using OrnsteinUhlenbeckParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::sigmasq, std::vector<std::vector<kw::sde_sigmasq::info::expect::type>>, tag::theta, std::vector<std::vector<kw::sde_theta::info::expect::type>>, tag::mu, std::vector<std::vector<kw::sde_mu::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Ornstein-Uhlenbeck parameters storage.
using DiagOrnsteinUhlenbeckParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::sigmasq, std::vector<std::vector<kw::sde_sigmasq::info::expect::type>>, tag::theta, std::vector<std::vector<kw::sde_theta::info::expect::type>>, tag::mu, std::vector<std::vector<kw::sde_mu::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Diagonal Ornstein-Uhlenbeck parameters storage.
using SkewNormalParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::timescale, std::vector<std::vector<kw::sde_T::info::expect::type>>, tag::sigmasq, std::vector<std::vector<kw::sde_sigmasq::info::expect::type>>, tag::lambda, std::vector<std::vector<kw::sde_lambda::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Skew-normal parameters storage.
using GammaParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::b, std::vector<std::vector<kw::sde_b::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappa, std::vector<std::vector<kw::sde_kappa::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Gamma parameters storage.
using BetaParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::b, std::vector<std::vector<kw::sde_b::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappa, std::vector<std::vector<kw::sde_kappa::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Beta parameters storage.
using NumberFractionBetaParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::b, std::vector<std::vector<kw::sde_b::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappa, std::vector<std::vector<kw::sde_kappa::info::expect::type>>, tag::rho2, std::vector<std::vector<kw::sde_rho2::info::expect::type>>, tag::rcomma, std::vector<std::vector<kw::sde_rcomma::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Number-fraction beta parameters storage.
using MassFractionBetaParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::b, std::vector<std::vector<kw::sde_b::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappa, std::vector<std::vector<kw::sde_kappa::info::expect::type>>, tag::rho2, std::vector<std::vector<kw::sde_rho2::info::expect::type>>, tag::r, std::vector<std::vector<kw::sde_rcomma::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Mass-fraction beta parameters storage.
using MixNumberFractionBetaParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::bprime, std::vector<std::vector<kw::sde_bprime::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappaprime, std::vector<std::vector<kw::sde_kappaprime::info::expect::type>>, tag::rho2, std::vector<std::vector<kw::sde_rho2::info::expect::type>>, tag::rcomma, std::vector<std::vector<kw::sde_rcomma::info::expect::type>>, tag::init, Init, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>>
Mix number-fraction beta parameters storage.
using MixMassFractionBetaParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::bprime, std::vector<std::vector<kw::sde_bprime::info::expect::type>>, tag::S, std::vector<std::vector<kw::sde_S::info::expect::type>>, tag::kappaprime, std::vector<std::vector<kw::sde_kappaprime::info::expect::type>>, tag::rho2, std::vector<std::vector<kw::sde_rho2::info::expect::type>>, tag::r, std::vector<std::vector<kw::sde_r::info::expect::type>>, tag::init, Init, tag::mean_gradient, std::vector<std::vector<kw::mean_gradient::info::expect::type>>, tag::hydrotimescales, std::vector<std::vector<ctr::HydroTimeScalesType>>, tag::hydroproductions, std::vector<std::vector<ctr::HydroProductionsType>>, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>, tag::solve, std::vector<ctr::DepvarType>, tag::dissipation, std::vector<char>, tag::dissipation_id, std::vector<std::size_t>, tag::velocity, std::vector<char>, tag::velocity_id, std::vector<std::size_t>>
Mix mass-fraction beta parameters storage.
using VelocityParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::c0, std::vector<kw::sde_c0::info::expect::type>, tag::position, std::vector<char>, tag::position_id, std::vector<std::size_t>, tag::dissipation, std::vector<char>, tag::dissipation_id, std::vector<std::size_t>, tag::mixmassfracbeta, std::vector<char>, tag::mixmassfracbeta_id, std::vector<std::size_t>, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>, tag::solve, std::vector<ctr::DepvarType>, tag::variant, std::vector<ctr::VelocityVariantType>, tag::init, Init, tag::hydrotimescales, std::vector<std::vector<ctr::HydroTimeScalesType>>, tag::hydroproductions, std::vector<std::vector<ctr::HydroProductionsType>>>
Velocity parameters storage.
using PositionParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::velocity, std::vector<char>, tag::velocity_id, std::vector<std::size_t>, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>, tag::solve, std::vector<ctr::DepvarType>, tag::init, Init>
Position parameters storage.
using DissipationParameters = tk::tuple::tagged_tuple<tag::depvar, std::vector<char>, tag::velocity, std::vector<char>, tag::velocity_id, std::vector<std::size_t>, tag::c3, std::vector<kw::sde_c3::info::expect::type>, tag::c4, std::vector<kw::sde_c4::info::expect::type>, tag::com1, std::vector<kw::sde_com1::info::expect::type>, tag::com2, std::vector<kw::sde_com2::info::expect::type>, tag::rng, std::vector<tk::ctr::RNGType>, tag::initpolicy, std::vector<ctr::InitPolicyType>, tag::coeffpolicy, std::vector<ctr::CoeffPolicyType>, tag::init, Init>
Dissipation parameters storage.
using parameters = tk::tuple::tagged_tuple<tag::rngmkl, tk::ctr::RNGMKLParameters, tag::rngsse, tk::ctr::RNGSSEParameters, tag::rng123, tk::ctr::RNGRandom123Parameters, tag::dirichlet, DirichletParameters, tag::mixdirichlet, MixDirichletParameters, tag::gendir, GenDirichletParameters, tag::wrightfisher, WrightFisherParameters, tag::ou, OrnsteinUhlenbeckParameters, tag::diagou, DiagOrnsteinUhlenbeckParameters, tag::skewnormal, SkewNormalParameters, tag::gamma, GammaParameters, tag::beta, BetaParameters, tag::numfracbeta, NumberFractionBetaParameters, tag::massfracbeta, MassFractionBetaParameters, tag::mixnumfracbeta, MixNumberFractionBetaParameters, tag::mixmassfracbeta, MixMassFractionBetaParameters, tag::velocity, VelocityParameters, tag::position, PositionParameters, tag::dissipation, DissipationParameters>
Parameters storage.

Functions

void operator|(PUP::er& p, CoeffPolicyType& e)
Pack/Unpack CoeffPolicyType: forward overload to generic enum class packer.
void operator|(PUP::er& p, DepvarType& e)
Pack/Unpack DepvarType: forward overload to generic enum class packer.
void operator|(PUP::er& p, DiffEqType& e)
Pack/Unpack: forward overload to generic enum class packer.
void operator|(PUP::er& p, HydroProductionsType& e)
Pack/Unpack HydroProductionsType: forward overload to generic enum class packer.
void operator|(PUP::er& p, HydroTimeScalesType& e)
Pack/Unpack HydroTimeScalesType: forward overload to generic enum class packer.
void operator|(PUP::er& p, InitPolicyType& e)
Pack/Unpack InitPolicyType: forward overload to generic enum class packer.
void operator|(PUP::er& p, NormalizationType& e)
Pack/Unpack NormalizationType: forward overload to generic enum class packer.
void operator|(PUP::er& p, VelocityVariantType& e)
Pack/Unpack VelocityVariantType: forward overload to generic enum class packer.