Chombo + EB  3.0
Public Member Functions | Static Public Member Functions | List of all members
EBAMRDataOps Class Reference

#include <EBAMRDataOps.H>

Public Member Functions

 EBAMRDataOps ()
 
 ~EBAMRDataOps ()
 

Static Public Member Functions

static void getErrorFromCoarseAndFine (Vector< LevelData< EBCellFAB > * > &a_errorCoar, const Vector< LevelData< EBCellFAB > * > &a_solnCoar, const Vector< DisjointBoxLayout > &a_gridsCoar, const Vector< EBISLayout > &a_ebislCoar, const ProblemDomain &a_level0DomainCoar, const Vector< LevelData< EBCellFAB > * > &a_solnFine, const Vector< DisjointBoxLayout > &a_gridsFine, const Vector< EBISLayout > &a_ebislFine, const ProblemDomain &a_level0DomainFine, const Vector< int > &a_refRat, bool a_kappaAlreadyMultipliedIn=false)
 
static void getErrorFromCoarseAndFine (LevelData< EBCellFAB > &a_errorCoar, const LevelData< EBCellFAB > &a_solnCoar, const DisjointBoxLayout &a_gridsCoar, const EBISLayout &a_ebislCoar, const ProblemDomain &a_level0DomainCoar, const LevelData< EBCellFAB > &a_solnFine, const DisjointBoxLayout &a_gridsFine, const EBISLayout &a_ebislFine, const ProblemDomain &a_level0DomainFine, bool a_kappaAlreadyMultipliedIn=false)
 
static int countVoF (const Vector< DisjointBoxLayout > &a_dbl, const Vector< EBISLayout > &a_ebisl, const Vector< ProblemDomain > &a_domain)
 
static void averageCellToFacesMAC (Vector< LevelData< EBFluxFAB > * > &a_dataFlux, const Vector< LevelData< EBCellFAB > * > &a_dataCell, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio)
 
static void averageCellToFaces (Vector< LevelData< EBFluxFAB > * > &a_dataFlux, const Vector< LevelData< EBCellFAB > * > &a_dataCell, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio, const int &a_comp)
 
static void averageCellToFaces (Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_dataFlux, const Vector< LevelData< EBCellFAB > * > &a_dataCell, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio, const int &a_comp)
 
static void quadCFInterpAll (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< DisjointBoxLayout > &a_dbl, const Vector< EBISLayout > &a_ebisl, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_refRatio)
 
static void quadCFInterpAll (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio)
 
static void quadCFInterpOne (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio, const int &a_fineLevel)
 
static void quadCFInterpOne (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< DisjointBoxLayout > &a_dbl, const Vector< EBISLayout > &a_ebisl, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_refRatio, const int &a_fineLevel)
 
static void quadCFInterpOne (LevelData< EBCellFAB > &a_dataFine, const LevelData< EBCellFAB > &a_dataCoar, const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const ProblemDomain &a_domainCoar, const int &a_refRatio)
 
static void pwlFillPatchAll (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio)
 
static void pwlFillPatchAll (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< DisjointBoxLayout > &a_dbl, const Vector< EBISLayout > &a_ebisl, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_refRatio)
 
static void pwlFillPatchOne (LevelData< EBCellFAB > &a_dataFine, LevelData< EBCellFAB > &a_dataCoar, const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const ProblemDomain &a_domainCoar, const int &a_refRatioCoar)
 
static void exchangeAll (Vector< LevelData< EBCellFAB > * > &a_phi)
 
static void exchangeCorners (Vector< LevelData< EBCellFAB > * > &a_data, const ProblemDomain &a_domain)
 
static void exchangeComp (Vector< LevelData< EBCellFAB > * > &a_data, const int &a_comp)
 
static void exchangeAll (Vector< LevelData< EBFluxFAB > * > &a_phi)
 
static void exchangeComp (Vector< LevelData< EBFluxFAB > * > &a_data, const int &a_comp)
 
static void exchangeAll (Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_phi)
 
static void exchangeComp (Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_data, const int &a_comp)
 
static void exchangeAll (Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_phi)
 
static void exchangeComp (Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_data, const int &a_comp)
 
static void coarsenDown (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio)
 
static void averageDown (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBISLayout > &a_ebisl, const Vector< DisjointBoxLayout > &a_dbl, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_refRatio)
 
static void averageDown (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio)
 
static void averageDown (LevelData< EBCellFAB > &a_dataCoar, const LevelData< EBCellFAB > &a_dataFine, const EBISLayout &a_ebislCoar, const EBISLayout &a_ebislFine, const DisjointBoxLayout &a_dblCoar, const DisjointBoxLayout &a_dblFine, const ProblemDomain &a_domainCoar, const int &a_refRatio)
 
static Real subtractOffMean (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRat)
 
static void averageDown (Vector< LevelData< EBFluxFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio)
 
static void averageDown (Vector< LevelData< EBFluxFAB > * > &a_data, const Vector< EBISLayout > &a_ebisl, const Vector< DisjointBoxLayout > &a_dbl, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_refRatio)
 
