11 #ifndef _LEVELMAPPEDDERIVATIVES_H_ 12 #define _LEVELMAPPEDDERIVATIVES_H_ 14 #include "LevelData.H" 15 #include "FArrayBox.H" 22 #include "NamespaceHeader.H" 44 {
return componentDir*SpaceDim + derivDir;}
59 const LevelData<FArrayBox>& a_ccData,
61 const Interval& a_comps,
62 const Interval& a_derivDirections,
63 const IntVect& a_derivGhost = IntVect::Zero,
64 const bool a_maskOneSide =
false);
69 const LevelData<FArrayBox>& a_ccData,
71 const Interval& a_comps,
72 const Interval& a_derivDirections,
73 const IntVect& a_derivGhost = IntVect::Zero);
100 const LevelData<FArrayBox>& a_ccData,
101 const LevelData<FArrayBox>& a_ccDeriv,
103 const Interval& a_comps,
104 const Interval& a_derivDirections,
105 const IntVect& a_ghostVect = IntVect::Zero);
108 #include "NamespaceFooter.H" void computeFCDerivatives(LevelData< FluxBox > &a_fcDeriv, const LevelData< FArrayBox > &a_ccData, const LevelSigmaCS &a_coordSys, const Interval &a_comps, const Interval &a_derivDirections, const IntVect &a_derivGhost=IntVect::Zero)
compute face-centered derivatives of cell-centered data on all faces
Definition: LevelMappedDerivatives.cpp:106
void computeCCDerivatives(LevelData< FArrayBox > &a_ccDeriv, const LevelData< FArrayBox > &a_ccData, const LevelSigmaCS &a_coordSys, const Interval &a_comps, const Interval &a_derivDirections, const IntVect &a_derivGhost=IntVect::Zero, const bool a_maskOneSide=false)
compute cell-centered derivatives
Definition: LevelMappedDerivatives.cpp:41
Basic Sigma fourth-order coordinate system on an AMR level.
Definition: LevelSigmaCS.H:48
int derivComponent(int derivDir, int componentDir)
convenient component lookup – componentDir*SpaceDim + derivDir
Definition: LevelMappedDerivatives.H:43