Dispatches any type of data as any type of matset.
More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/MergeMeshes.hpp>
|
| template<typename FuncType > |
| void | execute (conduit::Node &n_material_ids, conduit::Node &n_sizes, conduit::Node &n_offsets, conduit::Node &n_indices, conduit::Node &n_volume_fractions, FuncType &&func) |
| | Takes input matset data as Conduit nodes whose data can be various types and dispatches the data to array views that are passed to a lambda function that processes them. These nodes contain data for the merged material being created. More...
|
| |
| template<typename FuncType > |
| void | dispatchMatset (conduit::Node &n_matset, FuncType &&func) |
| | Takes a node and turns it into a matset view and sends that view to the input function. More...
|
| |
Dispatches any type of data as any type of matset.
◆ execute()
template<typename FuncType >
| void axom::bump::DispatchAnyMatset::execute |
( |
conduit::Node & |
n_material_ids, |
|
|
conduit::Node & |
n_sizes, |
|
|
conduit::Node & |
n_offsets, |
|
|
conduit::Node & |
n_indices, |
|
|
conduit::Node & |
n_volume_fractions, |
|
|
FuncType && |
func |
|
) |
| |
|
inline |
Takes input matset data as Conduit nodes whose data can be various types and dispatches the data to array views that are passed to a lambda function that processes them. These nodes contain data for the merged material being created.
- Template Parameters
-
| FuncType | A callable object/function/lambda. |
- Parameters
-
| n_material_ids | A node containing material ids. |
| n_sizes | A node containing sizes. |
| n_offsets | A node containing offsets. |
| n_indices | A node containing indices. |
| n_volume_fractions | A node containing volume fractions. |
| func | The function to invoke on the array views. |
◆ dispatchMatset()
template<typename FuncType >
| void axom::bump::DispatchAnyMatset::dispatchMatset |
( |
conduit::Node & |
n_matset, |
|
|
FuncType && |
func |
|
) |
| |
|
inline |
Takes a node and turns it into a matset view and sends that view to the input function.
- Template Parameters
-
| FuncType | A callable object/function/lambda. |
- Parameters
-
| n_matset | A node containing any kind of matset. |
| func | The function to invoke on the matset view. |
References axom::bump::views::dispatch_material().
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/MergeMeshes.hpp