#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "REAL.H"
#include "Misc.H"
#include "GenericArithmetic.H"
#include "BaseNamespaceHeader.H"
#include "BaseNamespaceFooter.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 > &a_p1, const IndexTM< T, N > &a_p2) |
template<typename T, int N> | |
IndexTM< T, N > | max (const IndexTM< T, N > &a_p1, const IndexTM< T, N > &a_p2) |
template<typename T, int N> | |
IndexTM< T, N > | scale (const IndexTM< T, N > &a_p, T a_s) |
template<typename T, int N> | |
IndexTM< T, N > | reflect (const IndexTM< T, N > &a_a, T a_refIx, int a_idir) |
template<typename T, int N> | |
IndexTM< T, N > | diagShift (const IndexTM< T, N > &a_p, T a_s) |
template<typename T, int N> | |
IndexTM< T, N > | coarsen (const IndexTM< T, N > &a_p, T a_s) |
template<typename T, int N> | |
IndexTM< T, N > | coarsen (const IndexTM< T, N > &a_p1, const IndexTM< T, N > &a_p2) |
template<typename T, int N> | |
std::ostream & | operator<< (std::ostream &a_os, const IndexTM< T, N > &a_iv) |
template<typename T, int N> | |
std::istream & | operator>> (std::istream &a_os, IndexTM< T, N > &a_iv) |
template<typename T, int N> | |
IndexTM< T, N > | BASISV_TM (int a_dir) |
IndexTM<T,N> min | ( | const IndexTM< T, N > & | a_p1, | |
const IndexTM< T, N > & | a_p2 | |||
) | [inline] |
References IndexTM< T, N >::min().
Referenced by RootSolver::Brent(), and CoefficientInterpolator< LevelData_, SolutionLevelData_ >::NewtonRaphson().
IndexTM<T,N> reflect | ( | const IndexTM< T, N > & | a_a, | |
T | a_refIx, | |||
int | a_idir | |||
) | [inline] |
References IndexTM< T, N >::reflect().
Referenced by grow().
IndexTM<T,N> coarsen | ( | const IndexTM< T, N > & | a_p1, | |
const IndexTM< T, N > & | a_p2 | |||
) | [inline] |
References IndexTM< T, N >::coarsen().
std::ostream& operator<< | ( | std::ostream & | a_os, | |
const IndexTM< T, N > & | a_iv | |||
) | [inline] |
Print the IndexTM to given output stream in ASCII.
std::istream& operator>> | ( | std::istream & | a_os, | |
IndexTM< T, N > & | a_iv | |||
) | [inline] |
Read next IndexTM from given input stream.
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 CH_assert, IndexTM< T, N >::dataPtr(), and N.