#include <source/hierarchy/boxes/Index.h>
Inheritance diagram for SAMRAI::hier::Index< DIM >:
Public Member Functions | |
Index () | |
Index (const int i) | |
Index (const int i, const int j) | |
Index (const int i, const int j, const int k) | |
Index (const tbox::Array< int > i) | |
Index (const Index< DIM > &rhs) | |
Index (const IntVector< DIM > &rhs) | |
Index< DIM > & | operator= (const Index< DIM > &rhs) |
Index< DIM > & | operator= (const IntVector< DIM > &rhs) |
~Index () | |
Index< DIM > & | operator+= (const IntVector< DIM > &rhs) |
Index< DIM > | operator+ (const IntVector< DIM > &rhs) const |
Index< DIM > & | operator+= (const int rhs) |
Index< DIM > | operator+ (const int rhs) const |
Index< DIM > & | operator-= (const IntVector< DIM > &rhs) |
Index< DIM > | operator- (const IntVector< DIM > &rhs) const |
Index< DIM > & | operator-= (const int rhs) |
Index< DIM > | operator- (const int rhs) const |
Index< DIM > & | operator *= (const IntVector< DIM > &rhs) |
Index< DIM > | operator * (const IntVector< DIM > &rhs) const |
Index< DIM > & | operator *= (const int rhs) |
Index< DIM > | operator * (const int rhs) const |
Index< DIM > & | operator/= (const IntVector< DIM > &rhs) |
Index< DIM > | operator/ (const IntVector< DIM > &rhs) const |
Index< DIM > & | operator/= (const int rhs) |
Index< DIM > | operator/ (const int rhs) const |
SAMRAI::hier::Index< DIM >::Index | ( | ) | [inline] |
The default constructor for Index creates an uninitialized index.
SAMRAI::hier::Index< DIM >::Index | ( | const int | i | ) | [inline] |
Construct an index with all components equal to the argument.
SAMRAI::hier::Index< DIM >::Index | ( | const int | i, | |
const int | j | |||
) | [inline] |
Construct a two-dimensional index with the value (i,j).
SAMRAI::hier::Index< DIM >::Index | ( | const int | i, | |
const int | j, | |||
const int | k | |||
) | [inline] |
Construct a three-dimensional index with the value (i,j,k).
SAMRAI::hier::Index< DIM >::Index | ( | const tbox::Array< int > | i | ) | [inline] |
Construct an n-dimensional index with the values copied from the integer tbox::Array i of size n.
SAMRAI::hier::Index< DIM >::Index | ( | const Index< DIM > & | rhs | ) | [inline] |
The copy constructor creates an index equal to the argument.
SAMRAI::hier::Index< DIM >::Index | ( | const IntVector< DIM > & | rhs | ) | [inline] |
Construct an index equal to the argument IntVector.
SAMRAI::hier::Index< DIM >::~Index | ( | ) | [inline] |
The index destructor does nothing interesting.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator= | ( | const Index< DIM > & | rhs | ) | [inline] |
The assignment operator sets the index equal to the argument.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator= | ( | const IntVector< DIM > & | rhs | ) | [inline] |
The assignment operator sets the index equal to the argument IntVector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator+= | ( | const IntVector< DIM > & | rhs | ) | [inline] |
Plus-equals operator for an index and an integer vector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > SAMRAI::hier::Index< DIM >::operator+ | ( | const IntVector< DIM > & | rhs | ) | const [inline] |
Plus operator for an index and an integer vector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator+= | ( | const int | rhs | ) | [inline] |
Plus-equals operator for an index and an integer.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > SAMRAI::hier::Index< DIM >::operator+ | ( | const int | rhs | ) | const [inline] |
Plus operator for an index and an integer.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator-= | ( | const IntVector< DIM > & | rhs | ) | [inline] |
Minus-equals operator for an index and an integer vector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > SAMRAI::hier::Index< DIM >::operator- | ( | const IntVector< DIM > & | rhs | ) | const [inline] |
Minus operator for an index and an integer vector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator-= | ( | const int | rhs | ) | [inline] |
Minus-equals operator for an index and an integer.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > SAMRAI::hier::Index< DIM >::operator- | ( | const int | rhs | ) | const [inline] |
Minus operator for an index and an integer.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator *= | ( | const IntVector< DIM > & | rhs | ) | [inline] |
Times-equals operator for an index and an integer vector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > SAMRAI::hier::Index< DIM >::operator * | ( | const IntVector< DIM > & | rhs | ) | const [inline] |
Times operator for an index and an integer vector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator *= | ( | const int | rhs | ) | [inline] |
Times-equals operator for an index and an integer.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > SAMRAI::hier::Index< DIM >::operator * | ( | const int | rhs | ) | const [inline] |
Times operator for an index and an integer.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Reimplemented in SAMRAI::pdat::CellIndex< DIM >, SAMRAI::pdat::EdgeIndex< DIM >, SAMRAI::pdat::FaceIndex< DIM >, SAMRAI::pdat::NodeIndex< DIM >, and SAMRAI::pdat::SideIndex< DIM >.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator/= | ( | const IntVector< DIM > & | rhs | ) | [inline] |
Assign-quotient operator for an index and an integer vector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Index< DIM > SAMRAI::hier::Index< DIM >::operator/ | ( | const IntVector< DIM > & | rhs | ) | const [inline] |
Quotient operator for an index and an integer vector.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Index< DIM > & SAMRAI::hier::Index< DIM >::operator/= | ( | const int | rhs | ) | [inline] |
Assign-quotient operator for an index and an integer.
Reimplemented from SAMRAI::hier::IntVector< DIM >.
Index< DIM > SAMRAI::hier::Index< DIM >::operator/ | ( | const int | rhs | ) | const [inline] |
Quotient operator for an index and an integer.
Reimplemented from SAMRAI::hier::IntVector< DIM >.