Skip to content

Commit

Permalink
Improve comments and documentation on FaceDivFree Interpolater. (#3422)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilet committed Jul 15, 2023
1 parent 500e5fc commit b803adb
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 161 deletions.
2 changes: 1 addition & 1 deletion Docs/sphinx_documentation/source/AmrCore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Within AMReX_Interpolater.cpp/H are the derived classes:

- :cpp:`FaceLinear`

- :cpp:`FaceDivFree`
- :cpp:`FaceDivFree`: This is more accurately a divergence-preserving interpolation on face centered data, i.e., it ensures the divergence of the fine ghost cells match the value of the divergence of the underlying coarse cell. All fine cells overlying a given coarse cell will have the same divergence, even when the coarse grid divergence is spatially varying. Note that when using this with :cpp:`FillPatch` for time sub-cycling, the coarse grid times may not match the fine grid time, in which case :cpp:`FillPatch` will create coarse values at the fine time before calling this interpolation and the result of the :cpp:`FillPatch` is *not* garanteed to preserve the original divergence.

These Interpolaters can be executed on CPU or GPU, with certain limitations:

Expand Down
Loading

0 comments on commit b803adb

Please sign in to comment.