inciter::ctr::AMRInitial class

AMRInitial options: outsource searches to base templated on enum type.

Base classes

template<typename Enum>
class tk::Toggle
Toggle is the base for an Option, doing generic searches.

Public types

using keywords = brigand::list<kw::amr_uniform, kw::amr_uniform_derefine, kw::amr_initial_conditions, kw::amr_edgelist, kw::amr_coords>
Valid expected choices to make them also available at compile-time.

Constructors, destructors, conversion operators

AMRInitial() explicit
Options constructor.

Public functions

auto code(AMRInitialType p) const -> const std::string&
Return policy code based on Enum.

Function documentation

inciter::ctr::AMRInitial::AMRInitial() explicit

Options constructor.

Simply initialize in-line and pass associations to base, which will handle client interactions

const std::string& inciter::ctr::AMRInitial::code(AMRInitialType p) const

Return policy code based on Enum.

in Enum value of the option requested
Returns Policy code of the option