|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/multimat/mmfield.hpp>

Public Types | |
| using | BiVarSetType = BiSet |
| using | BiVarMapType = MultiMat::BivariateMapType< DataType, BiVarSetType > |
| using | ProductSetType = MultiMat::ProductSetType |
| using | RelationSetType = MultiMat::RelationSetType |
| using | SetPosition = typename BiVarMapType::SetPosition |
| using | Field2DType = MMField2D< DataType, BiVarSetType > |
| using | SubFieldType = MMSubField2D< Field2DType > |
| using | ConstSubFieldType = const MMSubField2D< const Field2DType > |
| using | SubMapType = typename BiVarMapType::SubMapType |
Public Member Functions | |
| MMField2D ()=delete | |
| Constructor. More... | |
| MMField2D (const MultiMat &mm, const BiSet *, const int fieldIdx, axom::ArrayView< DataType > data_arr={}, int stride=1) | |
| template<typename BiSetType = BiSet, typename Enable = std::enable_if_t<!std::is_abstract<BiSetType>::value>> | |
| MMField2D (const MultiMat &mm, const BiSetType &, const int fieldIdx, axom::ArrayView< DataType > data_arr={}, int stride=1) | |
| bool | operator== (const MMField2D &other) const |
| SubFieldType | getSubfield (SetPosition firstIdx) |
| AXOM_HOST_DEVICE SubFieldType | operator() (SetPosition firstIdx) |
| AXOM_HOST_DEVICE const ConstSubFieldType | operator() (SetPosition firstIdx) const |
| SubMapType | getSlamSubMap (SetPosition firstIdx) |
| std::string | getName () |
| MultiMat::IndexSet | getSubfieldIndexingSet (int idx) |
| bool | isDense () const |
| bool | isSparse () const |
| bool | isCellDom () const |
| bool | isMatDom () const |
Class for MultiMat 2D Fields Ideally this class would have template specialization for each type of layout (dense/sparse, mat/cell dom, and maybe more).
| using axom::multimat::MMField2D< DataType, BiSet >::BiVarSetType = BiSet |
| using axom::multimat::MMField2D< DataType, BiSet >::BiVarMapType = MultiMat::BivariateMapType<DataType, BiVarSetType> |
| using axom::multimat::MMField2D< DataType, BiSet >::ProductSetType = MultiMat::ProductSetType |
| using axom::multimat::MMField2D< DataType, BiSet >::RelationSetType = MultiMat::RelationSetType |
| using axom::multimat::MMField2D< DataType, BiSet >::SetPosition = typename BiVarMapType::SetPosition |
| using axom::multimat::MMField2D< DataType, BiSet >::Field2DType = MMField2D<DataType, BiVarSetType> |
| using axom::multimat::MMField2D< DataType, BiSet >::SubFieldType = MMSubField2D<Field2DType> |
| using axom::multimat::MMField2D< DataType, BiSet >::ConstSubFieldType = const MMSubField2D<const Field2DType> |
| using axom::multimat::MMField2D< DataType, BiSet >::SubMapType = typename BiVarMapType::SubMapType |
|
delete |
Constructor.
|
inline |
References SLIC_ASSERT.
| axom::multimat::MMField2D< DataType, BiSet >::MMField2D | ( | const MultiMat & | mm, |
| const BiSetType & | bisetValue, | ||
| const int | fieldIdx, | ||
| axom::ArrayView< DataType > | data_arr = {}, |
||
| int | stride = 1 |
||
| ) |
References SLIC_ASSERT.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References axom::multimat::MultiMat::getFieldName().
|
inline |
|
inline |
References axom::multimat::DENSE.
|
inline |
References axom::multimat::SPARSE.
|
inline |
References axom::multimat::CELL_DOM.
|
inline |
References axom::multimat::MAT_DOM.