IndexTMI.H File Reference

#include "SPACE.H"
#include <iostream>
#include "MayDay.H"
#include "Misc.H"
#include "IndexTM.H"
#include "parstream.H"
#include <cmath>
#include <algorithm>
#include <functional>
#include <numeric>
#include "Metaprograms.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"

Include dependency graph for IndexTMI.H:

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

Go to the source code of this file.

Defines

#define CH_IGNORE_MAX   100000

Functions

template<typename T, int N>
ostream & operator<< (ostream &os, const IndexTM< T, N > &p)
template<typename T, int N>
istream & operator>> (istream &is, IndexTM< T, N > &p)
template<typename T>
static bool abscompare (const T &a, const T &b)
template<typename T>
static T ourmin (T a, T b)
template<typename T>
static T ourmax (T a, T b)
template<typename T, int N>
IndexTM< T, N > scale (const IndexTM< T, N > &p, T s)
template<typename T, int N>
IndexTM< T, N > diagShift (const IndexTM< T, N > &p, T s)
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 > BASISV_TM (int dir)
template<typename T, int N>
IndexTM< T, N > reflect (const IndexTM< T, N > &a, T ref_ix, int idir)
template<typename T>
static T ourcoarsen (T a, T b)
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)
static int s_dummyForIntVectCpp1 (IndexTM< int, 1 >::InitStatics())
static int s_dummyForIntVectCpp2 (IndexTM< int, 2 >::InitStatics())
static int s_dummyForIntVectCpp3 (IndexTM< int, 3 >::InitStatics())
static int s_dummyForIntVectCpp4 (IndexTM< int, 4 >::InitStatics())
static int s_dummyForIntVectCpp5 (IndexTM< int, 5 >::InitStatics())
static int s_dummyForIntVectCpp6 (IndexTM< int, 6 >::InitStatics())
static int s_dummyForRealVectCpp1 (IndexTM< Real, 1 >::InitStatics())
static int s_dummyForRealVectCpp2 (IndexTM< Real, 2 >::InitStatics())
static int s_dummyForRealVectCpp3 (IndexTM< Real, 3 >::InitStatics())
static int s_dummyForRealVectCpp4 (IndexTM< Real, 4 >::InitStatics())
static int s_dummyForRealVectCpp5 (IndexTM< Real, 5 >::InitStatics())
static int s_dummyForRealVectCpp6 (IndexTM< Real, 6 >::InitStatics())


Define Documentation

#define CH_IGNORE_MAX   100000

Referenced by operator>>().


Function Documentation

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

References MayDay::Error(), and i.

template<typename T, int N>
istream& operator>> ( istream &  is,
IndexTM< T, N > &  p 
) [inline]

References CH_IGNORE_MAX, MayDay::Error(), and i.

template<typename T>
static bool abscompare ( const T &  a,
const T &  b 
) [inline, static]

template<typename T>
static T ourmin ( a,
b 
) [inline, static]

template<typename T>
static T ourmax ( a,
b 
) [inline, static]

template<typename T, int N>
IndexTM<T,N> scale ( const IndexTM< T, N > &  p,
s 
) [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> 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> 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().

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

template<typename T>
static T ourcoarsen ( a,
b 
) [inline, static]

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]

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

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

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

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

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

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

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

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

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

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

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

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


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