static void averageDown (Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_data, const Vector< EBISLayout > &a_ebisl, const Vector< DisjointBoxLayout > &a_dbl, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_refRatio)
 
static void averageDown (Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_data, const Vector< EBISLayout > &a_ebisl, const Vector< DisjointBoxLayout > &a_dbl, const Vector< ProblemDomain > &a_domain, const Vector< int > &a_refRatio)
 
static void averageDown (Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRatio)
 
static void setCoveredAMRVal (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBISLayout > &a_ebisl, const Vector< int > &a_refRat, const Real &a_value)
 
static void setCoveredAMRVal (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRat, const Real &a_value)
 
static void setCoveredVal (Vector< LevelData< EBCellFAB > * > &a_data, const Real &a_value)
 
static void deleteAMRData (Vector< LevelData< EBCellFAB > * > &a_amrData)
 
static void defineAMRData (Vector< LevelData< EBCellFAB > * > &a_amrData, const Vector< EBLevelGrid > &a_eblg, const IntVect &a_ghosts, const int &a_nComp, const int &a_numLevels)
 Defines every LevelData<EBCellFAB> object in the given AMR hierarchy using the given parameters. More...
 
static void defineAMRData (Vector< LevelData< EBFluxFAB > * > &a_amrData, const Vector< EBLevelGrid > &a_eblg, const IntVect &a_ghosts, const int &a_nComp, const int &a_numLevels)
 Defines every LevelData<EBFluxFAB> object in the given AMR hierarchy using the given parameters. More...
 
static void defineAMRData (Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_amrData, const Vector< EBLevelGrid > &a_eblg, const IntVect &a_ghosts, const int &a_nComp, const int &a_numLevels)
 
static void defineAMRData (Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_amrData, const Vector< EBLevelGrid > &a_eblg, const IntVect &a_ghosts, const int &a_nComp, const int &a_numLevels)
 
static void scale (Vector< LevelData< EBFluxFAB > * > &a_lhs, const Real &a_scale)
 Scales the AMR hierarchy of flux data a_lhs by the factor a_scale. More...
 
static void scale (Vector< LevelData< EBCellFAB > * > &a_lhs, const Real &a_scale)
 Scales the AMR hierarchy of cell data a_lhs by the factor a_scale. More...
 
static void scale (Vector< LevelData< EBCellFAB > * > &a_lhs, const Real &a_scale, const int &a_comp)
 
static void setToZero (Vector< LevelData< EBCellFAB > * > &a_result)
 Sets every element in the AMR hierarchy of cell data a_result to zero. More...
 
static void setVal (Vector< LevelData< EBCellFAB > * > &a_result, const Real &a_value)
 Sets every element in the AMR hierarchy of cell data a_result to the value a_value. More...
 
static void setVal (Vector< LevelData< EBCellFAB > * > &a_result, const Real &a_value, const int &a_comp)
 
static void setToZero (Vector< LevelData< EBFluxFAB > * > &a_result)
 Sets every element in the AMR hierarchy of flux data a_result to zero. More...
 
static void setVal (Vector< LevelData< EBFluxFAB > * > &a_result, const Real &a_value)
 Sets every element in the AMR hierarchy of flux data a_result to a_value. More...
 
static void assign (Vector< LevelData< EBCellFAB > * > &a_lhs, const Vector< LevelData< EBCellFAB > * > &a_rhs)
 
static void assign (Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_lhs, const Vector< LevelData< EBCellFAB > * > &a_rhs)
 
static void assign (Vector< LevelData< EBFluxFAB > * > &a_lhs, const Vector< LevelData< EBFluxFAB > * > &a_rhs)
 
static void assign (Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_lhs, const Vector< LevelData< EBFluxFAB > * > &a_rhs)
 
static void assign (Vector< LevelData< EBCellFAB > * > &a_to, const Vector< LevelData< EBCellFAB > * > &a_from, const Interval &a_toInterval, const Interval &a_fromInterval)
 
static void assign (Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_to, const Vector< LevelData< EBCellFAB > * > &a_from, const Interval &a_toInterval, const Interval &a_fromInterval)
 
static void incr (Vector< LevelData< EBCellFAB > * > &a_lhs, const Vector< LevelData< EBCellFAB > * > &a_rhs, const Real &a_scale)
 
static void incr (Vector< LevelData< EBCellFAB > * > &a_lhs, const Real &a_scale)
 
static void axby (Vector< LevelData< EBCellFAB > * > &a_lhs, const Vector< LevelData< EBCellFAB > * > &a_x, const Vector< LevelData< EBCellFAB > * > &a_y, const Real &a, const Real &b)
 
static void axby (Vector< LevelData< EBCellFAB > * > &a_lhs, const Vector< LevelData< EBCellFAB > * > &a_x, const Vector< LevelData< EBCellFAB > * > &a_y, const Real &a_a, const Real &a_b, const int &a_lhsComp, const int &a_xComp, const int &a_yComp)
 
