EBAMRDataOps Class Reference

#include <EBAMRDataOps.H>

List of all members.


Detailed Description

Repository of functions for EB Hierarchies.

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 setCoveredVal (Vector< LevelData< EBCellFAB > * > &a_data, const int &a_comp, 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.
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.
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.
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.
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.
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.
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.
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.
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< EBFluxFAB > * > &a_lhs, const Vector< LevelData< EBFluxFAB > * > &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 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.
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, Vector< int > a_refRat=Vector< int >())
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)
static Real sum (const Vector< LevelData< EBCellFAB > * > &a_data, const Vector< EBLevelGrid > &a_eblg, const Vector< int > &a_refRat, int a_comp, bool a_mutiplyByKappa)

Constructor & Destructor Documentation

EBAMRDataOps::EBAMRDataOps (  )  [inline]

EBAMRDataOps::~EBAMRDataOps (  )  [inline]


Member Function Documentation

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

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

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.

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

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

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

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]

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

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

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]

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]

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

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]

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]

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

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

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

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

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

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

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

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

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

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

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]

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

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]

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

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

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]

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]

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]

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

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

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

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

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

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

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.

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.

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.

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.

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.

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.

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.

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

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

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.

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.

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

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

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.

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

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

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

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

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

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]

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

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

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

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_lhs The hierarchy of LevelData into which the linear combination is placed.
a_x The first LevelData in the linear combination.
a_y The second LevelData in the linear combination.
a The first coefficient in the linear combination.
b The second coefficient in the linear combination.

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_result The AMR hierarchy that will store the sum.
a_in1 The first AMR hierarchy of data in the sum.
a_in2 The second AMR hierarchy of data in the sum.

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.

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

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]

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

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

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]

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

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

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

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]

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]

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]

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]

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

VERY weird function changes data

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

This is what you want if you want the max and min of data It cannot subtract off finer stuff if you do not send refRat

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]

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]

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]

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

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

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]

static Real EBAMRDataOps::sum ( const Vector< LevelData< EBCellFAB > * > &  a_data,
const Vector< EBLevelGrid > &  a_eblg,
const Vector< int > &  a_refRat,
int  a_comp,
bool  a_mutiplyByKappa 
) [static]


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

Generated on Fri Apr 5 04:25:00 2019 for Chombo + EB by  doxygen 1.5.5