Template Struct cmesh_cartesian_product_with_rules
Defined in File t8_gtest_cmesh_cartesian_product.hxx
Inheritance Relationships
Base Type
public example_set(Struct example_set)
Struct Documentation
-
template<class ...Iter>
struct cmesh_cartesian_product_with_rules : public example_set Variadic template class that creates an example_set based on the cartesian product of the input parameters.
- Template Parameters:
Iter –
Public Functions
-
inline cmesh_cartesian_product_with_rules()
Default constructor without parameters.
-
inline cmesh_cartesian_product_with_rules(std::pair<Iter, Iter>... ranges, std::function<t8_cmesh_t(typename Iter::value_type...)> cmesh_function, std::function<std::string(const typename Iter::value_type&...)> param_to_string, std::function<bool(typename Iter::value_type...)> rule, std::string name)
Constructor with parameters.
- Parameters:
ranges – [in] Pairs of parameter ranges for each Iter type.
cmesh_function – [in] Function to create a cmesh from parameter values.
param_to_string – [in] Function to convert parameter values to a string.
rule – [in] A function that returns true if a parameter combination is permissible, false otherwise.
name – [in] of the example set of cmeshes.