Chombo + EB  3.2
Public Member Functions | Static Public Member Functions | List of all members
EBLevelDataOps Class Reference

#include <EBLevelDataOps.H>

Public Member Functions

 EBLevelDataOps ()
 
 ~EBLevelDataOps ()
 

Static Public Member Functions

static bool checkForBogusNumbers (const LevelData< EBFluxFAB > &a_data)
 
static bool checkForBogusNumbers (const LevelData< EBCellFAB > &a_data)
 
static void averageCellToFace (EBFaceFAB &a_fluxData, const EBCellFAB &a_cellData, const Box &a_grid, const EBISBox &a_ebisl, const ProblemDomain &a_domain, int isrc, int idst, int inco, bool a_interpolateToCentroid)
 
static void checkData (const LevelData< EBCellFAB > &a_data, const string &label)
 
static void checkData (const LevelData< EBFluxFAB > &a_data, const string &label)
 
static void plus (LevelData< EBCellFAB > &a_dst, const LevelData< EBCellFAB > &a_src, int srccomp, int dstcomp, int numcomp)
 
static void faceCenteredAverageCellsToFaces (EBFaceFAB &a_faceData, const EBCellFAB &a_cellData, const Box &ccFluxBox, const EBISBox &a_ebisBox, const ProblemDomain &a_domain, int isrc, int idst, int inco)
 
static void averageCellToFace (LevelData< EBFluxFAB > &a_fluxData, const LevelData< EBCellFAB > &a_cellData, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, int isrc, int idst, int inco, bool a_interpolateToCentroid)
 
static void pruneCoveredBoxes (Vector< Box > &a_boxes, const ProblemDomain &a_domain, const EBIndexSpace *a_ebisPtr, const int &a_ghosts=0)
 
static int parallelSum (const int &a_value)
 
static long long parallelSum (const long long &a_value)
 
static Real parallelSum (const Real &a_value)
 
static int parallelMin (const int &a_value)
 
static int parallelMax (const int &a_value)
 
static Real parallelMin (const Real &a_value)
 
static Real parallelMax (const Real &a_value)
 
static void averageCellToFaces (LevelData< EBFluxFAB > &a_fluxData, const LevelData< EBCellFAB > &a_cellData, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const int &a_comp)
 
static void averageCellToFacesMAC (LevelData< EBFluxFAB > &a_fluxData, const LevelData< EBCellFAB > &a_cellData, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain)
 
static void exchangeAll (LevelData< EBCellFAB > &a_phi)
 
static void exchangeCorners (LevelData< EBCellFAB > &a_data, const ProblemDomain &a_domain)
 
static void exchangeComp (LevelData< EBCellFAB > &a_data, const int &a_comp)
 
static void exchangeAll (LevelData< EBFluxFAB > &a_phi)
 
static void exchangeComp (LevelData< EBFluxFAB > &a_data, const int &a_comp)
 
static void setIrregVal (LevelData< EBCellFAB > &a_data, const DisjointBoxLayout &a_dbl, const EBISLayout &a_ebisl, const Real &a_value)
 
static bool checkNANINF (const LevelData< EBCellFAB > &a_data, const IntVect &a_iv1=IntVect::Zero, const IntVect &a_iv2=IntVect::Zero, const Real &a_shift=0.0)
 
static void getMaxMin (Real &a_maxVal, Real &a_minVal, const LevelData< EBCellFAB > &a_data, const int &a_comp, const bool &a_doAbs=false)
 
static void getMaxMin (Real &a_maxVal, Real &a_minVal, const LevelData< EBFluxFAB > &a_data, const int &a_comp, const int &a_idir, const bool &a_doAbs=false)
 
static void setCoveredVal (LevelData< EBCellFAB > &a_lData, const Real &a_value)
 
static void setCoveredVal (LevelData< EBCellFAB > &a_lData, const int &a_comp, const Real &a_value)
 
static void setCoveredVal (LevelData< EBFluxFAB > &a_lData, const Real &a_value)
 
static void setCoveredVal (LevelData< EBFluxFAB > &a_lData, const int &a_comp, const Real &a_value)
 
static void averageMultiVofsToRegFAB (LevelData< EBCellFAB > &a_data, const DisjointBoxLayout &a_dbl, const EBISLayout &a_ebisl)
 
