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/develop/src/axom/multimat/mmsubfield.hpp>
Public Types | |
using | SFB = MMSubField2D< Field2DType > |
using | SubSetType = MultiMat::RangeSetType |
using | SubMapType = slam::SubMap< typename Field2DType::BiVarMapType, SubSetType, slam::policies::ConcreteInterface > |
using | SuperMapType = typename Field2DType::BiVarMapType |
using | BiVarSetType = typename Field2DType::BiVarSetType |
using | DataType = typename SuperMapType::DataType |
using | SetPosition = typename SubsetType::PositionType |
using | SetElement = typename SubsetType::ElementType |
using | StridePolicyType = typename SuperMapType::StridePolicyType |
using | IndirectionPolicyType = typename SuperMapType::IndirectionPolicy |
using | ElementShape = typename StridePolicyType::ShapeType |
using | MapType = Map< DataType, MultiMat::RangeSetType, IndirectionPolicyType, StridePolicyType > |
using | SubsetBuilder = typename SubsetType::SetBuilder |
using | iterator = Iterator |
using | const_iterator = Iterator |
using | iterator_pair = std::pair< iterator, iterator > |
using | const_range_iterator = RangeIterator |
using | range_iterator = RangeIterator |
using | ValueType = typename IndirectionPolicyType::IndirectionResult |
using | ConstValueType = typename IndirectionPolicyType::ConstIndirectionResult |
using | DataRefType = std::conditional_t< std::is_const< Field2DType::BiVarMapType >::value, ConstValueType, ValueType > |
Public Member Functions | |
MMSubField2DWrap (Field2DType *superfield, int firstIndex, bool indirection=true) | |
DataLayout | getDataLayout () |
int | cellId () |
int | matId (int i) |
int | getOuterIndex () |
bool | isValid (bool VerboseOutput=false) const |
AXOM_HOST_DEVICE iterator | begin () const |
AXOM_HOST_DEVICE iterator | end () const |
AXOM_HOST_DEVICE range_iterator | set_begin () const |
AXOM_HOST_DEVICE range_iterator | set_end () const |
SubMap individual access functions | |
AXOM_HOST_DEVICE DataRefType | operator[] (IndexType idx) const |
Access the value in the SubMap given the ComponentFlatIndex. More... | |
AXOM_HOST_DEVICE DataRefType | operator() (IndexType idx, ComponentIndex... comp) const |
Access the value associated with the given position in the subset and the component index. More... | |
AXOM_HOST_DEVICE DataRefType | value (IndexType idx, ComponentIndex... comp) const |
Access the value associated with the given position in the subset and the component index. More... | |
AXOM_HOST_DEVICE IndexType | index (IndexType idx) const |
Return the set element in the SuperMap at the given subset index. More... | |
SubMap cardinality functions | |
AXOM_HOST_DEVICE axom::IndexType | size () const |
returns the size of the SubMap More... | |
AXOM_HOST_DEVICE IndexType | numComp () const |
returns the number of components (aka. stride) of the SubMap More... | |
Protected Attributes | |
Field2DType::BiVarMapType * | m_superMap |
MultiMat::RangeSetType | m_subsetIdx |
bool | m_indicesHaveIndirection |
using axom::multimat::MMSubField2DWrap< Field2DType, DataLayout::CELL_DOM >::SFB = MMSubField2D<Field2DType> |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inline |
References axom::multimat::CELL_DOM.
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Return the set element in the SuperMap at the given subset index.
|
inlineinherited |
returns the size of the SubMap
|
inlineinherited |
returns the number of components (aka. stride) of the SubMap
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |