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/v0.5.0/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 () | |
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_NOT_USED(verboseOutput)=false) const |
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< PosType, ElemType >.
|
inline |
|
inline |
|
inlinevirtual |
Determines if the Set is a Subset of another set.
Implements axom::slam::Set< PosType, ElemType >.
|
inline |
|
inline |
|
inlinevirtual |
Checks if there are any elements in the set – equivalent to: set.size() == 0.
Implements axom::slam::Set< PosType, ElemType >.
|
pure virtualinherited |
Random access to the entities of the set.
The | index of the desired element |
Implemented in axom::slam::OrderedSet< PosType, ElemType, SizePolicy, OffsetPolicy, StridePolicy, IndirectionPolicy, SubsettingPolicy >, axom::slam::OrderedSet< ElementType, ElementType, BeginsSizePolicy, BeginsOffsetPolicy, BeginsStridePolicy >, axom::slam::OrderedSet< SetPosition, SetElement, policies::RuntimeSize< SetPosition >, policies::ZeroOffset< SetPosition >, policies::StrideOne< SetPosition >, policies::STLVectorIndirection< SetPosition, SetElement > >, axom::slam::OrderedSet< P, E >, axom::slam::OrderedSet< P, E, policies::RuntimeSize< P >, policies::RuntimeOffset< P >, StridingPolicy, IndirectionPolicy, SubsettingPolicy >, axom::slam::OrderedSet< slam::DefaultPositionType, slam::DefaultElementType >, axom::slam::OrderedSet< ElementType, ElementType, BeginsSizePolicy, BeginsOffsetPolicy, BeginsStridePolicy, IndirectionPolicy >, axom::slam::OrderedSet< SetPosition, SetElement, policies::RuntimeSize< SetPosition >, policies::ZeroOffset< SetPosition >, policies::StrideOne< SetPosition >, IndicesIndirectionPolicy >, axom::slam::OrderedSet< RelationType::SetPosition, RelationType::SetElement >, axom::slam::OrderedSet< PosType, ElemType, policies::RuntimeSize< PosType >, policies::RuntimeOffset< PosType >, policies::StrideOne< PosType >, policies::NoIndirection< PosType, ElemType >, policies::NoSubset >, axom::slam::OrderedSet< P, E, policies::RuntimeSize< P >, policies::RuntimeOffset< P >, policies::StrideOne< P >, policies::NoIndirection< P, E >, policies::NoSubset >, axom::slam::OrderedSet< CoordType, CoordType, MAX_LEVEL_SIZE >, axom::slam::OrderedSet< IndexType, IndexType, SizePolicy >, and axom::slam::DynamicSet< PosType, ElemType, SizePolicy, OffsetPolicy, StridePolicy >.
Referenced by axom::slam::DynamicVariableRelation< PosType, ElemType >::isValid(), and axom::slam::operator==().
|
pure virtualinherited |
Checks whether the set is valid.
Implemented in axom::slam::OrderedSet< PosType, ElemType, SizePolicy, OffsetPolicy, StridePolicy, IndirectionPolicy, SubsettingPolicy >, axom::slam::OrderedSet< ElementType, ElementType, BeginsSizePolicy, BeginsOffsetPolicy, BeginsStridePolicy >, axom::slam::OrderedSet< SetPosition, SetElement, policies::RuntimeSize< SetPosition >, policies::ZeroOffset< SetPosition >, policies::StrideOne< SetPosition >, policies::STLVectorIndirection< SetPosition, SetElement > >, axom::slam::OrderedSet< P, E >, axom::slam::OrderedSet< P, E, policies::RuntimeSize< P >, policies::RuntimeOffset< P >, StridingPolicy, IndirectionPolicy, SubsettingPolicy >, axom::slam::OrderedSet< slam::DefaultPositionType, slam::DefaultElementType >, axom::slam::OrderedSet< ElementType, ElementType, BeginsSizePolicy, BeginsOffsetPolicy, BeginsStridePolicy, IndirectionPolicy >, axom::slam::OrderedSet< SetPosition, SetElement, policies::RuntimeSize< SetPosition >, policies::ZeroOffset< SetPosition >, policies::StrideOne< SetPosition >, IndicesIndirectionPolicy >, axom::slam::OrderedSet< RelationType::SetPosition, RelationType::SetElement >, axom::slam::OrderedSet< PosType, ElemType, policies::RuntimeSize< PosType >, policies::RuntimeOffset< PosType >, policies::StrideOne< PosType >, policies::NoIndirection< PosType, ElemType >, policies::NoSubset >, axom::slam::OrderedSet< P, E, policies::RuntimeSize< P >, policies::RuntimeOffset< P >, policies::StrideOne< P >, policies::NoIndirection< P, E >, policies::NoSubset >, axom::slam::OrderedSet< CoordType, CoordType, MAX_LEVEL_SIZE >, axom::slam::OrderedSet< IndexType, IndexType, SizePolicy >, axom::slam::DynamicSet< PosType, ElemType, SizePolicy, OffsetPolicy, StridePolicy >, axom::slam::RelationSet< RelationType >, and axom::slam::ProductSet< PosType, ElemType >.