static void copyToMultiVofsFromRegFAB (LevelData< EBCellFAB > &a_data, const DisjointBoxLayout &a_dbl, const EBISLayout &a_ebisl)
 
static void defineLevelData (LevelData< EBCellFAB > &a_levelData, const EBISLayout &a_ebisl, const DisjointBoxLayout &a_dbl, const IntVect &a_ghosts, const int &a_nComp)
 
static void defineLevelData (LevelData< EBFluxFAB > &a_levelData, const EBISLayout &a_ebisl, const DisjointBoxLayout &a_dbl, const IntVect &a_ghosts, const int &a_nComp)
 
static void setToZero (LevelData< EBCellFAB > &a_result)
 
static void setToZero (LevelData< EBFluxFAB > &a_result)
 
static void scale (LevelData< EBFluxFAB > &a_lhs, const Real &a_scale)
 
static void scale (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_scale)
 
static void scale (LevelData< EBCellFAB > &a_lhs, const Real &a_scale)
 
static void scale (LevelData< EBCellFAB > &a_lhs, const Real &a_scale, const int &a_comp)
 
static void setVal (LevelData< EBCellFAB > &a_result, const Real &a_value)
 
static void setVal (LevelData< BaseIVFAB< Real > > &a_result, const Real &a_value)
 
static void setVal (LevelData< EBCellFAB > &a_result, const Real &a_value, const int &a_comp)
 
static void setVal (LevelData< EBFluxFAB > &a_result, const Real &a_value)
 
static void assign (LevelData< EBCellFAB > &a_to, const LevelData< EBCellFAB > &a_from, const Interval &a_toInterva, const Interval &a_fromInterval)
 
static void assign (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs)
 
static void clone (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs)
 
static void assign (LevelData< EBFluxFAB > &a_lhs, const LevelData< EBFluxFAB > &a_rhs)
 
static void incr (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs, const Real &a_scale)
 
static void incr (LevelData< EBCellFAB > &a_lhs, const Real &a_scale)
 
static void axby (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_x, const LevelData< EBCellFAB > &a_y, const Real &a, const Real &b)
 
static void sum (LevelData< EBCellFAB > &a_result, const LevelData< EBCellFAB > &a_in1, const LevelData< EBCellFAB > &a_in2)
 
static void addConstant (LevelData< EBCellFAB > &a_data, const Real &a_constant)
 
static void power (LevelData< EBCellFAB > &a_result, const Real &a_exponent, const int &a_comp)
 
static void product (LevelData< EBCellFAB > &a_result, const LevelData< EBCellFAB > &a_in1, const LevelData< EBCellFAB > &a_in2)
 
static void product (LevelData< EBFluxFAB > &a_result, const LevelData< EBFluxFAB > &a_in1, const LevelData< EBFluxFAB > &a_in2)
 
static void product (LevelData< EBCellFAB > &a_result, const LevelData< EBCellFAB > &a_in1, const LevelData< EBCellFAB > &a_in2, const int &a_rComp, const int &a_1Comp, const int &a_2Comp)
 
static void invert (LevelData< EBCellFAB > &a_result, const LevelData< EBCellFAB > &a_in1)
 
static void divideVectorByScalar (LevelData< EBCellFAB > &a_vectorOut, const LevelData< EBCellFAB > &a_vectorIn, const LevelData< EBCellFAB > &a_scalar)
 
static void divide (LevelData< EBCellFAB > &a_result, const LevelData< EBCellFAB > &a_in1, const LevelData< EBCellFAB > &a_in2)
 
static void divide (LevelData< EBCellFAB > &a_result, const LevelData< EBCellFAB > &a_in1, const LevelData< EBCellFAB > &a_in2, const int &a_rComp, const int &a_1Comp, const int &a_2Comp)
 
static void areaFracScalingWeight (LevelData< EBCellFAB > &a_data)
 
static void areaFracScalingWeight (EBCellFAB &a_data)
 
static void kappaWeight (LevelData< EBCellFAB > &a_data)
 
static void kappaWeight (EBCellFAB &a_data)
 
static void kappaScale (LevelData< EBCellFAB > &a_data, const Real &a_scale)
 
static Real kappaNorm (Real &a_volume, const LevelData< EBCellFAB > &a_data, int a_which, const ProblemDomain &a_domain, int a_p=2)
 
