Skip to content
Snippets Groups Projects
  1. Jan 23, 2020
  2. Jan 20, 2020
  3. Jan 18, 2020
  4. Jan 16, 2020
  5. Jan 14, 2020
  6. Jan 13, 2020
    • Stephan Seitz's avatar
      Make add_arrays return fields to arrays · e5f4c74d
      Stephan Seitz authored
      e5f4c74d
    • Stephan Seitz's avatar
      Add DataHandling.add_arrays · 1b4ace3e
      Stephan Seitz authored
      This adds a function for lazy people who want to write
      
      ```python
      dh = create_data_handling((20, 30))
      dh.add_arrays('x, y(9), z')
      ```
      
      instead of
      
      ```python
      dh = create_data_handling((20, 30))
      dh.add_array('x')
      dh.add_array('y', values_per_cell=9)
      dh.add_array('z')
      ```
      
      because in most cases you want to use more than one array.
      1b4ace3e
  7. Jan 10, 2020
  8. Dec 19, 2019
  9. Dec 17, 2019
  10. Dec 06, 2019
  11. Dec 04, 2019
  12. Dec 03, 2019
  13. Nov 30, 2019
  14. Nov 29, 2019
  15. Nov 28, 2019
  16. Nov 25, 2019
  17. Nov 23, 2019
  18. Nov 22, 2019
    • Michael Kuron's avatar
      Implement new create_staggered_kernel_2 · 8a042144
      Michael Kuron authored
      It takes a list of assignments to staggered fields and otherwise behaves like create_kernel.
      The old create_staggered_kernel was not removed because all the optimizations still need to be ported over.
      8a042144
    • 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