|
| template<axom::IndexType MAXMATERIALS> |
| constexpr void | verifyPositiveMaxMaterials () |
| |
| void | verifyMixedField (const conduit::Node &n_field) |
| |
| template<typename FuncType , axom::IndexType MAXMATERIALS = 20> |
| bool | dispatch_material_unibuffer_with_values (const conduit::Node &matset, const conduit::Node &values, FuncType &&func) |
| | Dispatch Conduit nodes containing a unibuffer element-dominant matset and a values array to a function as the appropriate type of matset view. More...
|
| |
| template<typename IntElement > |
| IntElement | getMaterialID (const conduit::Node &matset, const std::string &matName, IntElement defaultValue) |
| | Use the material_map, if it exists, to get the material id of the named material. More...
|
| |
| template<typename FuncType , axom::IndexType MAXMATERIALS = 20> |
| bool | dispatch_material_element_dominant_with_values (const conduit::Node &matset, const conduit::Node &values_object, FuncType &&func) |
| | Dispatch a Conduit node containing a multibuffer element-dominant matset to a function as the appropriate type of matset view. More...
|
| |
| template<typename FuncType , axom::IndexType MAXMATERIALS = 20> |
| bool | dispatch_material_material_dominant_with_values (const conduit::Node &matset, const conduit::Node &values_object, FuncType &&func) |
| | Dispatch a Conduit node containing a material-dominant matset to a function as the appropriate type of matset view. More...
|
| |
| void | verifyMatchingMaterialOrder (const conduit::Node &mat_values, const conduit::Node &field_values) |
| |
| template<typename MatsetView , typename FuncType > |
| bool | dispatch_unibuffer_field (const conduit::Node &n_field, FuncType &&func) |
| | Dispatch a unibuffer matset_values field. More...
|
| |
| template<typename MatsetView , typename FuncType > |
| bool | dispatch_multibuffer_field (const conduit::Node &n_field, FuncType &&func) |
| | Dispatch a multibuffer matset_values field. More...
|
| |
template<typename FuncType , axom::IndexType MAXMATERIALS = 20>
| bool axom::bump::views::detail::dispatch_material_unibuffer_with_values |
( |
const conduit::Node & |
matset, |
|
|
const conduit::Node & |
values, |
|
|
FuncType && |
func |
|
) |
| |
Dispatch Conduit nodes containing a unibuffer element-dominant matset and a values array to a function as the appropriate type of matset view.
- Template Parameters
-
| FuncType | The function/lambda type that will take the matset. |
- Parameters
-
| matset | The node that contains the matset. |
| values | The node that contains the values to be used as volume fractions. |
| func | The function/lambda that will operate on the matset view. |
- Returns
- true if the dispatch worked, false otherwise.
References axom::bump::views::UnibufferMaterialView< IndexT, FloatT, MAXMATERIALS >::set(), and axom::bump::views::verify().
template<typename FuncType , axom::IndexType MAXMATERIALS = 20>
| bool axom::bump::views::detail::dispatch_material_element_dominant_with_values |
( |
const conduit::Node & |
matset, |
|
|
const conduit::Node & |
values_object, |
|
|
FuncType && |
func |
|
) |
| |
Dispatch a Conduit node containing a multibuffer element-dominant matset to a function as the appropriate type of matset view.
- Template Parameters
-
| FuncType | The function/lambda type that will take the matset. |
- Parameters
-
| matset | The node that contains the matset. |
| values_object | The node that contains the values object to be used as volume fractions. |
| func | The function/lambda that will operate on the matset view. |
- Returns
- true if the dispatch worked, false otherwise.
References axom::bump::views::ElementDominantMaterialView< IndexT, FloatT, MAXMATERIALS >::add(), and axom::bump::views::verify().