|
IBAMR
IBAMR version 0.19.
|
#include <ibtk/PoissonUtilities.h>

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< 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 |
| int & | operator() (const int i) |
| const int & | operator() (const int i) const |
| operator int * () | |
| operator const int * () const | |
| IntVector< DIM > | operator- () const |
| bool | operator== (const IntVector< DIM > &rhs) const |
| bool | operator!= (const IntVector< DIM > &rhs) const |
| bool | operator< (const IntVector< DIM > &rhs) const |
| bool | operator<= (const IntVector< DIM > &rhs) const |
| bool | operator> (const IntVector< DIM > &rhs) const |
| bool | operator>= (const IntVector< DIM > &rhs) const |
| void | min (const IntVector< DIM > &rhs) |
| int | min () const |
| void | max (const IntVector< DIM > &rhs) |
| int | max () const |
| int | getProduct () const |
Static Public Member Functions | |
| static IntVector< DIM > | min (const IntVector< DIM > &a, const IntVector< DIM > &b) |
| static IntVector< DIM > | max (const IntVector< DIM > &a, const IntVector< DIM > &b) |
Private Attributes | |
| int | d_vector [DIM] |
Class Index<DIM> implements a simple n-dimensional integer vector in the AMR index space. Index is used as lower and upper bounds when creating a box and also when iterating over the cells in a box. An index is essentially an integer vector but it carries along the notion of indexing into AMR's abstract index space.
| SAMRAI::hier::Index< DIM >::Index | ( | ) |
The default constructor for Index creates an uninitialized index.
| SAMRAI::hier::Index< DIM >::Index | ( | const int | i | ) |
Construct an index with all components equal to the argument.
| SAMRAI::hier::Index< DIM >::Index | ( | const int | i, |
| const int | j | ||
| ) |
Construct a two-dimensional index with the value (i,j).
| SAMRAI::hier::Index< DIM >::Index | ( | const int | i, |
| const int | j, | ||
| const int | k | ||
| ) |
Construct a three-dimensional index with the value (i,j,k).
| SAMRAI::hier::Index< DIM >::Index | ( | const tbox::Array< int > | i | ) |
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 | ) |
The copy constructor creates an index equal to the argument.
| SAMRAI::hier::Index< DIM >::Index | ( | const IntVector< DIM > & | rhs | ) |
Construct an index equal to the argument IntVector.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator= | ( | const Index< DIM > & | rhs | ) |
The assignment operator sets the index equal to the argument.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator= | ( | const IntVector< DIM > & | rhs | ) |
The assignment operator sets the index equal to the argument IntVector.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator+= | ( | const IntVector< DIM > & | rhs | ) |
Plus-equals operator for an index and an integer vector.
| Index<DIM> SAMRAI::hier::Index< DIM >::operator+ | ( | const IntVector< DIM > & | rhs | ) | const |
Plus operator for an index and an integer vector.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator+= | ( | const int | rhs | ) |
Plus-equals operator for an index and an integer.
| Index<DIM> SAMRAI::hier::Index< DIM >::operator+ | ( | const int | rhs | ) | const |
Plus operator for an index and an integer.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator-= | ( | const IntVector< DIM > & | rhs | ) |
Minus-equals operator for an index and an integer vector.
| Index<DIM> SAMRAI::hier::Index< DIM >::operator- | ( | const IntVector< DIM > & | rhs | ) | const |
Minus operator for an index and an integer vector.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator-= | ( | const int | rhs | ) |
Minus-equals operator for an index and an integer.
| Index<DIM> SAMRAI::hier::Index< DIM >::operator- | ( | const int | rhs | ) | const |
Minus operator for an index and an integer.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator*= | ( | const IntVector< DIM > & | rhs | ) |
Times-equals operator for an index and an integer vector.
| Index<DIM> SAMRAI::hier::Index< DIM >::operator* | ( | const IntVector< DIM > & | rhs | ) | const |
Times operator for an index and an integer vector.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator*= | ( | const int | rhs | ) |
Times-equals operator for an index and an integer.
| Index<DIM> SAMRAI::hier::Index< DIM >::operator* | ( | const int | rhs | ) | const |
Times operator for an index and an integer.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator/= | ( | const IntVector< DIM > & | rhs | ) |
Assign-quotient operator for an index and an integer vector.
| Index<DIM> SAMRAI::hier::Index< DIM >::operator/ | ( | const IntVector< DIM > & | rhs | ) | const |
Quotient operator for an index and an integer vector.
| Index<DIM>& SAMRAI::hier::Index< DIM >::operator/= | ( | const int | rhs | ) |
Assign-quotient operator for an index and an integer.
| Index<DIM> SAMRAI::hier::Index< DIM >::operator/ | ( | const int | rhs | ) | const |
Quotient operator for an index and an integer.
|
inherited |
Return the specified component of the vector. No bounds checking.
|
inherited |
Return the specified component of the vector as a const integer. No bounds checking.
|
inherited |
Return a pointer to the beginning of the vector data values.
|
inherited |
Return a const pointer to the beginning of the vector data values.
|
inherited |
Unary minus to negate an integer vector.
|
inherited |
Returns true if two vector objects are equal. All components must be the same for equality.
|
inherited |
Returns true if two vector objects are not equal. Any of the components may be different for inequality.
|
inherited |
Returns true if each integer in vector is less than corresponding integer in comparison vector.
|
inherited |
Returns true if each integer in vector is less or equal to corresponding integer in comparison vector.
|
inherited |
Returns true if each integer in vector is greater than corresponding integer in comparison vector.
|
inherited |
Returns true if each integer in vector is greater or equal to corresponding integer in comparison vector.
|
inherited |
Return the component-wise minimum of two integer vector objects.
|
inherited |
Return the minimum entry in an integer vector.
|
staticinherited |
Utility function to take the minimum of two integer vector objects.
|
inherited |
Return the component-wise maximum of two integer vector objects.
|
inherited |
Return the maximum entry in an integer vector.
|
staticinherited |
Utility function to take the maximum of two integer vector objects.
|
inherited |
Return the product of the entries in the integer vector.
|
privateinherited |
1.8.17