#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"
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 CH_IGNORE_MAX 100000 |
Referenced by operator>>().
ostream& operator<< | ( | ostream & | os, | |
const IndexTM< T, N > & | p | |||
) | [inline] |
References MayDay::Error(), and i.
istream& operator>> | ( | istream & | is, | |
IndexTM< T, N > & | p | |||
) | [inline] |
References CH_IGNORE_MAX, MayDay::Error(), and i.
static bool abscompare | ( | const T & | a, | |
const T & | b | |||
) | [inline, static] |
static T ourmin | ( | T | a, | |
T | b | |||
) | [inline, static] |
static T ourmax | ( | T | a, | |
T | b | |||
) | [inline, static] |
Referenced by grow().
IndexTM<T,N> min | ( | const IndexTM< T, N > & | p1, | |
const IndexTM< T, N > & | p2 | |||
) | [inline] |
References IndexTM< T, N >::min().
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().
IndexTM<T,N> reflect | ( | const IndexTM< T, N > & | a, | |
T | ref_ix, | |||
int | idir | |||
) | [inline] |
References IndexTM< T, N >::reflect().
static T ourcoarsen | ( | T | a, | |
T | b | |||
) | [inline, static] |
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().
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] |