11 #ifndef _ADVECTDIFFUSEUTILS_H_ 12 #define _ADVECTDIFFUSEUTILS_H_ 23 #include "NamespaceHeader.H" 126 #include "NamespaceFooter.H" Real(* AdvectionVelocityFunction)(const RealVect &a_point, const int &a_velComp)
Velocity function interface.
Definition: AdvectionFunctions.H:23
A reference-counting handle class.
Definition: RefCountedPtr.H:173
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
one dimensional dynamic array
Definition: Vector.H:53
void compareError(Vector< Real > &a_orders, const Vector< LevelData< FArrayBox > * > &a_errorFine, const Vector< LevelData< FArrayBox > * > &a_errorCoar, const Vector< DisjointBoxLayout > &a_gridsFine, const Vector< DisjointBoxLayout > &a_gridsCoar, const Vector< int > &a_refRat, const ProblemDomain &a_coarseDom, int a_testverbosity)
void getAdvectTestIBC(RefCountedPtr< AdvectTestIBC > &a_advPhys)
void getAMRLADFactory(RefCountedPtr< AMRLevelAdvectDiffuseFactory > &a_fact, AdvectionVelocityFunction &a_velFunc, AdvectPhysics &a_advPhys)
void getBoxes(Vector< Vector< Box > > &a_boxes, Vector< int > &a_refRat, const Box &a_domain)
void coarsenBoxes(Vector< Vector< Box > > &a_boxesCoar, const Vector< Vector< Box > > &a_boxesFine, int a_refToCoar)
void getProblemDomain(ProblemDomain &a_domain)
double Real
Definition: REAL.H:33
void getAdvectionVelocityFunction(AdvectionVelocityFunction &a_velFunc)
Framework for Berger-Oliger timestepping for AMR.
Definition: AMR.H:53
void makeFinestDomain(ProblemDomain &a_domain, Real &a_dx)
A class derived from GodunovPhysics for simple advection-diffusion problems.
Definition: AdvectPhysics.H:22
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
void setupAMRForAMRRun(AMR &a_amr)
void defineAMR(AMR &a_amr, RefCountedPtr< AMRLevelAdvectDiffuseFactory > &a_fact, const ProblemDomain &a_prob_domain, const Vector< int > &a_refRat)
Real dtgNorm(const Vector< LevelData< FArrayBox > * > &a_src, const Vector< DisjointBoxLayout > &a_grids, const Vector< int > &a_refRatio, const ProblemDomain &a_coarseDom, const int &a_comp, const int &a_pval)
void getErrorFromCoarseAndFine(Vector< LevelData< FArrayBox > * > &a_errorCoar, const Vector< LevelData< FArrayBox > * > &a_solnCoar, const Vector< DisjointBoxLayout > &a_gridsCoar, const ProblemDomain &a_level0DomainCoar, const Vector< LevelData< FArrayBox > * > &a_solnFine, const Vector< DisjointBoxLayout > &a_gridsFine, const ProblemDomain &a_level0DomainFine, const Vector< int > &a_refRat)