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

#include <MFLevelDataOps.H>

Public Member Functions

 MFLevelDataOps ()
 
 ~MFLevelDataOps ()
 

Static Public Member Functions

static void setIrregVal (LevelData< MFCellFAB > &a_data, const DisjointBoxLayout &a_dbl, const Vector< EBISLayout > &a_ebisl, const Real &a_value)
 
static void setCoveredVal (LevelData< MFCellFAB > &a_lData, const Real &a_value)
 
static void setCoveredVal (LevelData< MFCellFAB > &a_lData, const int &a_comp, const Real &a_value)
 
static void averageMultiVofsToRegFAB (LevelData< MFCellFAB > &a_data, const DisjointBoxLayout &a_dbl, const Vector< EBISLayout > &a_ebisl)
 
static void copyToMultiVofsFromRegFAB (LevelData< MFCellFAB > &a_data, const DisjointBoxLayout &a_dbl, const Vector< EBISLayout > &a_ebisl)
 
static void defineLevelData (LevelData< MFCellFAB > &a_levelData, const Vector< EBISLayout > &a_ebisl, const DisjointBoxLayout &a_dbl, const IntVect &a_ghosts, const int &a_nComp)
 
static void setToZero (LevelData< MFCellFAB > &a_result)
 
static void scale (LevelData< MFCellFAB > &a_lhs, const Real &a_scale)
 
static void scale (LevelData< MFCellFAB > &a_lhs, const Real &a_scale, const int &a_comp)
 
static void setVal (LevelData< MFCellFAB > &a_result, const Real &a_value)
 
static void setVal (LevelData< MFCellFAB > &a_result, const Real &a_value, const int &a_comp)
 
static void assign (LevelData< MFCellFAB > &a_to, const LevelData< MFCellFAB > &a_from, const Interval &a_toInterva, const Interval &a_fromInterval)
 
static void assign (LevelData< MFCellFAB > &a_lhs, const LevelData< MFCellFAB > &a_rhs)
 
static void clone (LevelData< MFCellFAB > &a_lhs, const LevelData< MFCellFAB > &a_rhs)
 
static void incr (LevelData< MFCellFAB > &a_lhs, const LevelData< MFCellFAB > &a_rhs, const Real &a_scale)
 
static void incr (LevelData< MFCellFAB > &a_lhs, const Real &a_scale)
 
static void axby (LevelData< MFCellFAB > &a_lhs, const LevelData< MFCellFAB > &a_x, const LevelData< MFCellFAB > &a_y, const Real &a, const Real &b)
 
static void axby (LevelData< MFCellFAB > &a_lhs, const LevelData< MFCellFAB > &a_x, const LevelData< MFCellFAB > &a_y, const Real &a, const Real &b, const int &a_lhsComp, const int &a_xComp, const int &a_yComp)
 
static void sum (LevelData< MFCellFAB > &a_result, const LevelData< MFCellFAB > &a_in1, const LevelData< MFCellFAB > &a_in2)
 
static void addConstant (LevelData< MFCellFAB > &a_data, const Real &a_constant)
 
static void power (LevelData< MFCellFAB > &a_result, const Real &a_exponent, const int &a_comp)
 
static void product (LevelData< MFCellFAB > &a_result, const LevelData< MFCellFAB > &a_in1, const LevelData< MFCellFAB > &a_in2)
 
static void product (LevelData< MFCellFAB > &a_result, const LevelData< MFCellFAB > &a_in1, const LevelData< MFCellFAB > &a_in2, const int &a_rComp, const int &a_1Comp, const int &a_2Comp)
 
static void invert (LevelData< MFCellFAB > &a_result, const LevelData< MFCellFAB > &a_in1)
 
static void divideVectorByScalar (LevelData< MFCellFAB > &a_vectorOut, const LevelData< MFCellFAB > &a_vectorIn, const LevelData< MFCellFAB > &a_scalar)
 
static void vectorMagnitude (LevelData< MFCellFAB > &a_scalarOut, const LevelData< MFCellFAB > &a_vectorIn, const int &a_pval)
 
static void divide (LevelData< MFCellFAB > &a_result, const LevelData< MFCellFAB > &a_in1, const LevelData< MFCellFAB > &a_in2)
 
static void divide (LevelData< MFCellFAB > &a_result, const LevelData< MFCellFAB > &a_in1, const LevelData< MFCellFAB > &a_in2, const int &a_rComp, const int &a_1Comp, const int &a_2Comp)
 
static void kappaWeight (LevelData< MFCellFAB > &a_data)
 
static void kappaWeight (MFCellFAB &a_data)
 
static void kappaScale (LevelData< MFCellFAB > &a_data, const Real &a_scale)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ MFLevelDataOps()

MFLevelDataOps::MFLevelDataOps ( )
inline

◆ ~MFLevelDataOps()

MFLevelDataOps::~MFLevelDataOps ( )
inline

Member Function Documentation

◆ setIrregVal()

static void MFLevelDataOps::setIrregVal ( LevelData< MFCellFAB > &  a_data,
const DisjointBoxLayout a_dbl,
const Vector< EBISLayout > &  a_ebisl,
const Real a_value 
)
static

