Class for computing the required Taylor terms for doing the orthogonal extrapolation to the ghost cell position. This is used in conjuction with EBLeastSquaresMultigridInterpolator.H, and should be understood in that context only.
More...
|
|
| CoarseInterpQuadCF () noexcept |
| | Default constructor. Must subsequently call the define function.
|
| |
|
virtual | ~CoarseInterpQuadCF () noexcept |
| | Destructor.
|
| |
| virtual void | define (const DisjointBoxLayout &a_dblFine, const ProblemDomain &a_domainCoar, const DataIndex &a_dit, const Box &a_fineGhostCells, const int a_refRat, const int a_ignoreDir) noexcept |
| | Define function. Puts object in usable state.
|
| |
| virtual Real | computeFirstDeriv (const FArrayBox &a_coarPhi, const IntVect &a_ivCoar, const int a_dir, const int a_coarVar) const noexcept |
| | Compute first-derivative Taylor term in direction a_dir.
|
| |
| virtual Real | computeSecondDeriv (const FArrayBox &a_coarPhi, const IntVect &a_ivCoar, const int a_dir, const int a_coarVar) const noexcept |
| | Compute second-derivative Taylor term in direction a_dir.
|
| |
| virtual Real | computeMixedDeriv (const FArrayBox &a_coarPhi, const IntVect &a_ivCoar, const int a_coarVar) const noexcept |
| | Compute mixed-derivative Taylor term in directions orthogonal m_ignoreDir.
|
| |
| virtual DerivStencil | getFirstDerivStencil (const IntVect &a_ivCoar, const int a_dir) const noexcept |
| | Get the first derivative stencil for the input coarse vof.
|
| |
| virtual DerivStencil | getSecondDerivStencil (const IntVect &a_ivCoar, const int a_dir) const noexcept |
| | Get the second derivative stencil for the input coarse vof.
|
| |
| virtual DerivStencil | getMixedDerivStencil (const IntVect &a_ivCoar) const noexcept |
| | Get the second derivative stencil for the input coarse vof.
|
| |
|
| enum class | FirstDerivStencil : unsigned short {
Centered2
, Backward2
, Forward2
, Backward1
,
Forward1
} |
| | Simple enum for holding stencil types for the first derivative.
|
| |
| enum class | SecondDerivStencil : unsigned short { Centered2
, Backward1
, Forward1
} |
| | Simple enum for holding stencil types for the second derivative.
|
| |
| enum class | MixedDerivStencil : unsigned short { Standard
, Explicit
} |
| | Simple enum for holding stencil types for the mixed derivative.
|
| |
Class for computing the required Taylor terms for doing the orthogonal extrapolation to the ghost cell position. This is used in conjuction with EBLeastSquaresMultigridInterpolator.H, and should be understood in that context only.
This should be defined over the fine grid. It will store stencils for computing the various required terms in the Taylor series, and the user can call various functions for getting those terms. For the record, all stencils in this object assumes that dx = 1, so the user have to normalize against his/her grid resolutions later.