chombo-discharge
|
Agglomeration of useful data operations. More...
#include <CD_DataOps.H>
Static Public Member Functions | |
template<typename T > | |
static void | setValue (LevelData< MFInterfaceFAB< T >> &a_lhs, const T &a_value) |
Set value in an MFInterfaceFAB data holder. More... | |
template<typename T > | |
static int | sgn (const T a_value) |
Sign function. Returns +/- if the value is > 0 or < 0. More... | |
static void | averageCellVelocityToFaceVelocity (EBAMRFluxData &a_faceData, const EBAMRCellData &a_cellData, const Vector< ProblemDomain > &a_domains, const int a_tanGhosts) |
Routine which computes the average of a cell-centered quantity on faces for the normal component only. More... | |
static void | averageCellVelocityToFaceVelocity (LevelData< EBFluxFAB > &a_faceData, const LevelData< EBCellFAB > &a_cellData, const ProblemDomain &a_domain, const int a_tanGhosts) |
Routine which computes the average of a cell-centered quantity on faces for the normal component only. More... | |
static void | averageCellToFace (EBAMRFluxData &a_faceData, const EBAMRCellData &a_cellData, const Vector< ProblemDomain > &a_domains) |
Average all components of the cell-centered data to faces. More... | |
static void | averageCellToFace (EBAMRFluxData &a_faceData, const EBAMRCellData &a_cellData, const Vector< ProblemDomain > &a_domains, const int a_tanGhosts, const Interval &a_faceVars, const Interval &a_cellVars, const Average &a_average) |
Routine which averages a cell-centered component to faces. More... | |
static void | averageCellToFace (LevelData< EBFluxFAB > &a_faceData, const LevelData< EBCellFAB > &a_cellData, const ProblemDomain &a_domain, const int a_tanGhosts, const Interval &a_faceVars, const Interval &a_cellVars, const Average &a_average) |
Routine which averages a cell-centered component to faces. More... | |
static void | averageFaceToCell (EBAMRCellData &a_cellData, const EBAMRFluxData &a_fluxData, const Vector< ProblemDomain > &a_domains) |
Average all components of face centered data to cell centers. More... | |
static void | averageFaceToCell (LevelData< EBCellFAB > &a_cellData, const LevelData< EBFluxFAB > &a_fluxData, const ProblemDomain &a_domain) |
Average all components of face centered data to cell centers. More... | |
static void | axby (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_x, const LevelData< EBCellFAB > &a_y, const Real a_a, const Real a_b) noexcept |
Compute lhs = a * x + b * y. More... | |
static void | compute (EBAMRCellData &a_data, const std::function< Real(const Real a_cellValue)> &a_func) noexcept |
Compute a new value given the old cell value. More... | |
static void | compute (LevelData< EBCellFAB > &a_data, const std::function< Real(const Real a_cellValue)> &a_func) noexcept |
Compute a new value given the old cell value. More... | |
static void | dotProduct (MFAMRCellData &a_result, const MFAMRCellData &a_data1, const MFAMRCellData &a_data2) |
Compote the cell-wise dot product between two data holders. More... | |
static void | dotProduct (LevelData< MFCellFAB > &a_result, const LevelData< MFCellFAB > &a_data1, const LevelData< MFCellFAB > &a_data2) |
Compote the cell-wise dot product between two data holders. More... | |
static void | dotProduct (EBAMRCellData &a_result, const EBAMRCellData &a_data1, const EBAMRCellData &a_data2) |
Compote the cell-wise dot product between two data holders. More... | |
static void | dotProduct (LevelData< EBCellFAB > &a_result, const LevelData< EBCellFAB > &a_data1, const LevelData< EBCellFAB > &a_data2) |
Compote the cell-wise dot product between two data holders. More... | |
static void | dotProduct (EBCellFAB &a_result, const EBCellFAB &a_data1, const EBCellFAB &a_data2, const Box &a_box) |
Compote the cell-wise dot product between two data holders. More... | |
static void | filterSmooth (EBAMRCellData &a_data, const Real a_alpha, const int a_stride, const bool a_zeroEB) noexcept |
Apply a convolved filter phi = alpha * phi_i + 0.5*(1-alpha) * [phi_(i+s) + phi_(i-s)] in each direction. More... | |
static void | filterSmooth (LevelData< EBCellFAB > &a_data, const Real a_alpha, const int a_stride, const bool a_zeroEB) noexcept |
Apply a convolved filter phi = alpha * phi_i + 0.5*(1-alpha) * [phi_(i+s) + phi_(i-s)] in each direction. More... | |
static void | incr (MFAMRCellData &a_lhs, const MFAMRCellData &a_rhs, const Real a_scale) noexcept |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (LevelData< MFCellFAB > &a_lhs, const LevelData< MFCellFAB > &a_rhs, const Real a_scale) noexcept |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (EBAMRCellData &a_lhs, const EBAMRCellData &a_rhs, const Real &a_scale) noexcept |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs, const Real &a_scale) noexcept |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (EBAMRFluxData &a_lhs, const EBAMRFluxData &a_rhs, const Real &a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (LevelData< EBFluxFAB > &a_lhs, const LevelData< EBFluxFAB > &a_rhs, const Real &a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (EBFluxFAB &a_lhs, const EBFluxFAB &a_rhs, const Real &a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (EBAMRIVData &a_lhs, const EBAMRIVData &a_rhs, const Real &a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (LevelData< BaseIVFAB< Real >> &a_lhs, const LevelData< BaseIVFAB< Real >> &a_rhs, const Real &a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (EBAMRIFData &a_lhs, const EBAMRIFData &a_rhs, const Real &a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (LevelData< DomainFluxIFFAB > &a_lhs, const LevelData< DomainFluxIFFAB > &a_rhs, const Real &a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (EBAMRCellData &a_lhs, const EBAMRIVData &a_rhs, const Real a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (LevelData< EBCellFAB > &a_lhs, const LevelData< BaseIVFAB< Real >> &a_rhs, const Real a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (EBAMRIVData &a_lhs, const EBAMRCellData &a_rhs, const Real a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | incr (LevelData< BaseIVFAB< Real >> &a_lhs, const LevelData< EBCellFAB > &a_rhs, const Real a_scale) |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components. More... | |
static void | copy (MFAMRCellData &a_dst, const MFAMRCellData &a_src) |
Copy data from one data holder to another. More... | |
static void | copy (EBAMRCellData &a_dst, const EBAMRCellData &a_src) |
Copy data from one data holder to another. More... | |
static void | copy (EBAMRIVData &a_dst, const EBAMRIVData &a_src) |
Copy data from one data holder to another. More... | |
template<typename T > | |
static void | copy (EBAMRData< T > &a_dst, const EBAMRData< T > &a_src, const Interval a_dstInterv, const Interval a_srcInterv) |
Copy data from one data holder to another. Allows specification of components. More... | |
static void | divide (EBAMRCellData &a_lhs, const EBAMRCellData &a_rhs, const int a_lhsComp, const int a_rhsComp) |
Divide one data holder by another. Does specified components. More... | |
static void | divide (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs, const int a_lhsComp, const int a_rhsComp) |
Divide one data holder by another. Does specified components. More... | |
static void | divideByScalar (EBAMRCellData &a_lhs, const EBAMRCellData &a_rhs) |
Divide all components in a data holder by a scalar value. More... | |
static void | divideByScalar (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs) |
Divide all components in a data holder by a scalar value. More... | |
static void | divideFallback (EBAMRCellData &a_numerator, const EBAMRCellData &a_denominator, const Real a_fallback) |
Divide data. If the denominator is zero, set the value to a fallback option. More... | |
static void | divideFallback (LevelData< EBCellFAB > &a_numerator, const LevelData< EBCellFAB > &a_denominator, const Real a_fallback) |
Divide data. If the denominator is zero, set the value to a fallback option. More... | |
static void | divideFallback (EBAMRCellData &a_numerator, const EBAMRCellData &a_denominator, const EBAMRCellData &a_fallback) |
Divide data. If the denominator is zero, set the value to a fallback option. More... | |
static void | divideFallback (LevelData< EBCellFAB > &a_numerator, const LevelData< EBCellFAB > &a_denominator, const LevelData< EBCellFAB > &a_fallback) |
Divide data. If the denominator is zero, set the value to a fallback option. More... | |
static void | floor (EBAMRCellData &a_lhs, const Real a_value) |
Floor values in data holder. This sets all values below a_value to a_value. More... | |
static void | floor (LevelData< EBCellFAB > &a_lhs, const Real a_value) |
Floor values in data holder. This sets all values below a_value to a_value. More... | |
static void | floor (EBAMRIVData &a_lhs, const Real a_value) |
Floor values in data holder. This sets all values below a_value to a_value. More... | |
static void | floor (LevelData< BaseIVFAB< Real >> &a_lhs, const Real a_value) |
Floor values in data holder. This sets all values below a_value to a_value. More... | |
static void | roof (EBAMRCellData &a_lhs, const Real a_value) |
Roof values in data holder. This sets all values above a_value to a_value. More... | |
static void | roof (LevelData< EBCellFAB > &a_lhs, const Real a_value) |
Roof values in data holder. This sets all values above a_value to a_value. More... | |
static void | roof (EBAMRIVData &a_lhs, const Real a_value) |
Roof values in data holder. This sets all values above a_value to a_value. More... | |
static void | roof (LevelData< BaseIVFAB< Real >> &a_lhs, const Real a_value) |
Roof values in data holder. This sets all values above a_value to a_value. More... | |
static void | max (EBAMRCellData &a_data, const EBAMRCellData &a_data1, const EBAMRCellData &a_data2) |
Make a_data = max(a_data1, a_data2) More... | |
static void | max (LevelData< EBCellFAB > &a_data, const LevelData< EBCellFAB > &a_data1, const LevelData< EBCellFAB > &a_data2) |
Make a_data = max(a_data1, a_data2) More... | |
static void | getMaxMin (Real &max, Real &min, EBAMRCellData &a_data, const int a_comp) |
Get maximum and minimum value of specified component. More... | |
static void | getMaxMin (Real &a_max, Real &a_min, LevelData< EBCellFAB > &a_data, const int a_comp) |
Get maximum and minimum value of specified component. More... | |
static void | getMaxMin (Real &a_max, Real &a_min, EBAMRFluxData &a_data, const int a_comp) noexcept |
Get maximum and minimum value of specified component. More... | |
static void | getMaxMin (Real &a_max, Real &a_min, LevelData< EBFluxFAB > &a_data, const int a_comp) noexcept |
Get maximum and minimum value of specified component. More... | |
static void | getMaxMin (Vector< Real > &a_max, Vector< Real > &a_min, Vector< EBAMRCellData > &a_data) |
Get maximum and minimum value. Assumes single-component data. More... | |
static void | getMaxMinNorm (Real &a_max, Real &a_min, EBAMRCellData &data) |
Get maximum and minimum value of normed data. More... | |
static void | getMaxMinNorm (Real &a_max, Real &a_min, LevelData< EBCellFAB > &data) |
Get maximum and minimum value of normed data. More... | |
static void | getMaxMinNorm (Real &a_max, Real &a_min, EBAMRIVData &data) |
Get maximum and minimum value of normed data. More... | |
static void | getMaxMinNorm (Real &a_max, Real &a_min, LevelData< BaseIVFAB< Real >> &data) |
Get maximum and minimum value of normed data. More... | |
static void | invert (EBAMRFluxData &a_data) |
Invert data. More... | |
static void | invert (LevelData< EBFluxFAB > &a_data) |
Invert data. More... | |
static void | invert (EBFluxFAB &a_data) |
Invert data. More... | |
static void | kappaSum (Real &a_mass, const LevelData< EBCellFAB > &a_lhs, const int a_comp=0) |
Compute the kappa-weighted sum of the input data. Assumes one component. More... | |
static void | kappaScale (EBAMRCellData &a_data) noexcept |
Scale data by volume fraction. More... | |
static void | kappaScale (LevelData< EBCellFAB > &a_data) noexcept |
Scale data by volume fraction. More... | |
static void | kappaScale (MFAMRCellData &a_data) noexcept |
Scale data by volume fraction. More... | |
static void | kappaScale (LevelData< MFCellFAB > &a_data) noexcept |
Scale data by volume fraction. More... | |
static void | volumeScale (EBAMRCellData &a_data, const Vector< Real > &a_dx) |
Scale data by dx^SpaceDim. More... | |
static void | multiply (EBAMRCellData &a_lhs, const EBAMRCellData &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiply (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiply (EBAMRFluxData &a_lhs, const EBAMRFluxData &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiply (LevelData< EBFluxFAB > &a_lhs, const LevelData< EBFluxFAB > &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiply (EBAMRIVData &a_lhs, const EBAMRIVData &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiply (LevelData< BaseIVFAB< Real >> &a_lhs, const LevelData< BaseIVFAB< Real >> &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiplyScalar (EBAMRCellData &a_lhs, const EBAMRCellData &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiplyScalar (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiplyScalar (EBAMRIVData &a_lhs, const EBAMRIVData &a_rhs) |
Multiply data holder by another data holder. More... | |
static void | multiplyScalar (LevelData< BaseIVFAB< Real >> &a_lhs, const LevelData< BaseIVFAB< Real >> &a_rhs) |
Multiply data holder by another data holder. More... | |
static Real | norm (const LevelData< EBCellFAB > &a_data, const int a_p, const int a_comp=0) |
Compute specified norm of data. More... | |
static void | plus (EBAMRCellData &a_lhs, const EBAMRCellData &a_rhs, const int a_srcComp, const int a_dstComp, const int a_numComp) |
General addition operator for adding together data. The user can choose which components to add. More... | |
static void | plus (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs, const int a_srcComp, const int a_dstComp, const int a_numComp) |
General addition operator for adding together data. The user can choose which components to add. More... | |
static void | scale (MFAMRCellData &a_lhs, const Real &a_scale) noexcept |
Scale data by factor. More... | |
static void | scale (LevelData< MFCellFAB > &a_lhs, const Real &a_scale) noexcept |
Scale data by factor. More... | |
static void | scale (MFAMRFluxData &a_lhs, const Real &a_scale) |
Scale data by factor. More... | |
static void | scale (LevelData< MFFluxFAB > &a_lhs, const Real &a_scale) |
Scale data by factor. More... | |
static void | scale (EBAMRIVData &a_lhs, const Real &a_scale) |
Scale data by factor. More... | |
static void | scale (EBAMRCellData &a_lhs, const Real a_scale) noexcept |
Scale data by factor. More... | |
static void | scale (LevelData< EBCellFAB > &a_lhs, const Real a_scale) noexcept |
Scale data by factor. More... | |
static void | scale (EBAMRFluxData &a_lhs, const Real a_scale) |
Scale data by factor. More... | |
static void | scale (LevelData< EBFluxFAB > &a_lhs, const Real a_scale) |
Scale data by factor. More... | |
static void | scale (LevelData< BaseIVFAB< Real >> &a_lhs, const Real &a_scale) |
Scale data by factor. More... | |
static void | setCoveredValue (EBAMRCellData &a_lhs, const int a_comp, const Real a_value) |
Set value in covered cells. Does specified component. More... | |
static void | setCoveredValue (LevelData< EBCellFAB > &a_lhs, const int a_comp, const Real a_value) |
Set value in covered cells. Does specified component. More... | |
static void | setCoveredValue (EBAMRCellData &a_lhs, const Real a_value) |
Version of setCoveredValue which does all components. More... | |
static void | setCoveredValue (LevelData< EBCellFAB > &a_lhs, const Real a_value) |
Version of setCoveredValue which does all component. More... | |
static void | setCoveredValue (EBAMRFluxData &a_lhs, const int a_comp, const Real a_value) noexcept |
Set value on covered faces. More... | |
static void | setCoveredValue (LevelData< EBFluxFAB > &a_lhs, const int a_comp, const Real a_value) noexcept |
Set value on covered faces. More... | |
static void | setCoveredValue (EBAMRFluxData &a_lhs, const Real a_value) noexcept |
Set all covered face values. More... | |
static void | setCoveredValue (LevelData< EBFluxFAB > &a_lhs, const Real a_value) noexcept |
Set all covered face values. More... | |
static void | setInvalidValue (EBAMRCellData &a_lhs, const Vector< int > &a_refRat, const Real a_value) |
Set value in cells that are covered by a finer grid. More... | |
static void | setValue (MFAMRCellData &a_lhs, const std::function< Real(const RealVect)> &a_function, const RealVect a_probLo, const Vector< Real > &a_dx, const int a_comp) |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function. More... | |
static void | setValue (LevelData< MFCellFAB > &a_lhs, const std::function< Real(const RealVect)> &a_function, const RealVect a_probLo, const Real a_dx, const int a_comp) |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function. More... | |
static void | setValue (EBAMRCellData &a_lhs, const std::function< Real(const RealVect)> &a_function, const RealVect a_probLo, const Vector< Real > &a_dx, const int a_comp) |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function. More... | |
static void | setValue (LevelData< EBCellFAB > &a_lhs, const std::function< Real(const RealVect)> &a_function, const RealVect a_probLo, const Real a_dx, const int a_comp) |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function. More... | |
static void | setValue (EBAMRFluxData &a_lhs, const std::function< Real(const RealVect)> &a_function, const RealVect a_probLo, const Vector< Real > &a_dx, const int a_comp) |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function. More... | |
static void | setValue (LevelData< EBFluxFAB > &a_lhs, const std::function< Real(const RealVect)> &a_function, const RealVect a_probLo, const Real a_dx, const int a_comp) |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function. More... | |
static void | setValue (EBAMRIVData &a_lhs, const std::function< Real(const RealVect)> &a_function, const RealVect a_probLo, const Vector< Real > &a_dx, const int a_comp) |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function. More... | |
static void | setValue (LevelData< BaseIVFAB< Real >> &a_lhs, const std::function< Real(const RealVect)> &a_function, const RealVect a_probLo, const Real a_dx, const int a_comp) |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function. More... | |
static void | setValue (EBAMRCellData &a_lhs, const std::function< RealVect(const RealVect)> &a_function, const RealVect a_probLo, const Vector< Real > &a_dx) |
Polymorphic set value function. Assumes that a_lhs has SpaceDim components and sets all those components from the input function. More... | |
static void | setValue (LevelData< EBCellFAB > &a_lhs, const std::function< RealVect(const RealVect)> &a_function, const RealVect a_probLo, const Real a_dx) |
Polymorphic set value function. Assumes that a_lhs has SpaceDim components and sets all those components from the input function. More... | |
static void | setValue (EBAMRCellData &a_lhs, const Real &a_value) |
Set value in data. More... | |
static void | setValue (EBAMRCellData &a_lhs, const Real a_value, const int a_comp) |
Set value in data with specified component. More... | |
static void | setValue (LevelData< EBCellFAB > &a_lhs, const Real a_value, const int a_comp) |
Set value in data with specified component. More... | |
static void | setValue (LevelData< EBCellFAB > &a_lhs, const Real a_value) |
Set value in data. More... | |
static void | setValue (LevelData< EBFluxFAB > &a_lhs, const Real a_value) |
Set value in data. More... | |
static void | setValue (LevelData< BaseIVFAB< Real >> &a_lhs, const Real a_value) |
Set value in data. More... | |
static void | setValue (EBAMRFluxData &a_lhs, const Real &a_value) |
Set value in data. More... | |
static void | setValue (EBAMRIVData &a_lhs, const Real &a_value) |
Set value in data. More... | |
static void | setValue (MFAMRCellData &a_lhs, const Real &a_value) noexcept |
Set value in data. More... | |
static void | setValue (LevelData< MFCellFAB > &a_lhs, const Real &a_value) noexcept |
Set value in data. More... | |
static void | setValue (MFAMRFluxData &a_lhs, const Real &a_value) |
Set value in data. More... | |
static void | setValue (LevelData< MFFluxFAB > &a_lhs, const Real &a_value) |
Set value in data. More... | |
static void | setValue (MFAMRIVData &a_lhs, const Real &a_value) |
Set value in data. More... | |
static void | setValue (LevelData< MFBaseIVFAB > &a_lhs, const Real &a_value) |
Set value in data. More... | |
static void | setValue (EBAMRIFData &a_lhs, const Real a_value) |
Set value in data. More... | |
static void | setValue (LevelData< DomainFluxIFFAB > &a_lhs, const Real a_value) |
Set value in data. More... | |
static void | sum (Real &a_value) |
Compute the sum of the input value. More... | |
static void | squareRoot (EBAMRFluxData &a_lhs) |
Compute the square root of the input data. More... | |
static void | squareRoot (LevelData< EBFluxFAB > &a_lhs) |
Compute the square root of the input data. More... | |
static void | squareRoot (MFAMRCellData &a_data) |
Take the square root of the input data. More... | |
static void | squareRoot (LevelData< MFCellFAB > &a_data) |
Take the square root of the input data. More... | |
static void | vectorLength (EBAMRCellData &a_lhs, const EBAMRCellData &a_rhs) |
Compute the vector length of a data holder. Sets a_lhs = |a_rhs| where a_rhs contains SpaceDim components. More... | |
static void | vectorLength (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs) |
Compute the vector length of a data holder. Sets a_lhs = |a_rhs| where a_rhs contains SpaceDim components. More... | |
static void | vectorLength (EBCellFAB &a_lhs, const EBCellFAB &a_rhs, const Box &box) |
Compute the vector length of a data holder. Sets a_lhs = |a_rhs| where a_rhs contains SpaceDim components. More... | |
static void | vectorLength2 (EBAMRCellData &a_lhs, const EBAMRCellData &a_rhs) |
Compute the squared vector length of a data holder. Sets a_lhs = |a_rhs|^2 where a_rhs contains SpaceDim components. More... | |
static void | vectorLength2 (LevelData< EBCellFAB > &a_lhs, const LevelData< EBCellFAB > &a_rhs) |
Compute the squared vector length of a data holder. Sets a_lhs = |a_rhs|^2 where a_rhs contains SpaceDim components. More... | |
static void | vectorLength2 (EBCellFAB &a_lhs, const EBCellFAB &a_rhs, const Box &box) |
Compute the squared vector length of a data holder. Sets a_lhs = |a_rhs|^2 where a_rhs contains SpaceDim components. More... | |
static void | computeMinValidBox (RealVect &a_lo, RealVect &a_hi, const RealVect a_normal, const RealVect a_centroid) |
Compute the tightest possible valid box around a cut-cell volume. More... | |
static bool | allCornersInsideEb (const Vector< RealVect > &a_corners, const RealVect a_normal, const RealVect a_centroid) |
Check if all corners/points are inside an EB. More... | |
static void | shiftCorners (Vector< RealVect > &a_corners, const RealVect &a_distance) |
Shift pointes by a specified distance. More... | |
Agglomeration of useful data operations.
|
static |
Check if all corners/points are inside an EB.
[out] | a_corner | Corners |
[in] | a_normal | EB face normal |
[in] | a_centroid | EB centroid |
|
static |
Average all components of the cell-centered data to faces.
Calls the other version; uses arihtmetic averaging and does not fill ghost faces.
[out] | a_faceData | Face data. |
[in] | a_cellData | Cell data. |
[in] | a_domains | AMR domains. |
|
static |
Routine which averages a cell-centered component to faces.
User can choose what type of averaging to use, as well as choosing the number of ghost face to fill. These faces are "tangential ghost faces", i.e. if the face direction is along +x, we extend the box with faces in the y- and z- directions.
[out] | a_faceData | Face data. |
[in] | a_cellData | Cell data. |
[in] | a_domain | Problem domain |
[in] | a_tanGhost | Number of ghost faces to fill |
[in] | a_faceVars | Face variables |
[in] | a_cellVars | Cell variables |
[in] | a_average | Averaging method |
|
static |
Routine which averages a cell-centered component to faces.
User can choose what type of averaging to use, as well as choosing the number of ghost face to fill. These faces are "tangential ghost faces", i.e. if the face direction is along +x, we extend the box with faces in the y- and z- directions.
[out] | a_faceData | Face data. |
[in] | a_cellData | Cell data. |
[in] | a_domain | Problem domain |
[in] | a_tanGhost | Number of ghost faces to fill |
[in] | a_faceVars | Face variables |
[in] | a_cellVars | Cell variables |
[in] | a_average | Averaging method |
|
static |
Routine which computes the average of a cell-centered quantity on faces for the normal component only.
[out] | a_faceData | Face data. Must have one component. |
[in] | a_cellData | Cell data. Must have SpaceDim components. |
[in] | a_domains | AMR domains. |
[in] | a_tanGhost | Number of ghost faces to fill. |
|
static |
Routine which computes the average of a cell-centered quantity on faces for the normal component only.
[out] | a_faceData | Face data. Must have one component. |
[in] | a_cellData | Cell data. Must have SpaceDim components. |
[in] | a_domain | Problem domain |
[in] | a_tanGhost | Number of ghost faces to fill |
|
static |
Average all components of face centered data to cell centers.
[out] | a_cellData | Cell data. |
[int] | a_faceData Face data. | |
[in] | a_domains | AMR domains. |
|
static |
Average all components of face centered data to cell centers.
[out] | a_cellData | Cell data. |
[int] | a_faceData Face data. | |
[in] | a_domains | Domain |
|
staticnoexcept |
Compute lhs = a * x + b * y.
[out] | a_lhs | Result |
[in] | a_x | First FAB |
[in] | a_y | Second FAB |
[in] | a_a | Scaling factor |
[in] | a_b | Scaling factor |
|
staticnoexcept |
Compute a new value given the old cell value.
Useful for quickly calculating a cell value as e.g. exp(x) where the original data was only x
[in,out] | a_data | Input data |
[in] | a_func | Function for transforming the data |
|
staticnoexcept |
Compute a new value given the old cell value.
Useful for quickly calculating a cell value as e.g. exp(x) where the original data was only x
[in,out] | a_data | Input data |
[in] | a_func | Function for transforming the data |
|
static |
Compute the tightest possible valid box around a cut-cell volume.
[out] | a_lo | Low corner |
[out] | a_hi | High corner |
[in] | a_normal | EB face normal |
[in] | a_centroid | EB centroid |
|
static |
Copy data from one data holder to another.
[out] | a_dst | Destination data holder |
[in] | a_src | Source data holder |
|
static |
Copy data from one data holder to another. Allows specification of components.
[out] | a_dst | Destination data holder |
[in] | a_src | Source data holder |
[out] | a_dstInterv | Destination data component |
[in] | a_srcInterv | Source data components |
|
static |
Copy data from one data holder to another.
[out] | a_dst | Destination data holder |
[in] | a_src | Source data holder |
|
static |
Copy data from one data holder to another.
[out] | a_dst | Destination data holder |
[in] | a_src | Source data holder |
|
static |
Divide one data holder by another. Does specified components.
[in,out] | a_lhs | Data to be divided |
[in] | a_rhs | Divisor. |
[in] | a_lhsComp | Destination data component |
[in] | a_rhsComp | Source data component |
|
static |
Divide one data holder by another. Does specified components.
[in,out] | a_lhs | Data to be divided |
[in] | a_rhs | Divisor. |
[in] | a_lhsComp | Destination data component |
[in] | a_rhsComp | Source data component |
|
static |
Divide all components in a data holder by a scalar value.
[in,out] | a_lhs | Data to be divided |
[in] | a_rhs | Divisor. Must have exactly one component. |
|
static |
Divide all components in a data holder by a scalar value.
[in,out] | a_lhs | Data to be divided |
[in] | a_rhs | Divisor. Must have exactly one component. |
|
static |
Divide data. If the denominator is zero, set the value to a fallback option.
[in,out] | a_numerator | Dividend |
[in] | a_denominator | Divisor |
[in] | a_fallback | Fallback data |
|
static |
Divide data. If the denominator is zero, set the value to a fallback option.
[in,out] | a_numerator | Dividend |
[in] | a_denominator | Divisor |
[in] | a_fallback | Fallback value in case denominator is zero. |
|
static |
Divide data. If the denominator is zero, set the value to a fallback option.
[in,out] | a_numerator | Dividend |
[in] | a_denominator | Divisor |
[in] | a_fallback | Fallback data |
|
static |
Divide data. If the denominator is zero, set the value to a fallback option.
[in,out] | a_numerator | Dividend |
[in] | a_denominator | Divisor |
[in] | a_fallback | Fallback value in case denominator is zero. |
|
static |
Compote the cell-wise dot product between two data holders.
[out] | a_result | Result. Holds the dot product in each cell. |
[in] | a_data1 | First data holder. |
[in] | a_data2 | Other data holder. |
|
static |
Compote the cell-wise dot product between two data holders.
[out] | a_result | Result. Holds the dot product in each cell. |
[in] | a_data1 | First data holder. |
[in] | a_data2 | Other data holder. |
|
static |
Compote the cell-wise dot product between two data holders.
[out] | a_result | Result. Holds the dot product in each cell. |
[in] | a_data1 | First data holder. |
[in] | a_data2 | Other data holder. |
|
static |
Compote the cell-wise dot product between two data holders.
This calls the single-phase dotProduct patch versions with EBCellFABs on each phase.
[out] | a_result | Result. Holds the dot product in each cell. |
[in] | a_data1 | First data holder. |
[in] | a_data2 | Other data holder. |
|
static |
Compote the cell-wise dot product between two data holders.
[out] | a_result | Result. Holds the dot product in each cell. |
[in] | a_data1 | First data holder. |
[in] | a_data2 | Other data holder. |
|
staticnoexcept |
Apply a convolved filter phi = alpha * phi_i + 0.5*(1-alpha) * [phi_(i+s) + phi_(i-s)] in each direction.
Ghost cells and coarsening must be done before entering this routine
[in,out] | a_data | Data to be filtered. |
[in] | a_alpha | Filter factor |
[in] | a_stride | Cell stride s |
[in] | a_zeroEB | Set value in covered cells to zero or not |
|
staticnoexcept |
Apply a convolved filter phi = alpha * phi_i + 0.5*(1-alpha) * [phi_(i+s) + phi_(i-s)] in each direction.
Ghost cells must be updated before entering this routine.
[in,out] | a_data | Data to be filtered. |
[in] | a_alpha | Filter factor |
[in] | a_stride | Cell stride s |
[in] | a_zeroEB | Set value in covered cells to zero or not |
|
static |
Floor values in data holder. This sets all values below a_value to a_value.
[in,out] | a_lhs | Data to be floored. |
[in] | a_value | Floor value |
|
static |
Floor values in data holder. This sets all values below a_value to a_value.
[in,out] | a_lhs | Data to be floored. |
[in] | a_value | Floor value |
|
static |
Floor values in data holder. This sets all values below a_value to a_value.
[in,out] | a_lhs | Data to be floored. |
[in] | a_value | Floor value |
|
static |
Floor values in data holder. This sets all values below a_value to a_value.
[in,out] | a_lhs | Data to be floored. |
[in] | a_value | Floor value |
|
staticnoexcept |
Get maximum and minimum value of specified component.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
[in] | a_comp | Component |
|
static |
Get maximum and minimum value of specified component.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
[in] | a_comp | Component |
|
staticnoexcept |
Get maximum and minimum value of specified component.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
[in] | a_comp | Component |
|
static |
Get maximum and minimum value of specified component.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
[in] | a_comp | Component |
|
static |
Get maximum and minimum value. Assumes single-component data.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
|
static |
Get maximum and minimum value of normed data.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
|
static |
Get maximum and minimum value of normed data.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
|
static |
Get maximum and minimum value of normed data.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
|
static |
Get maximum and minimum value of normed data.
[out] | a_max | Maximum value |
[out] | a_min | Minium value |
[in] | a_data | Cell-centered data |
|
staticnoexcept |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
This versions only adds irregular data from an EBAMRIVFAB. It ignores regular cells.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
This versions only adds irregular data form an EBCellFAB to an BaseIVFAB. It ignores regular cells.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
This versions only adds irregular data form an EBCellFAB to an BaseIVFAB. It ignores regular cells.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
This versions only adds irregular data from an EBAMRIVFAB. It ignores regular cells.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
staticnoexcept |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
staticnoexcept |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
staticnoexcept |
Function which increments data in the form a_lhs = a_lhs + a_rhs*a_scale for all components.
[in,out] | a_lhs | Data to be incremented. |
[in] | a_rhs | Incrementation. |
[in] | a_scale | Scale factor. |
|
static |
Invert data.
[in,out] | Data | to be inverted. On output we have a_data = 1/a_data. |
|
static |
Invert data.
[in,out] | Data | to be inverted. On output we have a_data = 1/a_data. |
|
static |
Invert data.
[in,out] | Data | to be inverted. On output we have a_data = 1/a_data. |
|
staticnoexcept |
Scale data by volume fraction.
[in,out] | a_data | Data to be scaled. On output we have a_data = kappa * a_data |
|
staticnoexcept |
Scale data by volume fraction.
[in,out] | a_data | Data to be scaled. On output we have a_data = kappa * a_data |
|
staticnoexcept |
Scale data by volume fraction.
[in,out] | a_data | Data to be scaled. On output we have a_data = kappa * a_data |
|
staticnoexcept |
Scale data by volume fraction.
[in,out] | a_data | Data to be scaled. On output we have a_data = kappa * a_data |
|
static |
Compute the kappa-weighted sum of the input data. Assumes one component.
[out] | a_mass | Total mass, computed as kappa * lhs |
[in] | a_lhs | Cell data |
[in] | a_comp | Component |
|
static |
Make a_data = max(a_data1, a_data2)
[out] | a_data | Output data. Will be max(a_data1, a_data2) in every cell |
[in] | a_data1 | Input data holder |
[in] | a_data2 | Input data holder |
|
static |
Make a_data = max(a_data1, a_data2)
[out] | a_data | Output data. Will be max(a_data1, a_data2) in every cell |
[in] | a_data1 | Input data holder |
[in] | a_data2 | Input data holder |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Multiply data holder by another data holder.
[in,out] | a_lhs | Data to be multiplied |
[in] | a_rhs | Multiplication factor |
|
static |
Compute specified norm of data.
[in] | a_data | Data to compute the norm of |
[in] | a_p | Norm factor, e.g. a_p = 2 => squared norm. 0 => inf norm |
[in] | a_comp | Component |
|
static |
General addition operator for adding together data. The user can choose which components to add.
[in,out] | a_lhs | Output data component |
[in,out] | a_rhs | Data to be added to a_lhs |
[in] | a_srcComp | Component in a_rhs to add from. |
[in] | a_dstComp | Component in a_lhs to add into. |
[in] | a_numComp | Number of components to add. |
|
static |
General addition operator for adding together data. The user can choose which components to add.
[in,out] | a_lhs | Output data component |
[in,out] | a_rhs | Data to be added to a_lhs |
[in] | a_srcComp | Component in a_rhs to add from. |
[in] | a_dstComp | Component in a_lhs to add into. |
[in] | a_numComp | Number of components to add. |
|
static |
Roof values in data holder. This sets all values above a_value to a_value.
[in,out] | a_lhs | Data to be roofed. |
[in] | a_value | Roof value |
|
static |
Roof values in data holder. This sets all values above a_value to a_value.
[in,out] | a_lhs | Data to be roofed. |
[in] | a_value | Roof value |
|
static |
Roof values in data holder. This sets all values above a_value to a_value.
[in,out] | a_lhs | Data to be roofed. |
[in] | a_value | Roof value |
|
static |
Roof values in data holder. This sets all values above a_value to a_value.
[in,out] | a_lhs | Data to be roofed. |
[in] | a_value | Roof value |
|
staticnoexcept |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
static |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
static |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
static |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
staticnoexcept |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
static |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
staticnoexcept |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
static |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
staticnoexcept |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
static |
Scale data by factor.
[in,out] | a_lhs | Data to be scaled |
[in] | a_scale | Scaling factor |
|
static |
Set value in covered cells. Does specified component.
[in,out] | a_lhs | Input/output data. |
[in] | a_comp | Component to set |
[in] | a_value | Value to set |
|
static |
Version of setCoveredValue which does all components.
[in,out] | a_lhs | Data |
[in] | a_value | Value in covered grid cells. |
|
staticnoexcept |
Set value on covered faces.
[in,out] | a_lhs | Input/output data. |
[in] | a_comp | Component to set |
[in] | a_value | Value to set |
|
staticnoexcept |
Set all covered face values.
[in,out] | a_lhs | Data |
[in] | a_value | Value in covered grid cells. |
|
static |
Set value in covered cells. Does specified component.
[in,out] | a_lhs | Input/output data. |
[in] | a_comp | Component to set |
[in] | a_value | Value to set |
|
static |
Version of setCoveredValue which does all component.
[in,out] | a_lhs | Data |
[in] | a_value | Value in covered grid cells. |
|
staticnoexcept |
Set value on covered faces.
[in,out] | a_lhs | Input/output data. |
[in] | a_comp | Component to set |
[in] | a_value | Value to set |
|
staticnoexcept |
Set all covered face values.
[in,out] | a_lhs | Data |
[in] | a_value | Value in covered grid cells. |
|
static |
Set value in cells that are covered by a finer grid.
[in,out] | a_lhs | AMR data |
[in] | a_refRat | Refinement ratios between levels. |
[in] | a_value | Value to set in cells covered by a finer grid. |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Set value in data with specified component.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Polymorphic set value function. Assumes that a_lhs has SpaceDim components and sets all those components from the input function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Set value in data with specified component.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Polymorphic set value function. Assumes that a_lhs has SpaceDim components and sets all those components from the input function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
staticnoexcept |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Set value in an MFInterfaceFAB data holder.
[in] | a_lhs | Data holder |
[in] | a_value | Value to set |
|
staticnoexcept |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Polymorphic set value function. Takes a spatially varying function and sets the value in the specified component from that function.
[out] | a_lhs | Data to set |
[in] | a_function | Function to use for setting the value. |
[in] | a_probLo | Lower-left corner of physical domain. |
[in] | a_dx | Grid resolutions |
[in] | a_comp | Component to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Set value in data.
[out] | a_lhs | Input/output data |
[in] | a_value | Value to set |
|
static |
Sign function. Returns +/- if the value is > 0 or < 0.
[in] | a_value | Value to evaluate. |
|
static |
Shift pointes by a specified distance.
On output, every point in a_corners is shifted by a_distance.
[in,out] | a_corners | Points to be shifted |
[in] | a_distance | Shift vector |
|
static |
Compute the square root of the input data.
[in,out] | a_lhs | On output, contains sqrt(a_lhs) |
|
static |
Compute the square root of the input data.
[in,out] | a_lhs | On output, contains sqrt(a_lhs) |
|
static |
Take the square root of the input data.
[in,out] | a_data | Input data |
|
static |
Take the square root of the input data.
[in,out] | a_data | Input data |
|
static |
Compute the sum of the input value.
[in,out] | a_value | On output, contains the sum of a_value over all MPI processes. |
|
static |
Compute the vector length of a data holder. Sets a_lhs = |a_rhs| where a_rhs contains SpaceDim components.
[out] | a_lhs | Vector length |
[in] | a_rhs | Input vector |
|
static |
Compute the vector length of a data holder. Sets a_lhs = |a_rhs| where a_rhs contains SpaceDim components.
[out] | a_lhs | Vector length. |
[in] | a_rhs | Input vector. |
[in] | a_box | Computation box. |
|
static |
Compute the vector length of a data holder. Sets a_lhs = |a_rhs| where a_rhs contains SpaceDim components.
[out] | a_lhs | Vector length |
[in] | a_rhs | Input vector |
|
static |
Compute the squared vector length of a data holder. Sets a_lhs = |a_rhs|^2 where a_rhs contains SpaceDim components.
[out] | a_lhs | Vector length |
[in] | a_rhs | Input vector |
|
static |
Compute the squared vector length of a data holder. Sets a_lhs = |a_rhs|^2 where a_rhs contains SpaceDim components.
[out] | a_lhs | Vector length |
[in] | a_rhs | Input vector |
|
static |
Compute the squared vector length of a data holder. Sets a_lhs = |a_rhs|^2 where a_rhs contains SpaceDim components.
[out] | a_lhs | Vector length |
[in] | a_rhs | Input vector |
|
static |
Scale data by dx^SpaceDim.
[in,out] | a_data | Data to be scaled. On output we have a_data = dx^SpaceDim * a_data |