static void sum (Vector< LevelData< EBCellFAB > * > &a_result, const Vector< LevelData< EBCellFAB > * > &a_in1, const Vector< LevelData< EBCellFAB > * > &a_in2)
 
static void addConstant (Vector< LevelData< EBCellFAB > * > &a_data, const Real &a_constant)
 Adds the constant a_constant to every element in the hierarchy a_data. More...
 
static void product (Vector< LevelData< EBCellFAB > * > &a_result, const Vector< LevelData< EBCellFAB > * > &a_in1, const Vector< LevelData< EBCellFAB > * > &a_in2)
 
static void product (Vector< LevelData< EBCellFAB > * > &a_result, const Vector< LevelData< EBCellFAB > * > &a_in1, const Vector< LevelData< EBCellFAB > * > &a_in2, const int &a_rComp, const int &a_1Comp, const int &a_2Comp)
 
static void divideVectorByScalar (Vector< LevelData< EBCellFAB > * > &a_vectorOut, const Vector< LevelData< EBCellFAB > * > &a_vectorIn, const Vector< LevelData< EBCellFAB > * > &a_scalar)
 
static void divide (Vector< LevelData< EBCellFAB > * > &a_result, const Vector< LevelData< EBCellFAB > * > &a_in1, const Vector< LevelData< EBCellFAB > * > &a_in2)
 
static void divide (Vector< LevelData< EBCellFAB > * > &a_result, const Vector< LevelData< EBCellFAB > * > &a_in1, const Vector< LevelData< EBCellFAB > * > &a_in2, const int &a_rComp, const int &a_1Comp, const int &a_2Comp)
 
static void product (Vector< LevelData< EBFluxFAB > * > &a_result, const Vector< LevelData< EBFluxFAB > * > &a_in1, const Vector< LevelData< EBFluxFAB > * > &a_in2)
 
static void kappaWeight (Vector< LevelData< EBCellFAB > * > &a_data)
 
static void kappaScale (Vector< LevelData< EBCellFAB > * > &a_data, const Real &a_scale)
 
static Real kappaNorm (Real &a_volume, const Vector< LevelData< EBCellFAB > * > &a_data, int a_which, const Vector< ProblemDomain > &a_domain, int a_p=2)
 
static Real noKappaNorm (Real &a_volume, const Vector< LevelData< EBCellFAB > * > &a_data, int a_which, const Vector< ProblemDomain > &a_domain, int a_p=2)
 
static Real kappaDotProduct (Real &a_volume, const Vector< LevelData< EBCellFAB > * > &a_data1, const Vector< LevelData< EBCellFAB > * > &a_data2, int a_which, const Vector< ProblemDomain > &a_domain)
 
static Real noKappaDotProduct (Real &a_volume, const Vector< LevelData< EBCellFAB > * > &a_data1, const Vector< LevelData< EBCellFAB > * > &a_data2, int a_which, const Vector< ProblemDomain > &a_domain)
 
static void setMaxMin (Vector< LevelData< EBCellFAB > * > &a_data, const Real &a_maxVal, const Real &a_minVal, const int &a_comp)
 
static void getMaxMin (Real &a_maxVal, Real &a_minVal, const Vector< LevelData< EBCellFAB > * > &a_data, const int &a_comp)
 
static Real subtractOffMean (Vector< LevelData< EBCellFAB > * > &a_data, const Vector< DisjointBoxLayout > &a_grids, const Vector< EBISLayout > &a_ebisl, const Vector< int > &a_refRat)
 
static void checkThisData (const Vector< LevelData< EBCellFAB > * > &a_data, const string &a_name, const IntVect &a_iv1=IntVect::Zero, const IntVect &a_iv2=IntVect::Zero, const Real &a_shift=0.0)
 
static bool checkNANINF (const Vector< LevelData< EBCellFAB > * > &a_data, const IntVect &a_iv1=IntVect::Zero, const IntVect &a_iv2=IntVect::Zero, const Real &a_shift=0.0)
 
static void checkThisData (const Vector< LevelData< EBFluxFAB > * > &a_data, const string &a_name)
 
static bool checkNANINF (const Vector< LevelData< EBFluxFAB > * > &a_data)
 
static Real sum (const Vector< LevelData< EBCellFAB > * > &a_data, const Vector< DisjointBoxLayout > &a_grids, const Vector< EBISLayout > &a_ebisl, const Vector< int > &a_refRat, int a_comp, bool a_mutiplyByKappa)
 

Detailed Description

Repository of functions for EB Hierarchies.

Constructor & Destructor Documentation

◆ EBAMRDataOps()

EBAMRDataOps::EBAMRDataOps ( )
inline

◆ ~EBAMRDataOps()

EBAMRDataOps::~EBAMRDataOps ( )
inline

Member Function Documentation

◆ getErrorFromCoarseAndFine() [1/2]

