1. 16 Mar, 2017 1 commit
  2. 14 Mar, 2017 1 commit
    • Martin Bauer's avatar
      pystencils: fields can now contain structs · ec3faf51
      Martin Bauer authored
      - this extension is necessary for more generic boundary treatment
      - cells can now be structs, i.e. contain different data types
      - instead of having numeric index dimensions, one can use the index per cell to adress struct elements
  3. 13 Mar, 2017 2 commits
    • Martin Bauer's avatar
      pystencils: Cleaned up type system · c8b455fe
      Martin Bauer authored
      - use data type class consistently instead of strings (in TypedSymbol, Field and jit module)
      - new datatype class is based on numpy types with additional specifier information (const and restrict)
      - translation between data type class and other modules (numpy, ctypes)
    • Martin Bauer's avatar
      pystencils: periodicity · c2807e92
      Martin Bauer authored
  4. 08 Mar, 2017 1 commit
  5. 05 Mar, 2017 2 commits
    • Martin Bauer's avatar
    • Martin Bauer's avatar
      lbmpy: various small improvements · 83e87342
      Martin Bauer authored
      - getShearRelaxationRate is a free function now -> works also with cumulant methods
      - better error message when calling kernels with wrong or too few parameters
      - entropic & incompressible is not working by default due to pdf shift -> added NotImplemented exception
      - new creation function for 'raw_mrt' where all relaxation rates can be independently specified
      - enhanced entropic creation funtion, supports omega output field now
  6. 02 Mar, 2017 2 commits
  7. 01 Mar, 2017 1 commit
    • Martin Bauer's avatar
      pystencils: cpujit · dd17cd30
      Martin Bauer authored
      - windows support
      - automatic caching and creation of shared library with all generated kernels
      - restrict keyword and function prefixes are preprocessor macros now -> easier to generate one code for linux, cuda, windows
  8. 23 Feb, 2017 1 commit
  9. 21 Feb, 2017 3 commits
  10. 14 Feb, 2017 2 commits
  11. 13 Feb, 2017 3 commits
    • Michael Kuron's avatar
      Python 2.7 compatibility · cb05590d
      Michael Kuron authored and Martin Bauer's avatar Martin Bauer committed
      This commit makes the Python code backwards compatible down to Python 2.7. Previously it would only run on Python 3.5 and up.
      Problems fixed included:
      - `time.perf_counter()` doesn't exist
      - all classes need to be new-style
      - `functools.lru_cache` doesn't exist
      - only the last argument to a function call can be `*`-expanded
      - the `nonlocal` keyword doesn't exist
      - metaclasses are used with a different syntax
      - `yield from` doesn't exist
      - `tempdir.TemporaryDirectory` doesn't exist
      - iterators need a `next()` method
    • Martin Bauer's avatar
    • Martin Bauer's avatar
      pystencils: additional checks when calling kernel · 184489d0
      Martin Bauer authored
      - check that fixed size kernels are called with arrays of the correct size
      - checks that layout of compilation matches runtime layout
      - not allowed any more to mix fixed & and variable sized fields in a kernel
  12. 10 Feb, 2017 1 commit
  13. 09 Feb, 2017 18 commits
  14. 22 Dec, 2016 1 commit
  15. 16 Dec, 2016 1 commit
    • Jan Hoenig's avatar
      Added a transformation, which should get rid of sympy expressions. · 217981d6
      Jan Hoenig authored
      Although expressions have args and function as a tree, args cannot be
      modified. So tree-transformations are not possible.
      Sympy has subs function, however it replaces all matched in any
      subexpression, of the expression (i.e. not only in args but in args args
      and so on).