Chombo + EB + MF  3.2
Namespaces | Macros | Functions
generalFuncs.H File Reference
#include <iostream>
#include <cstdio>
#include "LevelData.H"
#include "FArrayBox.H"
#include "Vector.H"
#include "RealVect.H"
#include "ParmParse.H"
#include "UsingNamespace.H"
Include dependency graph for generalFuncs.H:

Go to the source code of this file.

Namespaces

 GenFuncs
 

Macros

#define _GENERALFUNCS_H_
 

Functions

template<typename T >
bool GenFuncs::compare (const T &x, const T &y, int prec)
 
template<typename T >
bool GenFuncs::compare1 (const T &x, const T &y, int prec)
 
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)
 

Macro Definition Documentation

◆ _GENERALFUNCS_H_

#define _GENERALFUNCS_H_