AdvectDiffuseUtils.H File Reference

#include <cmath>
#include "AMR.H"
#include "AMRLevelAdvectDiffuseFactory.H"
#include "AdvectTestIBC.H"
#include "AdvectionFunctions.H"
#include "memtrack.H"
#include "parstream.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"

Include dependency graph for AdvectDiffuseUtils.H:

Go to the source code of this file.

Functions

void makeFinestDomain (ProblemDomain &a_domain, Real &a_dx)
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 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 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)
void coarsenBoxes (Vector< Vector< Box > > &a_boxesCoar, const Vector< Vector< Box > > &a_boxesFine, int a_refToCoar)
void getBoxes (Vector< Vector< Box > > &a_boxes, Vector< int > &a_refRat, const Box &a_domain)
void getProblemDomain (ProblemDomain &a_domain)
void getAdvectTestIBC (RefCountedPtr< AdvectTestIBC > &a_advPhys)
void getAMRLADFactory (RefCountedPtr< AMRLevelAdvectDiffuseFactory > &a_fact, AdvectionVelocityFunction &a_velFunc, AdvectPhysics &a_advPhys)
void getAdvectionVelocityFunction (AdvectionVelocityFunction &a_velFunc)
void defineAMR (AMR &a_amr, RefCountedPtr< AMRLevelAdvectDiffuseFactory > &a_fact, const ProblemDomain &a_prob_domain, const Vector< int > &a_refRat)
void setupAMRForAMRRun (AMR &a_amr)


Function Documentation

void makeFinestDomain ( ProblemDomain a_domain,
Real a_dx 
)

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 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 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 
)

void coarsenBoxes ( Vector< Vector< Box > > &  a_boxesCoar,
const Vector< Vector< Box > > &  a_boxesFine,
int  a_refToCoar 
)

void getBoxes ( Vector< Vector< Box > > &  a_boxes,
Vector< int > &  a_refRat,
const Box a_domain 
)

void getProblemDomain ( ProblemDomain a_domain  ) 

void getAdvectTestIBC ( RefCountedPtr< AdvectTestIBC > &  a_advPhys  ) 

void getAMRLADFactory ( RefCountedPtr< AMRLevelAdvectDiffuseFactory > &  a_fact,
AdvectionVelocityFunction a_velFunc,
AdvectPhysics a_advPhys 
)

void getAdvectionVelocityFunction ( AdvectionVelocityFunction a_velFunc  ) 

void defineAMR ( AMR a_amr,
RefCountedPtr< AMRLevelAdvectDiffuseFactory > &  a_fact,
const ProblemDomain a_prob_domain,
const Vector< int > &  a_refRat 
)

void setupAMRForAMRRun ( AMR a_amr  ) 


Generated on Fri Apr 5 04:17:15 2019 for Chombo + EB by  doxygen 1.5.5