1. 17 Jan, 2020 1 commit
    • Stephan Seitz's avatar
      Fix bug related to ParallelDataHandling · 59e3861e
      Stephan Seitz authored
      ```python
          def to_gpu(gpu_version, cpu_version):
              gpu_version = gpu_version.boundary_object_to_index_list
              cpu_version = cpu_version.boundary_object_to_index_list
      
      >       if isinstance(self.data_handling, ParallelDataHandling):
      E       TypeError: isinstance() arg 2 must be a type or tuple of types
      
      ../pystencils/pystencils/boundaries/boundaryhandling.py:102: TypeError
      ```
      
      None is not a type! ParallelDataHandling is None if `waLBerla` is not
      installed
      59e3861e
  2. 16 Jan, 2020 9 commits
  3. 15 Jan, 2020 4 commits
  4. 14 Jan, 2020 7 commits
  5. 13 Jan, 2020 2 commits
    • 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
  6. 10 Jan, 2020 17 commits