static Vector< RealvectorKappaNorm (Real &a_volume, const LevelData< EBCellFAB > &a_data, int a_which, const ProblemDomain &a_domain, int a_p=2)
 
static Real noKappaNorm (Real &a_volume, const LevelData< EBCellFAB > &a_data, int a_which, const ProblemDomain &a_domain, int a_p=2)
 
static Real kappaDotProduct (Real &a_volume, const LevelData< EBCellFAB > &a_data1, const LevelData< EBCellFAB > &a_data2, int a_which, const ProblemDomain &a_domain)
 
static Real noKappaDotProduct (Real &a_volume, const LevelData< EBCellFAB > &a_data1, const LevelData< EBCellFAB > &a_data2, int a_which, const ProblemDomain &a_domain)
 
static Real kappaSumLevel (Real &a_volume, const LevelData< EBCellFAB > &a_data, int a_which, const ProblemDomain &a_domain)
 
static Real noKappaSumLevel (Real &a_volume, const LevelData< EBCellFAB > &a_data, int a_which, const ProblemDomain &a_domain)
 
static Vector< RealvectorSumKappaPow (Real &a_volume, const EBCellFAB &a_data, const Box &curBox, int a_which, const ProblemDomain &a_domain, int a_p)
 
static Real sumKappaPow (Real &a_volume, const EBCellFAB &a_data, const Box &a_region, int a_which, const ProblemDomain &a_domain, int a_p)
 
static Real sumNoKappaPow (Real &a_volume, const EBCellFAB &a_data, const Box &a_region, int a_which, const ProblemDomain &a_domain, int a_p)
 
static Real sumKappaDotProduct (Real &a_volume, const EBCellFAB &a_data1, const EBCellFAB &a_data2, const Box &a_region, int a_which, const ProblemDomain &a_domain)
 
static Real sumKappaDotProductAllCells (Real &a_volume, const EBCellFAB &a_data1, const EBCellFAB &a_data2, const Box &a_region, int a_which, const ProblemDomain &a_domain)
 
static Real sumNoKappaDotProduct (Real &a_volume, const EBCellFAB &a_data1, const EBCellFAB &a_data2, const Box &a_region, int a_which, const ProblemDomain &a_domain)
 
static Real sumKappa (Real &a_volume, const EBCellFAB &a_data, const Box &a_region, int a_which, const ProblemDomain &a_domain)
 
static Real sumNoKappa (Real &a_volume, const EBCellFAB &a_data, const Box &a_region, int a_which, const ProblemDomain &a_domain)
 
static void averageCellToFace (EBFaceFAB &a_faceData, const EBCellFAB &a_cellData, const EBGraph &a_ebGraph, const Box &a_dblBox, const int &a_ghostFlux, const int &a_idir, const ProblemDomain &a_domain, const int &a_cellComp, const int &a_faceComp)
 
static void gatherBroadCast (Real &a_accum, Real &a_volume, const int &a_p)
 
static void gatherBroadCast (Vector< Real > &a_accum, Real &a_volume, const int &a_p)
 
static Real sum (const LevelData< EBCellFAB > &a_data, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const IntVectSet &a_ivsExclude, int a_comp, bool a_mutiplyByKappa)
 

Detailed Description

Repository of useful EB functions over a level. All functions are static so just use EBLevelDataOps::blah(...);

Constructor & Destructor Documentation

◆ EBLevelDataOps()

EBLevelDataOps::EBLevelDataOps ( )
inline

◆ ~EBLevelDataOps()

EBLevelDataOps::~EBLevelDataOps ( )
inline

Member Function Documentation

◆ checkForBogusNumbers() [1/2]

static bool EBLevelDataOps::checkForBogusNumbers ( const LevelData< EBFluxFAB > &  a_data)
static

Referenced by ~EBLevelDataOps().

◆ checkForBogusNumbers() [2/2]

static bool EBLevelDataOps::checkForBogusNumbers ( const LevelData< EBCellFAB > &  a_data)
static

◆ averageCellToFace() [1/3]

static void EBLevelDataOps::averageCellToFace ( EBFaceFAB a_fluxData,
const EBCellFAB a_cellData,
const Box a_grid,
const EBISBox a_ebisl,
const ProblemDomain a_domain,
int  isrc,
int  idst,
int  inco,
bool  a_interpolateToCentroid 
)
static