static void EBAMRDataOps::getErrorFromCoarseAndFine ( Vector< LevelData< EBCellFAB > * > &  a_errorCoar,
const Vector< LevelData< EBCellFAB > * > &  a_solnCoar,
const Vector< DisjointBoxLayout > &  a_gridsCoar,
const Vector< EBISLayout > &  a_ebislCoar,
const ProblemDomain a_level0DomainCoar,
const Vector< LevelData< EBCellFAB > * > &  a_solnFine,
const Vector< DisjointBoxLayout > &  a_gridsFine,
const Vector< EBISLayout > &  a_ebislFine,
const ProblemDomain a_level0DomainFine,
const Vector< int > &  a_refRat,
bool  a_kappaAlreadyMultipliedIn = false 
)
static

If you want averaging to be sum (kappaf*phic) = kappac*phic, set a_kappaMultipliedIn to be false, If you want simple averaging, set it to be true. Simply put, false is for phi, true is for kappa Lapl(phi).

Referenced by EBAMRDataOps().

◆ getErrorFromCoarseAndFine() [2/2]

static void EBAMRDataOps::getErrorFromCoarseAndFine ( LevelData< EBCellFAB > &  a_errorCoar,
const LevelData< EBCellFAB > &  a_solnCoar,
const DisjointBoxLayout a_gridsCoar,
const EBISLayout a_ebislCoar,
const ProblemDomain a_level0DomainCoar,
const LevelData< EBCellFAB > &  a_solnFine,
const DisjointBoxLayout a_gridsFine,
const EBISLayout a_ebislFine,
const ProblemDomain a_level0DomainFine,
bool  a_kappaAlreadyMultipliedIn = false 
)
static

If you want averaging to be sum (kappaf*phic) = kappac*phic, set a_kappaMultipliedIn to be false, If you want simple averaging, set it to be true. Simply put, false is for phi, true is for kappa Lapl(phi).

◆ countVoF()

static int EBAMRDataOps::countVoF ( const Vector< DisjointBoxLayout > &  a_dbl,
const Vector< EBISLayout > &  a_ebisl,
const Vector< ProblemDomain > &  a_domain 
)
static

count vofs, boxes, regular cells, etc.

Referenced by ~EBAMRDataOps().

◆ averageCellToFacesMAC()

static void EBAMRDataOps::averageCellToFacesMAC ( Vector< LevelData< EBFluxFAB > * > &  a_dataFlux,
const Vector< LevelData< EBCellFAB > * > &  a_dataCell,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio 
)
static

average a cell centered velocity vector (with SpaceDim components) to face centers

Referenced by ~EBAMRDataOps().

◆ averageCellToFaces() [1/2]

static void EBAMRDataOps::averageCellToFaces ( Vector< LevelData< EBFluxFAB > * > &  a_dataFlux,
const Vector< LevelData< EBCellFAB > * > &  a_dataCell,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio,
const int &  a_comp 
)
static

average cell centered data to all face centers for component a_comp

Referenced by ~EBAMRDataOps().

◆ averageCellToFaces() [2/2]

static void EBAMRDataOps::averageCellToFaces ( Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &  a_dataFlux,
const Vector< LevelData< EBCellFAB > * > &  a_dataCell,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio,
const int &  a_comp 
)
static

average cell centered data to all face centers for component a_comp

◆ quadCFInterpAll() [1/2]

static void EBAMRDataOps::quadCFInterpAll ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< DisjointBoxLayout > &  a_dbl,
const Vector< EBISLayout > &  a_ebisl,
const Vector< ProblemDomain > &  a_domain,
const Vector< int > &  a_refRatio 
)
static

Referenced by ~EBAMRDataOps().

◆ quadCFInterpAll() [2/2]

static void EBAMRDataOps::quadCFInterpAll ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio 
)
static

◆ quadCFInterpOne() [1/3]

static void EBAMRDataOps::quadCFInterpOne ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio,
const int &  a_fineLevel 
)
static

Referenced by ~EBAMRDataOps().

◆ quadCFInterpOne() [2/3]

static void EBAMRDataOps::quadCFInterpOne ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< DisjointBoxLayout > &  a_dbl,
const Vector< EBISLayout > &  a_ebisl,
const Vector< ProblemDomain > &  a_domain,
const Vector< int > &  a_refRatio,
const int &  a_fineLevel 
)
static

◆ quadCFInterpOne() [3/3]

static void EBAMRDataOps::quadCFInterpOne ( LevelData< EBCellFAB > &  a_dataFine,
const LevelData< EBCellFAB > &  a_dataCoar,
const DisjointBoxLayout a_dblFine,
const DisjointBoxLayout a_dblCoar,
const EBISLayout a_ebislFine,
const EBISLayout a_ebislCoar,
const ProblemDomain a_domainCoar,
const int &  a_refRatio 
)
static

◆ pwlFillPatchAll() [1/2]

static void EBAMRDataOps::pwlFillPatchAll ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio 
)
static

Referenced by ~EBAMRDataOps().

◆ pwlFillPatchAll() [2/2]

static void EBAMRDataOps::pwlFillPatchAll ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< DisjointBoxLayout > &  a_dbl,
const Vector< EBISLayout > &  a_ebisl,
const Vector< ProblemDomain > &  a_domain,
const Vector< int > &  a_refRatio 
)
static