Referenced by ~MFLevelDataOps().

◆ setCoveredVal() [1/2]

static void MFLevelDataOps::setCoveredVal ( LevelData< MFCellFAB > &  a_lData,
const Real a_value 
)
static

Referenced by ~MFLevelDataOps().

◆ setCoveredVal() [2/2]

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

◆ averageMultiVofsToRegFAB()

static void MFLevelDataOps::averageMultiVofsToRegFAB ( LevelData< MFCellFAB > &  a_data,
const DisjointBoxLayout a_dbl,
const Vector< EBISLayout > &  a_ebisl 
)
static

Referenced by ~MFLevelDataOps().

◆ copyToMultiVofsFromRegFAB()

static void MFLevelDataOps::copyToMultiVofsFromRegFAB ( LevelData< MFCellFAB > &  a_data,
const DisjointBoxLayout a_dbl,
const Vector< EBISLayout > &  a_ebisl 
)
static

Referenced by ~MFLevelDataOps().

◆ defineLevelData()

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

Referenced by ~MFLevelDataOps().

◆ setToZero()

static void MFLevelDataOps::setToZero ( LevelData< MFCellFAB > &  a_result)
static

Referenced by ~MFLevelDataOps().

◆ scale() [1/2]

static void MFLevelDataOps::scale ( LevelData< MFCellFAB > &  a_lhs,
const Real a_scale 
)
static

Referenced by ~MFLevelDataOps().

◆ scale() [2/2]

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

◆ setVal() [1/2]

static void MFLevelDataOps::setVal ( LevelData< MFCellFAB > &  a_result,
const Real a_value 
)
static

Referenced by ~MFLevelDataOps().

◆ setVal() [2/2]

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

◆ assign() [1/2]

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

Referenced by ~MFLevelDataOps().

◆ assign() [2/2]

static void MFLevelDataOps::assign ( LevelData< MFCellFAB > &  a_lhs,
const LevelData< MFCellFAB > &  a_rhs 
)
static

◆ clone()

static void MFLevelDataOps::clone ( LevelData< MFCellFAB > &  a_lhs,
const LevelData< MFCellFAB > &  a_rhs 
)
static

Referenced by ~MFLevelDataOps().

◆ incr() [1/2]

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

Referenced by ~MFLevelDataOps().

◆ incr() [2/2]

static void MFLevelDataOps::incr ( LevelData< MFCellFAB > &  a_lhs,
const Real a_scale 
)
static

◆ axby() [1/2]

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

Referenced by ~MFLevelDataOps().

◆ axby() [2/2]

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

◆ sum()

static void MFLevelDataOps::sum ( LevelData< MFCellFAB > &  a_result,
const LevelData< MFCellFAB > &  a_in1,
const LevelData< MFCellFAB > &  a_in2 
)
static

Referenced by ~MFLevelDataOps().

◆ addConstant()

static void MFLevelDataOps::addConstant ( LevelData< MFCellFAB > &  a_data,
const Real a_constant 
)
static

Referenced by ~MFLevelDataOps().

◆ power()

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

Referenced by ~MFLevelDataOps().

◆ product() [1/2]

static void MFLevelDataOps::product ( LevelData< MFCellFAB > &  a_result,
const LevelData< MFCellFAB > &  a_in1,
const LevelData< MFCellFAB > &  a_in2 
)
static

Referenced by ~MFLevelDataOps().

◆ product() [2/2]

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

◆ invert()

static void MFLevelDataOps::invert ( LevelData< MFCellFAB > &  a_result,
const LevelData< MFCellFAB > &  a_in1 
)
static

Referenced by ~MFLevelDataOps().

◆ divideVectorByScalar()

static void MFLevelDataOps::divideVectorByScalar ( LevelData< MFCellFAB > &  a_vectorOut,
const LevelData< MFCellFAB > &  a_vectorIn,
const LevelData< MFCellFAB > &  a_scalar 
)
static

Referenced by ~MFLevelDataOps().

◆ vectorMagnitude()

static void MFLevelDataOps::vectorMagnitude ( LevelData< MFCellFAB > &  a_scalarOut,
const LevelData< MFCellFAB > &  a_vectorIn,
const int &  a_pval 
)
static

Referenced by ~MFLevelDataOps().

◆ divide() [1/2]

static void MFLevelDataOps::divide ( LevelData< MFCellFAB > &  a_result,
const LevelData< MFCellFAB > &  a_in1,
const LevelData< MFCellFAB > &  a_in2 
)
static

Referenced by ~MFLevelDataOps().

◆ divide() [2/2]

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

◆ kappaWeight() [1/2]

static void MFLevelDataOps::kappaWeight ( LevelData< MFCellFAB > &  a_data)
static

Referenced by ~MFLevelDataOps().

◆ kappaWeight() [2/2]

static void MFLevelDataOps::kappaWeight ( MFCellFAB a_data)
static

◆ kappaScale()

static void MFLevelDataOps::kappaScale ( LevelData< MFCellFAB > &  a_data,
const Real a_scale 
)
static

Referenced by ~MFLevelDataOps().


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