If a_interpolateToCentroid = true. first do cell centered average on grown box. then interpolate to centroids. Otherwise just do cell centered averaging. This does not do anything special about components (the way mac averaging does). Every component is treated as face centered value = average of adjacent cell values.

Referenced by ~EBLevelDataOps().

◆ checkData() [1/2]

static void EBLevelDataOps::checkData ( const LevelData< EBCellFAB > &  a_data,
const string &  label 
)
static

Referenced by ~EBLevelDataOps().

◆ checkData() [2/2]

static void EBLevelDataOps::checkData ( const LevelData< EBFluxFAB > &  a_data,
const string &  label 
)
static

◆ plus()

static void EBLevelDataOps::plus ( LevelData< EBCellFAB > &  a_dst,
const LevelData< EBCellFAB > &  a_src,
int  srccomp,
int  dstcomp,
int  numcomp 
)
static

Referenced by ~EBLevelDataOps().

◆ faceCenteredAverageCellsToFaces()

static void EBLevelDataOps::faceCenteredAverageCellsToFaces ( EBFaceFAB a_faceData,
const EBCellFAB a_cellData,
const Box ccFluxBox,
const EBISBox a_ebisBox,
const ProblemDomain a_domain,
int  isrc,
int  idst,
int  inco 
)
static

straightforward average from cells to faces over components faceval = half(hival + loval). at domain boundaries, just use cell centered value. nothing crazy about ghost cells either.

Referenced by ~EBLevelDataOps().

◆ averageCellToFace() [2/3]

static void EBLevelDataOps::averageCellToFace ( LevelData< EBFluxFAB > &  a_fluxData,
const LevelData< EBCellFAB > &  a_cellData,
const DisjointBoxLayout a_grids,
const EBISLayout a_ebisl,
const ProblemDomain a_domain,
int  isrc,
int  idst,
int  inco,
bool  a_interpolateToCentroid 
)
static

If a_interpolateToCentroid = true. first do cell centered average on grown box. then interpolate to centroids. Otherwise just do cell centered averaging. This does not do anything special about components (the way mac averaging does). Every component is treated as face centered value = average of adjacent cell values.

◆ pruneCoveredBoxes()

static void EBLevelDataOps::pruneCoveredBoxes ( Vector< Box > &  a_boxes,
const ProblemDomain a_domain,
const EBIndexSpace a_ebisPtr,
const int &  a_ghosts = 0 
)
static

Referenced by ~EBLevelDataOps().

◆ parallelSum() [1/3]

static int EBLevelDataOps::parallelSum ( const int &  a_value)
static

Referenced by ~EBLevelDataOps().

◆ parallelSum() [2/3]

static long long EBLevelDataOps::parallelSum ( const long long &  a_value)
static

◆ parallelSum() [3/3]

static Real EBLevelDataOps::parallelSum ( const Real a_value)
static

◆ parallelMin() [1/2]

static int EBLevelDataOps::parallelMin ( const int &  a_value)
static

Referenced by ~EBLevelDataOps().

◆ parallelMax() [1/2]

static int EBLevelDataOps::parallelMax ( const int &  a_value)
static

Referenced by ~EBLevelDataOps().

◆ parallelMin() [2/2]

static Real EBLevelDataOps::parallelMin ( const Real a_value)
static

◆ parallelMax() [2/2]

static Real EBLevelDataOps::parallelMax ( const Real a_value)
static

◆ averageCellToFaces()

static void EBLevelDataOps::averageCellToFaces ( LevelData< EBFluxFAB > &  a_fluxData,
const LevelData< EBCellFAB > &  a_cellData,
const DisjointBoxLayout a_grids,
const EBISLayout a_ebisl,
const ProblemDomain a_domain,
const int &  a_comp 
)
static

Referenced by ~EBLevelDataOps().

◆ averageCellToFacesMAC()

static void EBLevelDataOps::averageCellToFacesMAC ( LevelData< EBFluxFAB > &  a_fluxData,
const LevelData< EBCellFAB > &  a_cellData,
const DisjointBoxLayout a_grids,
const EBISLayout a_ebisl,
const ProblemDomain a_domain 
)
static

Referenced by ~EBLevelDataOps().

◆ exchangeAll() [1/2]

static void EBLevelDataOps::exchangeAll ( LevelData< EBCellFAB > &  a_phi)
static

