Skip to content
Snippets Groups Projects
  1. Nov 27, 2019
  2. Nov 24, 2019
  3. Nov 23, 2019
  4. Nov 22, 2019
    • Michael Kuron's avatar
      staggered_access: optionally reverse sign for access via opposite direction · a7460abb
      Michael Kuron authored
      When storing fluxes on a staggered grid, the usual sign convention is that
      fluxes point outward from the cell. Previously, we did not respect that as
      staggered_access("E") would return the same thing as staggered_access("W")
      would when called from the eastern-next cell. Now, when a field is declared
      as STAGGERED_FLUX, it returns an accessor with a prefactor of -1 in that
      case. The previous behavior where sign is not reversed is still useful when
      e.g. storing sums (e.g. mean values) instead of differenes (e.g. finite
      difference fluxes) on the staggered grid.
      a7460abb
    • Michael Kuron's avatar
      staggered_access: fix access to directions with mixed sign · 34732f61
      Michael Kuron authored
      NW (-1/2, 1/2) and the like were previously mapped to the wrong cell
      34732f61
  5. Nov 21, 2019
  6. Nov 20, 2019
  7. Nov 19, 2019
  8. Nov 18, 2019
  9. Nov 15, 2019
  10. Nov 14, 2019
  11. Nov 06, 2019
  12. Nov 05, 2019
  13. Oct 29, 2019
  14. Oct 28, 2019
  15. Oct 21, 2019