AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
dispatch_material.hpp File Reference
#include "axom/bump/views/MaterialView.hpp"
#include "axom/bump/views/NodeArrayView.hpp"
#include "axom/bump/views/dispatch_utilities.hpp"
#include <conduit/conduit_blueprint.hpp>

Classes

struct  axom::bump::views::make_unibuffer_matset< IntType, FloatType, MAXMATERIALS >
 Make a unibuffer matset view from a Conduit node. More...
 

Namespaces

 axom
 
 axom::bump
 
 axom::bump::views
 

Functions

template<typename FuncType , size_t MAXMATERIALS = 20>
bool axom::bump::views::dispatch_material_unibuffer (const conduit::Node &matset, FuncType &&func)
 Dispatch a Conduit node containing a unibuffer matset to a function as the appropriate type of matset view. More...
 
template<typename IntElement >
IntElement axom::bump::views::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 , size_t MAXMATERIALS = 20>
bool axom::bump::views::dispatch_material_multibuffer (const conduit::Node &matset, FuncType &&func)
 Dispatch a Conduit node containing a multibuffer matset to a function as the appropriate type of matset view. More...
 
template<typename FuncType , size_t MAXMATERIALS = 20>
bool axom::bump::views::dispatch_material_element_dominant (const conduit::Node &matset, FuncType &&func)
 Dispatch a Conduit node containing a element-dominant matset to a function as the appropriate type of matset view. More...
 
template<typename FuncType , size_t MAXMATERIALS = 20>
bool axom::bump::views::dispatch_material_material_dominant (const conduit::Node &matset, FuncType &&func)
 Dispatch a Conduit node containing a material-dominant matset to a function as the appropriate type of matset view. More...
 
template<typename FuncType , size_t MAXMATERIALS = 20>
bool axom::bump::views::dispatch_material (const conduit::Node &matset, FuncType &&func)
 Dispatch a Conduit node containing a matset to a function as the appropriate type of matset view. More...