Referenced by ~EBLevelDataOps().

◆ exchangeCorners()

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

Referenced by ~EBLevelDataOps().

◆ exchangeComp() [1/2]

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

Referenced by ~EBLevelDataOps().

◆ exchangeAll() [2/2]

static void EBLevelDataOps::exchangeAll ( LevelData< EBFluxFAB > &  a_phi)
static

◆ exchangeComp() [2/2]

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

◆ setIrregVal()

static void EBLevelDataOps::setIrregVal ( LevelData< EBCellFAB > &  a_data,
const DisjointBoxLayout a_dbl,
const EBISLayout a_ebisl,
const Real a_value 
)
static

Referenced by ~EBLevelDataOps().

◆ checkNANINF()

static bool EBLevelDataOps::checkNANINF ( const 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 ~EBLevelDataOps().

◆ getMaxMin() [1/2]

static void EBLevelDataOps::getMaxMin ( Real a_maxVal,
Real a_minVal,
const LevelData< EBCellFAB > &  a_data,
const int &  a_comp,
const bool &  a_doAbs = false 
)
static

Referenced by ~EBLevelDataOps().

◆ getMaxMin() [2/2]

static void EBLevelDataOps::getMaxMin ( Real a_maxVal,
Real a_minVal,
const LevelData< EBFluxFAB > &  a_data,
const int &  a_comp,
const int &  a_idir,
const bool &  a_doAbs = false 
)
static

◆ setCoveredVal() [1/4]

static void EBLevelDataOps::setCoveredVal ( LevelData< EBCellFAB > &  a_lData,
const Real a_value 
)
static

Referenced by ~EBLevelDataOps().

◆ setCoveredVal() [2/4]

static void EBLevelDataOps::setCoveredVal ( LevelData< EBCellFAB > &  a_lData,
const int &  a_comp,
const Real a_value 
)
static

◆ setCoveredVal() [3/4]

static void EBLevelDataOps::setCoveredVal ( LevelData< EBFluxFAB > &  a_lData,
const Real a_value 
)
static

◆ setCoveredVal() [4/4]

static void EBLevelDataOps::setCoveredVal ( LevelData< EBFluxFAB > &  a_lData,
const int &  a_comp,
const Real a_value 
)
static

◆ averageMultiVofsToRegFAB()

static void EBLevelDataOps::averageMultiVofsToRegFAB ( LevelData< EBCellFAB > &  a_data,
const DisjointBoxLayout a_dbl,
const EBISLayout a_ebisl 
)
static

Referenced by ~EBLevelDataOps().

◆ copyToMultiVofsFromRegFAB()

static void EBLevelDataOps::copyToMultiVofsFromRegFAB ( LevelData< EBCellFAB > &  a_data,
const DisjointBoxLayout a_dbl,
const EBISLayout a_ebisl 
)
static

Referenced by ~EBLevelDataOps().

◆ defineLevelData() [1/2]

static void EBLevelDataOps::defineLevelData ( LevelData< EBCellFAB > &  a_levelData,
const EBISLayout a_ebisl,
const DisjointBoxLayout a_dbl,
const IntVect a_ghosts,
const int &  a_nComp 
)
static

Referenced by ~EBLevelDataOps().

◆ defineLevelData() [2/2]

static void EBLevelDataOps::defineLevelData ( LevelData< EBFluxFAB > &  a_levelData,
const EBISLayout a_ebisl,
const DisjointBoxLayout a_dbl,
const IntVect a_ghosts,
const int &  a_nComp 
)
static

◆ setToZero() [1/2]

static void EBLevelDataOps::setToZero ( LevelData< EBCellFAB > &  a_result)
static

◆ setToZero() [2/2]

static void EBLevelDataOps::setToZero ( LevelData< EBFluxFAB > &  a_result)
static

◆ scale() [1/4]

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

Referenced by ~EBLevelDataOps().

◆ scale() [2/4]

static void EBLevelDataOps::scale ( LevelData< EBCellFAB > &  a_lhs,
const LevelData< EBCellFAB > &  a_scale 
)
static

◆ scale() [3/4]

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

◆ scale() [4/4]

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

◆ setVal() [1/4]

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

Referenced by ~EBLevelDataOps().

◆ setVal() [2/4]

static void EBLevelDataOps::setVal ( LevelData< BaseIVFAB< Real > > &  a_result,
const Real a_value 
)
static

◆ setVal() [3/4]

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

◆ setVal() [4/4]

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

◆ assign() [1/3]

static void EBLevelDataOps::assign ( LevelData< EBCellFAB > &  a_to,
const LevelData< EBCellFAB > &  a_from,
const Interval a_toInterva,
const Interval a_fromInterval 
)
static

Referenced by ~EBLevelDataOps().

◆ assign() [2/3]

static void EBLevelDataOps::assign ( LevelData< EBCellFAB > &  a_lhs,
const LevelData< EBCellFAB > &  a_rhs 
)
static

◆ clone()

static void EBLevelDataOps::clone ( LevelData< EBCellFAB > &  a_lhs,
const LevelData< EBCellFAB > &  a_rhs 
)
static

Referenced by ~EBLevelDataOps().

◆ assign() [3/3]

static void EBLevelDataOps::assign ( LevelData< EBFluxFAB > &  a_lhs,
const LevelData< EBFluxFAB > &  a_rhs 
)
static

◆ incr() [1/2]

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

Referenced by ~EBLevelDataOps().

◆ incr() [2/2]

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

◆ axby()

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

Referenced by ~EBLevelDataOps().

◆ sum() [1/2]

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

static void axby( LevelData<EBCellFAB>& a_lhs, const LevelData<EBCellFAB>& a_x, const LevelData<EBCellFAB>& a_y, const Real& a, const Real& b, const int& a_lhsComp, const int& a_xComp, const int& a_yComp);

Referenced by ~EBLevelDataOps().

◆ addConstant()

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

Referenced by ~EBLevelDataOps().

◆ power()

static void EBLevelDataOps::power ( LevelData< EBCellFAB > &  a_result,
const Real a_exponent,
const int &  a_comp 
)
static

Referenced by ~EBLevelDataOps().

◆ product() [1/3]

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

Referenced by ~EBLevelDataOps().

◆ product() [2/3]

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

◆ product() [3/3]

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

◆ invert()

static void EBLevelDataOps::invert ( LevelData< EBCellFAB > &  a_result,
const LevelData< EBCellFAB > &  a_in1 
)
static

Referenced by ~EBLevelDataOps().

◆ divideVectorByScalar()

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

Referenced by ~EBLevelDataOps().

◆ divide() [1/2]

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

Referenced by ~EBLevelDataOps().

◆ divide() [2/2]

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

◆ areaFracScalingWeight() [1/2]

static void EBLevelDataOps::areaFracScalingWeight ( LevelData< EBCellFAB > &  a_data)
static

Multiply each datum in a_data by the largest area fraction of the faces of the corresponding cell.

Parameters
a_dataThe data to be multiplied by the maximum area fraction.

Referenced by ~EBLevelDataOps().

◆ areaFracScalingWeight() [2/2]

static void EBLevelDataOps::areaFracScalingWeight ( EBCellFAB a_data)
static

Multiply each datum in a_data by the area fraction scaling of the corresponding cell.

Parameters
a_dataThe data to be multiplied by the area fraction scaling.

◆ kappaWeight() [1/2]

static void EBLevelDataOps::kappaWeight ( LevelData< EBCellFAB > &  a_data)
static

Multiply each datum in a_data by the volume fraction of the corresponding cell.

Parameters
a_dataThe data to be multiplied by the volume fraction.

Referenced by EBViscousTensorOp::diagonalScale(), NWOEBViscousTensorOp::diagonalScale(), EBViscousTensorOp::kappaScale(), NWOEBViscousTensorOp::kappaScale(), and ~EBLevelDataOps().

◆ kappaWeight() [2/2]

static void EBLevelDataOps::kappaWeight ( EBCellFAB a_data)
static

Multiply each datum in a_data by the volume fraction of the corresponding cell.

Parameters
a_dataThe data to be multiplied by the volume fraction.

◆ kappaScale()

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

Scale each datum in a_data by the product of a_scale with the volume fraction of the corresponding cell.

Parameters
a_dataThe data to be multiplied by the volume fraction.
a_scaleThe scale factor in the product.

Referenced by ~EBLevelDataOps().

◆ kappaNorm()

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

Referenced by ~EBLevelDataOps().

◆ vectorKappaNorm()

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

Referenced by ~EBLevelDataOps().

◆ noKappaNorm()

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

Referenced by ~EBLevelDataOps().

◆ kappaDotProduct()

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

Referenced by ~EBLevelDataOps().

◆ noKappaDotProduct()

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

Referenced by ~EBLevelDataOps().

◆ kappaSumLevel()

static Real EBLevelDataOps::kappaSumLevel ( Real a_volume,
const LevelData< EBCellFAB > &  a_data,
int  a_which,
const ProblemDomain a_domain 
)
static

Referenced by ~EBLevelDataOps().

◆ noKappaSumLevel()

static Real EBLevelDataOps::noKappaSumLevel ( Real a_volume,
const LevelData< EBCellFAB > &  a_data,
int  a_which,
const ProblemDomain a_domain 
)
static

Referenced by ~EBLevelDataOps().

◆ vectorSumKappaPow()

static Vector<Real> EBLevelDataOps::vectorSumKappaPow ( Real a_volume,
const EBCellFAB a_data,
const Box curBox,
int  a_which,
const ProblemDomain a_domain,
int  a_p 
)
static

Referenced by ~EBLevelDataOps().

◆ sumKappaPow()

static Real EBLevelDataOps::sumKappaPow ( Real a_volume,
const EBCellFAB a_data,
const Box a_region,
int  a_which,
const ProblemDomain a_domain,
int  a_p 
)
static

Referenced by ~EBLevelDataOps().

◆ sumNoKappaPow()

static Real EBLevelDataOps::sumNoKappaPow ( Real a_volume,
const EBCellFAB a_data,
const Box a_region,
int  a_which,
const ProblemDomain a_domain,
int  a_p 
)
static

Referenced by ~EBLevelDataOps().

◆ sumKappaDotProduct()

static Real EBLevelDataOps::sumKappaDotProduct ( Real a_volume,
const EBCellFAB a_data1,
const EBCellFAB a_data2,
const Box a_region,
int  a_which,
const ProblemDomain a_domain 
)
static

Referenced by ~EBLevelDataOps().

◆ sumKappaDotProductAllCells()

static Real EBLevelDataOps::sumKappaDotProductAllCells ( Real a_volume,
const EBCellFAB a_data1,
const EBCellFAB a_data2,
const Box a_region,
int  a_which,
const ProblemDomain a_domain 
)
static

Referenced by ~EBLevelDataOps().

◆ sumNoKappaDotProduct()

static Real EBLevelDataOps::sumNoKappaDotProduct ( Real a_volume,
const EBCellFAB a_data1,
const EBCellFAB a_data2,
const Box a_region,
int  a_which,
const ProblemDomain a_domain 
)
static

Referenced by ~EBLevelDataOps().

◆ sumKappa()

static Real EBLevelDataOps::sumKappa ( Real a_volume,
const EBCellFAB a_data,
const Box a_region,
int  a_which,
const ProblemDomain a_domain 
)
static

Referenced by ~EBLevelDataOps().

◆ sumNoKappa()

static Real EBLevelDataOps::sumNoKappa ( Real a_volume,
const EBCellFAB a_data,
const Box a_region,
int  a_which,
const ProblemDomain a_domain 
)
static

Referenced by ~EBLevelDataOps().

◆ averageCellToFace() [3/3]

static void EBLevelDataOps::averageCellToFace ( EBFaceFAB a_faceData,
const EBCellFAB a_cellData,
const EBGraph a_ebGraph,
const Box a_dblBox,
const int &  a_ghostFlux,
const int &  a_idir,
const ProblemDomain a_domain,
const int &  a_cellComp,
const int &  a_faceComp 
)
static

◆ gatherBroadCast() [1/2]

static void EBLevelDataOps::gatherBroadCast ( Real a_accum,
Real a_volume,
const int &  a_p 
)
static

Referenced by ~EBLevelDataOps().

◆ gatherBroadCast() [2/2]

static void EBLevelDataOps::gatherBroadCast ( Vector< Real > &  a_accum,
Real a_volume,
const int &  a_p 
)
static

◆ sum() [2/2]

static Real EBLevelDataOps::sum ( const LevelData< EBCellFAB > &  a_data,
const DisjointBoxLayout a_grids,
const EBISLayout a_ebisl,
const IntVectSet a_ivsExclude,
int  a_comp,
bool  a_mutiplyByKappa 
)
static

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