IndexTM.H File Reference

#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"

Include dependency graph for IndexTM.H:

This graph shows which files directly or indirectly include this file:

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())


Function Documentation

template<typename T, int N>
IndexTM<T,N> min ( const IndexTM< T, N > &  p1,
const IndexTM< T, N > &  p2 
) [inline]

template<typename T, int N>
IndexTM<T,N> max ( const IndexTM< T, N > &  p1,
const IndexTM< T, N > &  p2 
) [inline]

template<typename T, int N>
IndexTM<T,N> scale ( const IndexTM< T, N > &  p,
s 
) [inline]

template<typename T, int N>
IndexTM<T,N> reflect ( const IndexTM< T, N > &  a,
ref_ix,
int  idir 
) [inline]

template<typename T, int N>
IndexTM<T,N> diagShift ( const IndexTM< T, N > &  p,
s 
) [inline]

Referenced by grow().

template<typename T, int N>
IndexTM<T,N> coarsen ( const IndexTM< T, N > &  p,
s 
) [inline]

template<typename T, int N>
IndexTM<T,N> coarsen ( const IndexTM< T, N > &  p1,
const IndexTM< T, N > &  p2 
) [inline]

template<typename T, int N>
std::ostream& operator<< ( std::ostream &  os,
const IndexTM< T, N > &  iv 
) [inline]

Print the IndexTM to given output stream in ASCII.

template<typename T, int N>
std::istream& operator>> ( std::istream &  os,
IndexTM< T, N > &  iv 
) [inline]

Read next IndexTM from given input stream.

template<typename T, int N>
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]

static int s_dummyForRealVectH1 ( IndexTM< Real, 1 >::  InitStatics()  )  [static]

static int s_dummyForRealVectH2 ( IndexTM< Real, 2 >::  InitStatics()  )  [static]

static int s_dummyForRealVectH3 ( IndexTM< Real, 3 >::  InitStatics()  )  [static]

static int s_dummyForRealVectH4 ( IndexTM< Real, 4 >::  InitStatics()  )  [static]

static int s_dummyForRealVectH5 ( IndexTM< Real, 5 >::  InitStatics()  )  [static]

static int s_dummyForRealVectH6 ( IndexTM< Real, 6 >::  InitStatics()  )  [static]


Generated on Tue Apr 14 14:21:43 2009 for Chombo + EB by  doxygen 1.5.5