#include <EBLevelDataOps.H>
Public Member Functions | |
EBLevelDataOps () | |
~EBLevelDataOps () | |
Static Public Member Functions | |
static void | pruneCoveredBoxes (Vector< Box > &a_boxes, const ProblemDomain &a_domain, const EBIndexSpace *a_ebisPtr) |
static int | parallelSum (const int &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 | 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 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< 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 | 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) |
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 | 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< Real > | vectorKappaNorm (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< Real > | vectorSumKappaPow (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 | 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) |
EBLevelDataOps::EBLevelDataOps | ( | ) | [inline] |
EBLevelDataOps::~EBLevelDataOps | ( | ) | [inline] |
static void EBLevelDataOps::pruneCoveredBoxes | ( | Vector< Box > & | a_boxes, | |
const ProblemDomain & | a_domain, | |||
const EBIndexSpace * | a_ebisPtr | |||
) | [static] |
static int EBLevelDataOps::parallelSum | ( | const int & | a_value | ) | [static] |
static int EBLevelDataOps::parallelMin | ( | const int & | a_value | ) | [static] |
static int EBLevelDataOps::parallelMax | ( | const int & | a_value | ) | [static] |
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] |
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] |
static void EBLevelDataOps::exchangeCorners | ( | LevelData< EBCellFAB > & | a_data, | |
const ProblemDomain & | a_domain | |||
) | [static] |
static void EBLevelDataOps::exchangeComp | ( | LevelData< EBCellFAB > & | a_data, | |
const int & | a_comp | |||
) | [static] |
static void EBLevelDataOps::exchangeComp | ( | LevelData< EBFluxFAB > & | a_data, | |
const int & | a_comp | |||
) | [static] |
static void EBLevelDataOps::setIrregVal | ( | LevelData< EBCellFAB > & | a_data, | |
const DisjointBoxLayout & | a_dbl, | |||
const EBISLayout & | a_ebisl, | |||
const Real & | a_value | |||
) | [static] |
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] |
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] |
static void EBLevelDataOps::setCoveredVal | ( | LevelData< EBCellFAB > & | a_lData, | |
const Real & | a_value | |||
) | [static] |
static void EBLevelDataOps::setCoveredVal | ( | LevelData< EBCellFAB > & | a_lData, | |
const int & | a_comp, | |||
const Real & | a_value | |||
) | [static] |
static void EBLevelDataOps::setCoveredVal | ( | LevelData< EBFluxFAB > & | a_lData, | |
const Real & | a_value | |||
) | [static] |
static void EBLevelDataOps::setCoveredVal | ( | LevelData< EBFluxFAB > & | a_lData, | |
const int & | a_comp, | |||
const Real & | a_value | |||
) | [static] |
static void EBLevelDataOps::averageMultiVofsToRegFAB | ( | LevelData< EBCellFAB > & | a_data, | |
const DisjointBoxLayout & | a_dbl, | |||
const EBISLayout & | a_ebisl | |||
) | [static] |
static void EBLevelDataOps::copyToMultiVofsFromRegFAB | ( | LevelData< EBCellFAB > & | a_data, | |
const DisjointBoxLayout & | a_dbl, | |||
const EBISLayout & | a_ebisl | |||
) | [static] |
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] |
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] |
static void EBLevelDataOps::scale | ( | LevelData< EBCellFAB > & | a_lhs, | |
const Real & | a_scale, | |||
const int & | a_comp | |||
) | [static] |
static void EBLevelDataOps::setVal | ( | LevelData< EBCellFAB > & | a_result, | |
const Real & | a_value | |||
) | [static] |
static void EBLevelDataOps::setVal | ( | LevelData< EBCellFAB > & | a_result, | |
const Real & | a_value, | |||
const int & | a_comp | |||
) | [static] |
static void EBLevelDataOps::setVal | ( | LevelData< EBFluxFAB > & | a_result, | |
const Real & | a_value | |||
) | [static] |
static void EBLevelDataOps::assign | ( | LevelData< EBCellFAB > & | a_to, | |
const LevelData< EBCellFAB > & | a_from, | |||
const Interval & | a_toInterva, | |||
const Interval & | a_fromInterval | |||
) | [static] |
static void EBLevelDataOps::assign | ( | LevelData< EBCellFAB > & | a_lhs, | |
const LevelData< EBCellFAB > & | a_rhs | |||
) | [static] |
static void EBLevelDataOps::clone | ( | LevelData< EBCellFAB > & | a_lhs, | |
const LevelData< EBCellFAB > & | a_rhs | |||
) | [static] |
static void EBLevelDataOps::assign | ( | LevelData< EBFluxFAB > & | a_lhs, | |
const LevelData< EBFluxFAB > & | a_rhs | |||
) | [static] |
static void EBLevelDataOps::incr | ( | LevelData< EBCellFAB > & | a_lhs, | |
const LevelData< EBCellFAB > & | a_rhs, | |||
const Real & | a_scale | |||
) | [static] |
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] |
static void EBLevelDataOps::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 | |||
) | [static] |
static void EBLevelDataOps::sum | ( | LevelData< EBCellFAB > & | a_result, | |
const LevelData< EBCellFAB > & | a_in1, | |||
const LevelData< EBCellFAB > & | a_in2 | |||
) | [static] |
static void EBLevelDataOps::addConstant | ( | LevelData< EBCellFAB > & | a_data, | |
const Real & | a_constant | |||
) | [static] |
static void EBLevelDataOps::power | ( | LevelData< EBCellFAB > & | a_result, | |
const Real & | a_exponent, | |||
const int & | a_comp | |||
) | [static] |
static void EBLevelDataOps::product | ( | LevelData< EBCellFAB > & | a_result, | |
const LevelData< EBCellFAB > & | a_in1, | |||
const LevelData< EBCellFAB > & | a_in2 | |||
) | [static] |
static void EBLevelDataOps::product | ( | LevelData< EBFluxFAB > & | a_result, | |
const LevelData< EBFluxFAB > & | a_in1, | |||
const LevelData< EBFluxFAB > & | a_in2 | |||
) | [static] |
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] |
static void EBLevelDataOps::invert | ( | LevelData< EBCellFAB > & | a_result, | |
const LevelData< EBCellFAB > & | a_in1 | |||
) | [static] |
static void EBLevelDataOps::divideVectorByScalar | ( | LevelData< EBCellFAB > & | a_vectorOut, | |
const LevelData< EBCellFAB > & | a_vectorIn, | |||
const LevelData< EBCellFAB > & | a_scalar | |||
) | [static] |
static void EBLevelDataOps::divide | ( | LevelData< EBCellFAB > & | a_result, | |
const LevelData< EBCellFAB > & | a_in1, | |||
const LevelData< EBCellFAB > & | a_in2 | |||
) | [static] |
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] |
Referenced by EBViscousTensorOp::diagonalScale().
static void EBLevelDataOps::kappaWeight | ( | EBCellFAB & | a_data | ) | [static] |
static void EBLevelDataOps::kappaScale | ( | LevelData< EBCellFAB > & | a_data, | |
const Real & | a_scale | |||
) | [static] |
static Real EBLevelDataOps::kappaNorm | ( | Real & | a_volume, | |
const LevelData< EBCellFAB > & | a_data, | |||
int | a_which, | |||
const ProblemDomain & | a_domain, | |||
int | a_p = 2 | |||
) | [static] |
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] |
static Real EBLevelDataOps::noKappaNorm | ( | Real & | a_volume, | |
const LevelData< EBCellFAB > & | a_data, | |||
int | a_which, | |||
const ProblemDomain & | a_domain, | |||
int | a_p = 2 | |||
) | [static] |
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] |
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] |
static Real EBLevelDataOps::kappaSumLevel | ( | Real & | a_volume, | |
const LevelData< EBCellFAB > & | a_data, | |||
int | a_which, | |||
const ProblemDomain & | a_domain | |||
) | [static] |
static Real EBLevelDataOps::noKappaSumLevel | ( | Real & | a_volume, | |
const LevelData< EBCellFAB > & | a_data, | |||
int | a_which, | |||
const ProblemDomain & | a_domain | |||
) | [static] |
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] |
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] |
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] |
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] |
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] |
static Real EBLevelDataOps::sumKappa | ( | Real & | a_volume, | |
const EBCellFAB & | a_data, | |||
const Box & | a_region, | |||
int | a_which, | |||
const ProblemDomain & | a_domain | |||
) | [static] |
static Real EBLevelDataOps::sumNoKappa | ( | Real & | a_volume, | |
const EBCellFAB & | a_data, | |||
const Box & | a_region, | |||
int | a_which, | |||
const ProblemDomain & | a_domain | |||
) | [static] |
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] |
static void EBLevelDataOps::gatherBroadCast | ( | Real & | a_accum, | |
Real & | a_volume, | |||
const int & | a_p | |||
) | [static] |
static void EBLevelDataOps::gatherBroadCast | ( | Vector< Real > & | a_accum, | |
Real & | a_volume, | |||
const int & | a_p | |||
) | [static] |
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] |