◆ pwlFillPatchOne()

static void EBAMRDataOps::pwlFillPatchOne ( LevelData< EBCellFAB > &  a_dataFine,
LevelData< EBCellFAB > &  a_dataCoar,
const DisjointBoxLayout a_dblFine,
const DisjointBoxLayout a_dblCoar,
const EBISLayout a_ebislFine,
const EBISLayout a_ebislCoar,
const ProblemDomain a_domainCoar,
const int &  a_refRatioCoar 
)
static

Referenced by ~EBAMRDataOps().

◆ exchangeAll() [1/4]

static void EBAMRDataOps::exchangeAll ( Vector< LevelData< EBCellFAB > * > &  a_phi)
static

Referenced by ~EBAMRDataOps().

◆ exchangeCorners()

static void EBAMRDataOps::exchangeCorners ( Vector< LevelData< EBCellFAB > * > &  a_data,
const ProblemDomain a_domain 
)
static

Referenced by ~EBAMRDataOps().

◆ exchangeComp() [1/4]

static void EBAMRDataOps::exchangeComp ( Vector< LevelData< EBCellFAB > * > &  a_data,
const int &  a_comp 
)
static

Referenced by ~EBAMRDataOps().

◆ exchangeAll() [2/4]

static void EBAMRDataOps::exchangeAll ( Vector< LevelData< EBFluxFAB > * > &  a_phi)
static

◆ exchangeComp() [2/4]

static void EBAMRDataOps::exchangeComp ( Vector< LevelData< EBFluxFAB > * > &  a_data,
const int &  a_comp 
)
static

◆ exchangeAll() [3/4]

static void EBAMRDataOps::exchangeAll ( Vector< RefCountedPtr< LevelData< EBCellFAB > > > &  a_phi)
static

◆ exchangeComp() [3/4]

static void EBAMRDataOps::exchangeComp ( Vector< RefCountedPtr< LevelData< EBCellFAB > > > &  a_data,
const int &  a_comp 
)
static

◆ exchangeAll() [4/4]

static void EBAMRDataOps::exchangeAll ( Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &  a_phi)
static

◆ exchangeComp() [4/4]

static void EBAMRDataOps::exchangeComp ( Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &  a_data,
const int &  a_comp 
)
static

◆ coarsenDown()

static void EBAMRDataOps::coarsenDown ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio 
)
static

Referenced by ~EBAMRDataOps().

◆ averageDown() [1/8]

static void EBAMRDataOps::averageDown ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBISLayout > &  a_ebisl,
const Vector< DisjointBoxLayout > &  a_dbl,
const Vector< ProblemDomain > &  a_domain,
const Vector< int > &  a_refRatio 
)
static

Referenced by ~EBAMRDataOps().

◆ averageDown() [2/8]

static void EBAMRDataOps::averageDown ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio 
)
static

◆ averageDown() [3/8]

static void EBAMRDataOps::averageDown ( LevelData< EBCellFAB > &  a_dataCoar,
const LevelData< EBCellFAB > &  a_dataFine,
const EBISLayout a_ebislCoar,
const EBISLayout a_ebislFine,
const DisjointBoxLayout a_dblCoar,
const DisjointBoxLayout a_dblFine,
const ProblemDomain a_domainCoar,
const int &  a_refRatio 
)
static

◆ subtractOffMean() [1/2]

static Real EBAMRDataOps::subtractOffMean ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRat 
)
static

Referenced by ~EBAMRDataOps().

◆ averageDown() [4/8]

static void EBAMRDataOps::averageDown ( Vector< LevelData< EBFluxFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio 
)
static

◆ averageDown() [5/8]

static void EBAMRDataOps::averageDown ( Vector< LevelData< EBFluxFAB > * > &  a_data,
const Vector< EBISLayout > &  a_ebisl,
const Vector< DisjointBoxLayout > &  a_dbl,
const Vector< ProblemDomain > &  a_domain,
const Vector< int > &  a_refRatio 
)
static

◆ averageDown() [6/8]

static void EBAMRDataOps::averageDown ( Vector< RefCountedPtr< LevelData< EBCellFAB > > > &  a_data,
const Vector< EBISLayout > &  a_ebisl,
const Vector< DisjointBoxLayout > &  a_dbl,
const Vector< ProblemDomain > &  a_domain,
const Vector< int > &  a_refRatio 
)
static

◆ averageDown() [7/8]

static void EBAMRDataOps::averageDown ( Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &  a_data,
const Vector< EBISLayout > &  a_ebisl,
const Vector< DisjointBoxLayout > &  a_dbl,
const Vector< ProblemDomain > &  a_domain,
const Vector< int > &  a_refRatio 
)
static

◆ averageDown() [8/8]

static void EBAMRDataOps::averageDown ( Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRatio 
)
static

◆ setCoveredAMRVal() [1/2]

static void EBAMRDataOps::setCoveredAMRVal ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBISLayout > &  a_ebisl,
const Vector< int > &  a_refRat,
const Real a_value 
)
static

