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 InputDeck
InputDeck : 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 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, PRODUCT, FLUCTUATING_MOMENTUM }
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 CmdLineMembers = brigand::list<tag::io, ios, tag::virtualization, kw::virtualization::info::expect::type, tag::verbose, bool, tag::chare, bool, tag::help, bool, tag::helpctr, bool, tag::quiescence, bool, tag::trace, bool, tag::version, bool, tag::license, bool, tag::cmdinfo, tk::ctr::HelpFactory, tag::ctrinfo, tk::ctr::HelpFactory, tag::helpkw, tk::ctr::HelpKw, tag::error, std::vector<std::string>>
Member data for tagged tuple.
using ncomps = tk::ctr::ncomponents<tag::dirichlet, tag::mixdirichlet, tag::gendir, tag::wrightfisher, tag::diagou, tag::ou, tag::skewnormal, tag::gamma, tag::beta, tag::numfracbeta, tag::massfracbeta, tag::mixnumfracbeta, tag::mixmassfracbeta, tag::velocity, tag::position, tag::dissipation>
Number of components storage for all systems of equations supported.
using InputDeckMembers = brigand::list<tag::cmd, CmdLine, tag::title, kw::title::info::expect::type, tag::selected, selects, tag::discr, discretization, tag::prec, precision, tag::flformat, floatformat, tag::component, ncomps, tag::output, output_parameters, tag::param, parameters, tag::stat, std::vector<tk::ctr::Product>, tag::pdf, std::vector<tk::ctr::Probability>, tag::error, std::vector<std::string>>
Member data for tagged tuple.
using DiffEqKey = tk::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<tag::stat, kw::precision::info::expect::type, tag::pdf, kw::precision::info::expect::type>>
ASCII output floating-point precision in digits.
using floatformat = tk::TaggedTuple<brigand::list<tag::stat, tk::ctr::TxtFloatFormatType, tag::pdf, tk::ctr::TxtFloatFormatType>>
ASCII output floating-point format.
using interval_iter = tk::TaggedTuple<brigand::list<tag::tty, kw::ttyi::info::expect::type, tag::stat, kw::interval_iter::info::expect::type, tag::particles, kw::interval_iter::info::expect::type, tag::pdf, kw::interval_iter::info::expect::type>>
Output intervals in units of iteration count.
using output_parameters = tk::TaggedTuple<brigand::list<tag::iter, interval_iter>>
Output configuration parameters.
using ios = tk::TaggedTuple<brigand::list<tag::nrestart, int, tag::control, kw::control::info::expect::type, tag::input, std::string, tag::output, std::string, tag::screen, kw::screen::info::expect::type, tag::pdf, kw::pdf::info::expect::type, tag::stat, kw::stat::info::expect::type, tag::particles, std::string, tag::pdfnames, std::vector<std::string>>>
IO parameters storage.
using Init = tk::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<tag::depvar, std::vector<char>, tag::c0, std::vector<kw::sde_c0::info::expect::type>, tag::gravity, std::vector<std::vector<kw::gravity::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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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::TaggedTuple<brigand::list<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.