Chombo + EB + MF  3.2
Functions
GenFuncs Namespace Reference

Functions

template<typename T >
bool compare (const T &x, const T &y, int prec)
 
template<typename T >
bool compare1 (const T &x, const T &y, int prec)
 
Box boxFromVector (const Vector< int > &a_ints, int a_start=0)
 
int readBoxes (Vector< Vector< Box > > &a_vectVectBoxes, ParmParse &a_pp, const ProblemDomain &a_domain, const int &a_maxGridSize, const int &a_blockFactor, const int &a_numlevels, const Vector< int > &a_vectRefRatio, const bool &a_verbose)
 
int getDiff (Vector< LevelData< FArrayBox > * > &a_vectDiff, const Vector< LevelData< FArrayBox > * > &a_vectPhi1, const Vector< LevelData< FArrayBox > * > &a_vectPhi2)
 
int getMagnitude (Vector< LevelData< FArrayBox > * > &a_vectMag, const Vector< LevelData< FArrayBox > * > &a_vectField)
 
int project2 (Vector< LevelData< FArrayBox > * > &a_vectProj, const Vector< LevelData< FArrayBox > * > &a_vectPhi, const Vector< DisjointBoxLayout > &a_vectGrids)
 
int printErrorNorms (const string &a_prefix, Real a_dxFine, int a_deginterp, Real a_normMaxerrFine, Real a_norm1errFine, Real a_norm2errFine, Real a_normMaxerrCoarse, Real a_norm1errCoarse, Real a_norm2errCoarse)
 
int printDiffNorms (const string &a_prefix, Real a_dxFine, int a_deginterp, Real a_normMaxdiff, Real a_norm1diff, Real a_norm2diff)
 
int getBoxesFromIndices (Vector< Box > &a_vectBoxes, const Box &a_domainBox, const int &a_maxGridSize, const int &a_blockFactor, const int &a_boxCount, const Vector< int > &a_boxIndices, const Vector< int > &a_domainIndices)
 

Function Documentation

template<typename T >
bool GenFuncs::compare ( const T &  x,
const T &  y,
int  prec 
)
inline

References min().

template<typename T >
bool GenFuncs::compare1 ( const T &  x,
const T &  y,
int  prec 
)
inline

References min().

Box GenFuncs::boxFromVector ( const Vector< int > &  a_ints,
int  a_start = 0 
)
int GenFuncs::readBoxes ( Vector< Vector< Box > > &  a_vectVectBoxes,
ParmParse a_pp,
const ProblemDomain a_domain,
const int &  a_maxGridSize,
const int &  a_blockFactor,
const int &  a_numlevels,
const Vector< int > &  a_vectRefRatio,
const bool &  a_verbose 
)
int GenFuncs::getDiff ( Vector< LevelData< FArrayBox > * > &  a_vectDiff,
const Vector< LevelData< FArrayBox > * > &  a_vectPhi1,
const Vector< LevelData< FArrayBox > * > &  a_vectPhi2 
)
int GenFuncs::getMagnitude ( Vector< LevelData< FArrayBox > * > &  a_vectMag,
const Vector< LevelData< FArrayBox > * > &  a_vectField 
)
int GenFuncs::project2 ( Vector< LevelData< FArrayBox > * > &  a_vectProj,
const Vector< LevelData< FArrayBox > * > &  a_vectPhi,
const Vector< DisjointBoxLayout > &  a_vectGrids 
)
int GenFuncs::printErrorNorms ( const string &  a_prefix,
Real  a_dxFine,
int  a_deginterp,
Real  a_normMaxerrFine,
Real  a_norm1errFine,
Real  a_norm2errFine,
Real  a_normMaxerrCoarse,
Real  a_norm1errCoarse,
Real  a_norm2errCoarse 
)
int GenFuncs::printDiffNorms ( const string &  a_prefix,
Real  a_dxFine,
int  a_deginterp,
Real  a_normMaxdiff,
Real  a_norm1diff,
Real  a_norm2diff 
)
int GenFuncs::getBoxesFromIndices ( Vector< Box > &  a_vectBoxes,
const Box a_domainBox,
const int &  a_maxGridSize,
const int &  a_blockFactor,
const int &  a_boxCount,
const Vector< int > &  a_boxIndices,
const Vector< int > &  a_domainIndices 
)