Chombo + EB  3.2
Macros | Functions
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.

Macros

#define _ADVECTDIFFUSEUTILS_H_
 

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)
 

Macro Definition Documentation

◆ _ADVECTDIFFUSEUTILS_H_

#define _ADVECTDIFFUSEUTILS_H_

Function Documentation

◆ makeFinestDomain()

void makeFinestDomain ( ProblemDomain a_domain,
Real a_dx 
)

◆ dtgNorm()

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 
)

◆ compareError()

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 
)

◆ getErrorFromCoarseAndFine()

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 
)

◆ coarsenBoxes()

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

◆ getBoxes()

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

◆ getProblemDomain()

void getProblemDomain ( ProblemDomain a_domain)

◆ getAdvectTestIBC()

void getAdvectTestIBC ( RefCountedPtr< AdvectTestIBC > &  a_advPhys)

◆ getAMRLADFactory()

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

◆ getAdvectionVelocityFunction()

void getAdvectionVelocityFunction ( AdvectionVelocityFunction a_velFunc)

◆ defineAMR()

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

◆ setupAMRForAMRRun()

void setupAMRForAMRRun ( AMR a_amr)