Chombo + EB + MF
3.2
|
#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 > |
class | IndexTM< T, N > |
struct | IndexTraits< T > |
struct | IndexTraits< int > |
struct | IndexTraits< Real > |
Macros | |
#define | _INDEXTM_H_ |
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) |
#define _INDEXTM_H_ |
Referenced by MultilevelLinearOp< T >::dotProduct().
|
inline |
References IndexTM< T, N >::reflect().
Referenced by grow().
References IndexTM< T, N >::coarsen().
Referenced by coarsen_bl(), collectValidParticles(), BoxLayout::compatible(), ProblemDomain::contains_box(), Copier::Copier(), ParticleData< P >::enforcePeriodic(), ParticleData< P >::fillGhosts(), ParticleData< P >::remapOutcast(), and StdSetIVS::~StdSetIVS().
|
inline |
References IndexTM< T, N >::coarsen().
std::ostream& operator<< | ( | std::ostream & | a_os, |
const IndexTM< T, N > & | a_iv | ||
) |
Print the IndexTM to given output stream in ASCII.
Referenced by IntVect::min(), and ProblemDomain::operator<().
std::istream& operator>> | ( | std::istream & | a_os, |
IndexTM< T, N > & | a_iv | ||
) |
Read next IndexTM from given input stream.
Referenced by IntVect::min(), and ProblemDomain::operator<().
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.