Chombo + EB + MF
3.2
|
Class to encapsulate Gradient functions (both CC and face-centered) More...
#include <SingleLevelGradient.H>
Static Public Member Functions | |
static void | levelGradientCC (LevelData< FArrayBox > &a_grad, const LevelData< FArrayBox > &a_phi, const Real a_dx) |
computes cell-centered, level-operator gradient of cell-centered phi More... | |
static void | compGradientCC (LevelData< FArrayBox > &a_Grad, const LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > *a_phiFinePtr, const Real a_dx, const int a_nRefFine, const ProblemDomain &a_dProblem) |
computes cell-centered composite gradient of cell-centered phi More... | |
static void | levelGradientMAC (LevelData< FluxBox > &a_edgeGrad, const LevelData< FArrayBox > &a_phi, const Real a_dx) |
computes edge-centered level-operator gradient of cell-centered phi More... | |
Class to encapsulate Gradient functions (both CC and face-centered)
(DFM-10/17/08) – note that this version has been gutted to only have the most basic single-level Gradient because AMRTools doesn't compile in 4D yet
|
static |
computes cell-centered, level-operator gradient of cell-centered phi
in this case, assume that all relevant BC's (coarse-fine and physical) have already been set, so phi can be a const variable
|
static |
computes cell-centered composite gradient of cell-centered phi
this one assumes that all ghost-cell values have already been set; if phiFinePtr != NULL, then also uses one-sided differencing to compute gradient on coarse side of corarse-fine interface. note that gradient is only really defined in valid regions of grids.
|
static |
computes edge-centered level-operator gradient of cell-centered phi
assumes ALL ghost cell values have been preset (so phi can be const)