Referenced by ~EBAMRDataOps().

◆ setCoveredAMRVal() [2/2]

static void EBAMRDataOps::setCoveredAMRVal ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRat,
const Real a_value 
)
static

◆ setCoveredVal()

static void EBAMRDataOps::setCoveredVal ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Real a_value 
)
static

Referenced by ~EBAMRDataOps().

◆ deleteAMRData()

static void EBAMRDataOps::deleteAMRData ( Vector< LevelData< EBCellFAB > * > &  a_amrData)
static

Referenced by ~EBAMRDataOps().

◆ defineAMRData() [1/4]

static void EBAMRDataOps::defineAMRData ( Vector< LevelData< EBCellFAB > * > &  a_amrData,
const Vector< EBLevelGrid > &  a_eblg,
const IntVect a_ghosts,
const int &  a_nComp,
const int &  a_numLevels 
)
static

Defines every LevelData<EBCellFAB> object in the given AMR hierarchy using the given parameters.

Referenced by ~EBAMRDataOps().

◆ defineAMRData() [2/4]

static void EBAMRDataOps::defineAMRData ( Vector< LevelData< EBFluxFAB > * > &  a_amrData,
const Vector< EBLevelGrid > &  a_eblg,
const IntVect a_ghosts,
const int &  a_nComp,
const int &  a_numLevels 
)
static

Defines every LevelData<EBFluxFAB> object in the given AMR hierarchy using the given parameters.

◆ defineAMRData() [3/4]

static void EBAMRDataOps::defineAMRData ( Vector< RefCountedPtr< LevelData< EBCellFAB > > > &  a_amrData,
const Vector< EBLevelGrid > &  a_eblg,
const IntVect a_ghosts,
const int &  a_nComp,
const int &  a_numLevels 
)
static

Defines every LevelData<EBCellFAB> object in the given AMR hierarchy using the given parameters. This version manipulates hierarchies that use RefCountedPtr objects instead of bare pointers.

◆ defineAMRData() [4/4]

static void EBAMRDataOps::defineAMRData ( Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &  a_amrData,
const Vector< EBLevelGrid > &  a_eblg,
const IntVect a_ghosts,
const int &  a_nComp,
const int &  a_numLevels 
)
static

Defines every LevelData<EBFluxFAB> object in the given AMR hierarchy using the given parameters. This version manipulates hierarchies that use RefCountedPtr objects instead of bare pointers.

◆ scale() [1/3]

static void EBAMRDataOps::scale ( Vector< LevelData< EBFluxFAB > * > &  a_lhs,
const Real a_scale 
)
static

Scales the AMR hierarchy of flux data a_lhs by the factor a_scale.

Referenced by ~EBAMRDataOps().

◆ scale() [2/3]

static void EBAMRDataOps::scale ( Vector< LevelData< EBCellFAB > * > &  a_lhs,
const Real a_scale 
)
static

Scales the AMR hierarchy of cell data a_lhs by the factor a_scale.

◆ scale() [3/3]

static void EBAMRDataOps::scale ( Vector< LevelData< EBCellFAB > * > &  a_lhs,
const Real a_scale,
const int &  a_comp 
)
static

Applies a scale factor a_scale to a specific component a_comp of the AMR hierarchy of cell data a_lhs.

◆ setToZero() [1/2]

static void EBAMRDataOps::setToZero ( Vector< LevelData< EBCellFAB > * > &  a_result)
static

Sets every element in the AMR hierarchy of cell data a_result to zero.

Referenced by ~EBAMRDataOps().

◆ setVal() [1/3]

static void EBAMRDataOps::setVal ( Vector< LevelData< EBCellFAB > * > &  a_result,
const Real a_value 
)
static

Sets every element in the AMR hierarchy of cell data a_result to the value a_value.

Referenced by ~EBAMRDataOps().

◆ setVal() [2/3]

static void EBAMRDataOps::setVal ( Vector< LevelData< EBCellFAB > * > &  a_result,
const Real a_value,
const int &  a_comp 
)
static

Sets the given component a_comp in every element in the AMR hierarchy of cell data a_result to the value a_value.

◆ setToZero() [2/2]

static void EBAMRDataOps::setToZero ( Vector< LevelData< EBFluxFAB > * > &  a_result)
static

Sets every element in the AMR hierarchy of flux data a_result to zero.

◆ setVal() [3/3]

static void EBAMRDataOps::setVal ( Vector< LevelData< EBFluxFAB > * > &  a_result,
const Real a_value 
)
static

Sets every element in the AMR hierarchy of flux data a_result to a_value.

◆ assign() [1/6]

static void EBAMRDataOps::assign ( Vector< LevelData< EBCellFAB > * > &  a_lhs,
const Vector< LevelData< EBCellFAB > * > &  a_rhs 
)
static

Referenced by ~EBAMRDataOps().

◆ assign() [2/6]

static void EBAMRDataOps::assign ( Vector< RefCountedPtr< LevelData< EBCellFAB > > > &  a_lhs,
const Vector< LevelData< EBCellFAB > * > &  a_rhs 
)
static

