1. 29 Nov, 2019 1 commit
    • Stephan Seitz's avatar
      Add own implementation for printing an unknown function · a1c374cc
      Stephan Seitz authored
      Using the SymPy implementation for printing a `sympy.Function` has some issues:
      
       - you cannot use `cast_func` as an argument -> SymPy prints
       `cast_func(2,float)
       - typed numbers are not typed any more -> e.g. pow(x, 0.25) instead of
       pow(x, 0.25f)
      a1c374cc
  2. 28 Nov, 2019 1 commit
  3. 27 Nov, 2019 1 commit
  4. 24 Nov, 2019 1 commit
  5. 23 Nov, 2019 1 commit
  6. 22 Nov, 2019 2 commits
    • 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
  7. 21 Nov, 2019 7 commits
  8. 20 Nov, 2019 1 commit
  9. 19 Nov, 2019 1 commit
  10. 18 Nov, 2019 2 commits
  11. 15 Nov, 2019 3 commits
  12. 14 Nov, 2019 1 commit
  13. 06 Nov, 2019 2 commits
  14. 05 Nov, 2019 1 commit
  15. 29 Oct, 2019 3 commits
  16. 28 Oct, 2019 6 commits
  17. 21 Oct, 2019 6 commits