AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Simple container for fields of type DataType w/ minimal error checking. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/slam/FieldRegistry.hpp>
Public Types | |
using | PositionType = typename SetType::PositionType |
using | DataType = TheDataType |
using | KeyType = std::string |
using | MapType = slam::Map< DataType, SetType > |
using | BufferType = typename MapType::OrderedMap |
using | DataVecMap = std::map< KeyType, MapType > |
using | DataBufferMap = std::map< KeyType, BufferType > |
using | DataAttrMap = std::map< KeyType, DataType > |
Public Member Functions | |
bool | hasField (const KeyType &key) const |
MapType & | addField (KeyType key, const SetType *theSet) |
MapType & | addNamelessField (const SetType *theSet) |
MapType & | getField (KeyType key) |
const MapType & | getField (KeyType key) const |
bool | hasBuffer (const KeyType &key) const |
BufferType & | addBuffer (KeyType key, int size=0) |
BufferType & | addNamelessBuffer (int size=0) |
BufferType & | getBuffer (KeyType key) |
const BufferType & | getBuffer (KeyType key) const |
bool | hasScalar (const KeyType &key) const |
DataType & | addScalar (KeyType key, DataType val) |
DataType & | getScalar (KeyType key) |
const DataType & | getScalar (KeyType key) const |
Simple container for fields of type DataType w/ minimal error checking.
using axom::slam::FieldRegistry< SetType, TheDataType >::PositionType = typename SetType::PositionType |
using axom::slam::FieldRegistry< SetType, TheDataType >::DataType = TheDataType |
using axom::slam::FieldRegistry< SetType, TheDataType >::KeyType = std::string |
using axom::slam::FieldRegistry< SetType, TheDataType >::MapType = slam::Map<DataType, SetType> |
using axom::slam::FieldRegistry< SetType, TheDataType >::BufferType = typename MapType::OrderedMap |
using axom::slam::FieldRegistry< SetType, TheDataType >::DataVecMap = std::map<KeyType, MapType> |
using axom::slam::FieldRegistry< SetType, TheDataType >::DataBufferMap = std::map<KeyType, BufferType> |
using axom::slam::FieldRegistry< SetType, TheDataType >::DataAttrMap = std::map<KeyType, DataType> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |