template<template<class> class use, typename keyword, template<class, class...> class store, template<class, class...> class start, template<class, class, class...> class check, typename eq, typename param, typename... xparams>
parameter_vector struct
Match equation/model parameter vector
This structure is used to match a keyword ... end block that contains a list (i.e., a vector) of numbers. The keyword that starts the block is passed in via the 'keyword' template argument. The 'store' argument abstracts away a "functor" used to store the parsed values (usually a push_back operaton on a std::vector. The 'start' argument abstracts away the starter functor used to start the inserting operation before parsing a value (usually a push_back on a vector using the default value constructor). The 'check' argument abstracts away a functor used to do error checking on the value parsed. Arguments 'eq' and 'param' denote two levels of the hierarchy relative to tag::
Derived classes
-
template<class keyword, class eq, class param, class... xparams>struct inciter::deck::pde_parameter_vector
- PDE parameter vector.