◆ assign() [3/6]

static void EBAMRDataOps::assign ( Vector< LevelData< EBFluxFAB > * > &  a_lhs,
const Vector< LevelData< EBFluxFAB > * > &  a_rhs 
)
static

◆ assign() [4/6]

static void EBAMRDataOps::assign ( Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &  a_lhs,
const Vector< LevelData< EBFluxFAB > * > &  a_rhs 
)
static

◆ assign() [5/6]

static void EBAMRDataOps::assign ( Vector< LevelData< EBCellFAB > * > &  a_to,
const Vector< LevelData< EBCellFAB > * > &  a_from,
const Interval a_toInterval,
const Interval a_fromInterval 
)
static

◆ assign() [6/6]

static void EBAMRDataOps::assign ( Vector< RefCountedPtr< LevelData< EBCellFAB > > > &  a_to,
const Vector< LevelData< EBCellFAB > * > &  a_from,
const Interval a_toInterval,
const Interval a_fromInterval 
)
static

◆ incr() [1/2]

static void EBAMRDataOps::incr ( Vector< LevelData< EBCellFAB > * > &  a_lhs,
const Vector< LevelData< EBCellFAB > * > &  a_rhs,
const Real a_scale 
)
static

Referenced by ~EBAMRDataOps().

◆ incr() [2/2]

static void EBAMRDataOps::incr ( Vector< LevelData< EBCellFAB > * > &  a_lhs,
const Real a_scale 
)
static

◆ axby() [1/2]

static void EBAMRDataOps::axby ( Vector< LevelData< EBCellFAB > * > &  a_lhs,
const Vector< LevelData< EBCellFAB > * > &  a_x,
const Vector< LevelData< EBCellFAB > * > &  a_y,
const Real a,
const Real b 
)
static

Evaluates a linear combination of EBCellFAB data on an AMR hierarchy. a_lhs := a * a_x + b * a_y.

Parameters
a_lhsThe hierarchy of LevelData into which the linear combination is placed.
a_xThe first LevelData in the linear combination.
a_yThe second LevelData in the linear combination.
aThe first coefficient in the linear combination.
bThe second coefficient in the linear combination.

Referenced by ~EBAMRDataOps().

◆ axby() [2/2]

static void EBAMRDataOps::axby ( Vector< LevelData< EBCellFAB > * > &  a_lhs,
const Vector< LevelData< EBCellFAB > * > &  a_x,
const Vector< LevelData< EBCellFAB > * > &  a_y,
const Real a_a,
const Real a_b,
const int &  a_lhsComp,
const int &  a_xComp,
const int &  a_yComp 
)
static

Evaluates a linear combination of EBCellFAB data on an AMR hierarchy. This version operates only on a given component of each LevelData. a_lhs[a_lhsComp] := a * a_x[a_xComp] + b * a_y[a_yComp].

Parameters
a_lhsThe hierarchy of LevelData into which the linear combination is placed.
a_xThe first LevelData in the linear combination.
a_yThe second LevelData in the linear combination.
aThe first coefficient in the linear combination.
bThe second coefficient in the linear combination.
a_lhsCompThe component of a_lhs in which the linear combination will be stored.
a_xCompThe component of a_x from which data will be extracted.
a_yCompThe component of a_y from which data will be extracted.

◆ sum() [1/2]

static void EBAMRDataOps::sum ( Vector< LevelData< EBCellFAB > * > &  a_result,
const Vector< LevelData< EBCellFAB > * > &  a_in1,
const Vector< LevelData< EBCellFAB > * > &  a_in2 
)
static

Places the sum a_in1 + a_in2 into a_result.

Parameters
a_resultThe AMR hierarchy that will store the sum.
a_in1The first AMR hierarchy of data in the sum.
a_in2The second AMR hierarchy of data in the sum.

Referenced by ~EBAMRDataOps().

◆ addConstant()

static void EBAMRDataOps::addConstant ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Real a_constant 
)
static

Adds the constant a_constant to every element in the hierarchy a_data.

Referenced by ~EBAMRDataOps().

◆ product() [1/3]

static void EBAMRDataOps::product ( Vector< LevelData< EBCellFAB > * > &  a_result,
const Vector< LevelData< EBCellFAB > * > &  a_in1,
const Vector< LevelData< EBCellFAB > * > &  a_in2 
)
static

Referenced by ~EBAMRDataOps().

◆ product() [2/3]

static void EBAMRDataOps::product ( Vector< LevelData< EBCellFAB > * > &  a_result,
const Vector< LevelData< EBCellFAB > * > &  a_in1,
const Vector< LevelData< EBCellFAB > * > &  a_in2,
const int &  a_rComp,
const int &  a_1Comp,
const int &  a_2Comp 
)
static

◆ divideVectorByScalar()

static void EBAMRDataOps::divideVectorByScalar ( Vector< LevelData< EBCellFAB > * > &  a_vectorOut,
const Vector< LevelData< EBCellFAB > * > &  a_vectorIn,
const Vector< LevelData< EBCellFAB > * > &  a_scalar 
)
static

