AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
An indexed set (a tuple) of entities in a simulation. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/slam/NullSet.hpp>
Public Types | |
using | ParentSet = Set< PosType, ElemType > |
using | PositionType = typename ParentSet::PositionType |
using | ElementType = typename ParentSet::ElementType |
Public Member Functions | |
NullSet () | |
AXOM_HOST_DEVICE PositionType | size () const |
Get the number of entities in the set. More... | |
ElementType | at (PositionType pos) const |
ElementType | operator[] (PositionType pos) const |
bool | isSubset () const |
Determines if the Set is a Subset of another set. More... | |
const ParentSet * | parentSet () const |
bool | isValid (bool AXOM_UNUSED_PARAM(verboseOutput)=false) const |
AXOM_HOST_DEVICE bool | empty () const |
Checks if there are any elements in the set – equivalent to: set.size() == 0. More... | |
virtual ElementType | at (PositionType) const=0 |
Random access to the entities of the set. More... | |
virtual bool | isValid (bool verboseOutput=false) const=0 |
Checks whether the set is valid. More... | |
An indexed set (a tuple) of entities in a simulation.
using axom::slam::NullSet< PosType, ElemType >::ParentSet = Set<PosType, ElemType> |
using axom::slam::NullSet< PosType, ElemType >::PositionType = typename ParentSet::PositionType |
using axom::slam::NullSet< PosType, ElemType >::ElementType = typename ParentSet::ElementType |
|
inline |
|
inlinevirtual |
Get the number of entities in the set.
Implements axom::slam::Set< slam::DefaultPositionType, slam::DefaultElementType >.
|
inline |
|
inline |
References axom::slam::NullSet< PosType, ElemType >::at().
|
inlinevirtual |
Determines if the Set is a Subset of another set.
Implements axom::slam::Set< slam::DefaultPositionType, slam::DefaultElementType >.
|
inline |
|
inline |
|
inlinevirtual |
Checks if there are any elements in the set – equivalent to: set.size() == 0.
Implements axom::slam::Set< slam::DefaultPositionType, slam::DefaultElementType >.
|
pure virtualinherited |
Random access to the entities of the set.
The | index of the desired element |
Implemented in axom::slam::NullSet< slam::DefaultPositionType, slam::DefaultElementType >.
|
pure virtualinherited |
Checks whether the set is valid.
Implemented in axom::slam::DynamicSet< PosType, ElemType, SizePolicy >.