#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "SPACE.H"
#include "REAL.H"
#include "Misc.H"
#include "GenericArithmetic.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
#include "IndexTMI.H"
Go to the source code of this file.
Classes | |
class | IndexTM< T, N > |
struct | IndexTraits< T > |
struct | IndexTraits< int > |
struct | IndexTraits< Real > |
Functions | |
template<typename T, int N> | |
IndexTM< T, N > | min (const IndexTM< T, N > &p1, const IndexTM< T, N > &p2) |
template<typename T, int N> | |
IndexTM< T, N > | max (const IndexTM< T, N > &p1, const IndexTM< T, N > &p2) |
template<typename T, int N> | |
IndexTM< T, N > | scale (const IndexTM< T, N > &p, T s) |
template<typename T, int N> | |
IndexTM< T, N > | reflect (const IndexTM< T, N > &a, T ref_ix, int idir) |
template<typename T, int N> | |
IndexTM< T, N > | diagShift (const IndexTM< T, N > &p, T s) |
template<typename T, int N> | |
IndexTM< T, N > | coarsen (const IndexTM< T, N > &p, T s) |
template<typename T, int N> | |
IndexTM< T, N > | coarsen (const IndexTM< T, N > &p1, const IndexTM< T, N > &p2) |
template<typename T, int N> | |
std::ostream & | operator<< (std::ostream &os, const IndexTM< T, N > &iv) |
template<typename T, int N> | |
std::istream & | operator>> (std::istream &os, IndexTM< T, N > &iv) |
template<typename T, int N> | |
IndexTM< T, N > | BASISV_TM (int dir) |
static int | s_dummyForIntVectH1 (IndexTM< int, 1 >::InitStatics()) |
static int | s_dummyForIntVectH2 (IndexTM< int, 2 >::InitStatics()) |
static int | s_dummyForIntVectH3 (IndexTM< int, 3 >::InitStatics()) |
static int | s_dummyForIntVectH4 (IndexTM< int, 4 >::InitStatics()) |
static int | s_dummyForIntVectH5 (IndexTM< int, 5 >::InitStatics()) |
static int | s_dummyForIntVectH6 (IndexTM< int, 6 >::InitStatics()) |
static int | s_dummyForRealVectH1 (IndexTM< Real, 1 >::InitStatics()) |
static int | s_dummyForRealVectH2 (IndexTM< Real, 2 >::InitStatics()) |
static int | s_dummyForRealVectH3 (IndexTM< Real, 3 >::InitStatics()) |
static int | s_dummyForRealVectH4 (IndexTM< Real, 4 >::InitStatics()) |
static int | s_dummyForRealVectH5 (IndexTM< Real, 5 >::InitStatics()) |
static int | s_dummyForRealVectH6 (IndexTM< Real, 6 >::InitStatics()) |
IndexTM<T,N> min | ( | const IndexTM< T, N > & | p1, | |
const IndexTM< T, N > & | p2 | |||
) | [inline] |
References IndexTM< T, N >::min().
IndexTM<T,N> reflect | ( | const IndexTM< T, N > & | a, | |
T | ref_ix, | |||
int | idir | |||
) | [inline] |
References IndexTM< T, N >::reflect().
Referenced by grow().
References IndexTM< T, N >::coarsen().
IndexTM<T,N> coarsen | ( | const IndexTM< T, N > & | p1, | |
const IndexTM< T, N > & | p2 | |||
) | [inline] |
References IndexTM< T, N >::coarsen().
std::ostream& operator<< | ( | std::ostream & | os, | |
const IndexTM< T, N > & | iv | |||
) | [inline] |
Print the IndexTM to given output stream in ASCII.
std::istream& operator>> | ( | std::istream & | os, | |
IndexTM< T, N > & | iv | |||
) | [inline] |
Read next IndexTM from given input stream.
IndexTM<T,N> BASISV_TM | ( | int | dir | ) | [inline] |
Returns a basis vector in the given coordinate direction.
In 3-D: BASISV(0) == (1,0,0); BASISV(1) == (0,1,0); BASISV(2) == (0,0,1).
In 2-D: BASISV(0) == (1,0); BASISV(1) == (0,1).
Note that the coordinate directions are based at zero.
References IndexTM< T, N >::dataPtr().
static int s_dummyForIntVectH1 | ( | IndexTM< int, 1 >:: | InitStatics() | ) | [static] |
static int s_dummyForIntVectH2 | ( | IndexTM< int, 2 >:: | InitStatics() | ) | [static] |
static int s_dummyForIntVectH3 | ( | IndexTM< int, 3 >:: | InitStatics() | ) | [static] |
static int s_dummyForIntVectH4 | ( | IndexTM< int, 4 >:: | InitStatics() | ) | [static] |
static int s_dummyForIntVectH5 | ( | IndexTM< int, 5 >:: | InitStatics() | ) | [static] |
static int s_dummyForIntVectH6 | ( | IndexTM< int, 6 >:: | InitStatics() | ) | [static] |