1. 23 Jan, 2020 1 commit
  2. 18 Jan, 2020 1 commit
  3. 19 Dec, 2019 1 commit
  4. 17 Dec, 2019 2 commits
    • Stephan Seitz's avatar
      Update AssignmentCollection.__repr__ · 4751e6cb
      Stephan Seitz authored
      `Assignment Collection for y[0,0,0]` is usually not very helpful.
      
      New representation:
      
      ```
      In [6]:     forward_assignments = pystencils.AssignmentCollection({
         ...:         z[0, 0]: x[0, 0] * sympy.log(x[0, 0] * y[0, 0]),
         ...:     y[0,0] : x[1,1] +1
         ...:             })
      
      In [7]: forward_assignments
      Out[7]: AssignmentCollection: z_C, y_C <- f(x_C, x_NE)
      ```
      4751e6cb
    • Stephan Seitz's avatar
      Implement __bool__ for AssignmentCollection · 212776a3
      Stephan Seitz authored
      AssignmentCollection can be used in many cases where you could also use
      a List[Assignment]. With AssignmentCollection.__bool__, an empty
      AssignmentCollection is falsy and a non-empty one truthy.
      
      So you can `assert assignments, 'must not be emtpy'`
      212776a3
  5. 18 Oct, 2019 1 commit
  6. 01 Oct, 2019 1 commit
  7. 26 Sep, 2019 1 commit
  8. 25 Sep, 2019 1 commit
  9. 23 Sep, 2019 1 commit
  10. 16 Aug, 2019 1 commit
  11. 12 Aug, 2019 1 commit
  12. 09 Aug, 2019 1 commit
  13. 08 Aug, 2019 2 commits
  14. 02 Aug, 2019 3 commits
  15. 26 Jul, 2019 1 commit
  16. 11 Jul, 2019 1 commit
  17. 03 Jul, 2019 1 commit
    • Stephan Seitz's avatar
      Make subexpressions optional for constructing an AssignmentCollection · 05119269
      Stephan Seitz authored
      When introducing new people to pystencils it's often simpler not to
      differentiate between `main_assignments` and `subexpressions` in the
      beginning.
      Also for simple kernels subexpressions are often not needed, since
      intermediate symbols can also be set in main_assignments.
      
      Subexpression should be kept for expert users.
      05119269
  18. 21 Mar, 2019 1 commit
    • Martin Bauer's avatar
      Separated modules into subfolders with own setup.py · 1e02cdc7
      Martin Bauer authored
      This restructuring allows for easier separation of modules into
      separate repositories later. Also, now pip install with repo url can be
      used.
      
      The setup.py files have also been updated to correctly reference each
      other. Module versions are not extracted from git state
      1e02cdc7
  19. 18 Feb, 2019 1 commit
  20. 20 Nov, 2018 1 commit
  21. 17 Sep, 2018 1 commit
  22. 27 Apr, 2018 2 commits
  23. 11 Apr, 2018 1 commit
  24. 10 Apr, 2018 4 commits
  25. 28 Mar, 2018 1 commit
  26. 22 Mar, 2018 1 commit
  27. 10 Oct, 2017 1 commit
  28. 16 Sep, 2017 1 commit
  29. 09 Jun, 2017 1 commit
  30. 08 Mar, 2017 1 commit
  31. 13 Feb, 2017 1 commit
    • 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
      cb05590d
  32. 09 Feb, 2017 1 commit