Referenced by ~EBAMRDataOps().

◆ divide() [1/2]

static void EBAMRDataOps::divide ( Vector< LevelData< EBCellFAB > * > &  a_result,
const Vector< LevelData< EBCellFAB > * > &  a_in1,
const Vector< LevelData< EBCellFAB > * > &  a_in2 
)
static

Referenced by ~EBAMRDataOps().

◆ divide() [2/2]

static void EBAMRDataOps::divide ( Vector< LevelData< EBCellFAB > * > &  a_result,
const Vector< LevelData< EBCellFAB > * > &  a_in1,
const Vector< LevelData< EBCellFAB > * > &  a_in2,
const int &  a_rComp,
const int &  a_1Comp,
const int &  a_2Comp 
)
static

◆ product() [3/3]

static void EBAMRDataOps::product ( Vector< LevelData< EBFluxFAB > * > &  a_result,
const Vector< LevelData< EBFluxFAB > * > &  a_in1,
const Vector< LevelData< EBFluxFAB > * > &  a_in2 
)
static

◆ kappaWeight()

static void EBAMRDataOps::kappaWeight ( Vector< LevelData< EBCellFAB > * > &  a_data)
static

Referenced by ~EBAMRDataOps().

◆ kappaScale()

static void EBAMRDataOps::kappaScale ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Real a_scale 
)
static

Referenced by ~EBAMRDataOps().

◆ kappaNorm()

static Real EBAMRDataOps::kappaNorm ( Real a_volume,
const Vector< LevelData< EBCellFAB > * > &  a_data,
int  a_which,
const Vector< ProblemDomain > &  a_domain,
int  a_p = 2 
)
static

Referenced by ~EBAMRDataOps().

◆ noKappaNorm()

static Real EBAMRDataOps::noKappaNorm ( Real a_volume,
const Vector< LevelData< EBCellFAB > * > &  a_data,
int  a_which,
const Vector< ProblemDomain > &  a_domain,
int  a_p = 2 
)
static

Referenced by ~EBAMRDataOps().

◆ kappaDotProduct()

static Real EBAMRDataOps::kappaDotProduct ( Real a_volume,
const Vector< LevelData< EBCellFAB > * > &  a_data1,
const Vector< LevelData< EBCellFAB > * > &  a_data2,
int  a_which,
const Vector< ProblemDomain > &  a_domain 
)
static

Referenced by ~EBAMRDataOps().

◆ noKappaDotProduct()

static Real EBAMRDataOps::noKappaDotProduct ( Real a_volume,
const Vector< LevelData< EBCellFAB > * > &  a_data1,
const Vector< LevelData< EBCellFAB > * > &  a_data2,
int  a_which,
const Vector< ProblemDomain > &  a_domain 
)
static

Referenced by ~EBAMRDataOps().

◆ setMaxMin()

static void EBAMRDataOps::setMaxMin ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Real a_maxVal,
const Real a_minVal,
const int &  a_comp 
)
static

Referenced by ~EBAMRDataOps().

◆ getMaxMin()

static void EBAMRDataOps::getMaxMin ( Real a_maxVal,
Real a_minVal,
const Vector< LevelData< EBCellFAB > * > &  a_data,
const int &  a_comp 
)
static

Referenced by ~EBAMRDataOps().

◆ subtractOffMean() [2/2]

static Real EBAMRDataOps::subtractOffMean ( Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< DisjointBoxLayout > &  a_grids,
const Vector< EBISLayout > &  a_ebisl,
const Vector< int > &  a_refRat 
)
static

◆ checkThisData() [1/2]

static void EBAMRDataOps::checkThisData ( const Vector< LevelData< EBCellFAB > * > &  a_data,
const string &  a_name,
const IntVect a_iv1 = IntVect::Zero,
const IntVect a_iv2 = IntVect::Zero,
const Real a_shift = 0.0 
)
static

Referenced by ~EBAMRDataOps().

◆ checkNANINF() [1/2]

static bool EBAMRDataOps::checkNANINF ( const Vector< LevelData< EBCellFAB > * > &  a_data,
const IntVect a_iv1 = IntVect::Zero,
const IntVect a_iv2 = IntVect::Zero,
const Real a_shift = 0.0 
)
static

Referenced by ~EBAMRDataOps().

◆ checkThisData() [2/2]

static void EBAMRDataOps::checkThisData ( const Vector< LevelData< EBFluxFAB > * > &  a_data,
const string &  a_name 
)
static

◆ checkNANINF() [2/2]

static bool EBAMRDataOps::checkNANINF ( const Vector< LevelData< EBFluxFAB > * > &  a_data)
static

◆ sum() [2/2]

static Real EBAMRDataOps::sum ( const Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< DisjointBoxLayout > &  a_grids,
const Vector< EBISLayout > &  a_ebisl,
const Vector< int > &  a_refRat,
int  a_comp,
bool  a_mutiplyByKappa 
)
static

The documentation for this class was generated from the following file: