pystencils merge requestshttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests2020-09-29T12:03:30+02:00https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/170Make work on SymPy 1.7: sympy.printing.ccode -> sympy.printing.cxx2020-09-29T12:03:30+02:00Stephan SeitzMake work on SymPy 1.7: sympy.printing.ccode -> sympy.printing.cxxThere's also sympy.printing.c but we are always compiling as C++.
sympy-master failed before this fix.There's also sympy.printing.c but we are always compiling as C++.
sympy-master failed before this fix.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/169Fix: Replaced accidental `continue` by `break` in boundaries/createindexlist.py2020-10-07T10:54:06+02:00Frederik HennigFix: Replaced accidental `continue` by `break` in boundaries/createindexlist.pyThere was a `continue` instead of a `break` statement in the python code for index list creation, causing the `single_link` flag to be ignored. The test cases for this are updated in pycodegen/lbmpy!41.There was a `continue` instead of a `break` statement in the python code for index list creation, causing the `single_link` flag to be ignored. The test cases for this are updated in pycodegen/lbmpy!41.https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/168Extend testsuite2020-08-10T14:48:46+02:00Markus HolzerExtend testsuiteExtension of test cases and minor Bug fixesExtension of test cases and minor Bug fixesJan HönigJan Hönighttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/167Update conftest and readme2020-08-10T11:21:50+02:00Markus HolzerUpdate conftest and readmeDue to the update of the python environment, the conftest is updated to the new pytest version. Further, pages are hosted now on a new URL which is adapted in the readme.Due to the update of the python environment, the conftest is updated to the new pytest version. Further, pages are hosted now on a new URL which is adapted in the readme.Jan HönigJan Hönighttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/166Fix #23: Make Field.Access NotIterable2020-12-08T09:15:02+01:00Stephan SeitzFix #23: Make Field.Access NotIterableWhy?
Sympy does not try to iterate when the object is `NotIterable`. If it has `__iter__` but iter throws it will only sometimes think its not iterable.Why?
Sympy does not try to iterate when the object is `NotIterable`. If it has `__iter__` but iter throws it will only sometimes think its not iterable.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/165Enable osaca usage2020-07-14T19:54:52+02:00Markus HolzerEnable osaca usageThis MR updates the kerncraft interface to the new kerncraft version. Furthermore, IACA is not used as Architecture Code Analyzer anymore due to not being developed anymore. Instead, OSACA is enabled as Open-source Architecture Code Anal...This MR updates the kerncraft interface to the new kerncraft version. Furthermore, IACA is not used as Architecture Code Analyzer anymore due to not being developed anymore. Instead, OSACA is enabled as Open-source Architecture Code Analyzer.Jan HönigJan Hönighttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/164Throw an error when performing GPU operations with SerialDataHandling when py...2020-07-09T15:41:24+02:00Stephan SeitzThrow an error when performing GPU operations with SerialDataHandling when pycuda is not availableMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/163Volume-of-Fluid: better tests and make it actually work2020-07-10T21:18:57+02:00Michael Kuronmkuron@icp.uni-stuttgart.deVolume-of-Fluid: better tests and make it actually workThe scheme corresponds to calculating the overlap volume of a cell shifted by the flow velocity with its neighbor cell. The new test does that explicitly, but generates convoluted expressions which should not be used directly because the...The scheme corresponds to calculating the overlap volume of a cell shifted by the flow velocity with its neighbor cell. The new test does that explicitly, but generates convoluted expressions which should not be used directly because they are so slow to evaluate. Thanks to this test, an incorrect sign in the implementation was found and fixed, as well as improper scaling of the fluxes.
@alexander.reinauer, this could be important to you because you are the only other person using volume-of-fluid advection.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/162Recursively convert dictionary in DotDict2020-07-10T16:56:17+02:00Stephan SeitzRecursively convert dictionary in DotDictEverybody love `DotDict` because we are lazy. This PR recursively converts all dict into `DotDict` not only top level.
So you can do:
my_super.nested.data.scheme = 42Everybody love `DotDict` because we are lazy. This PR recursively converts all dict into `DotDict` not only top level.
So you can do:
my_super.nested.data.scheme = 42https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/161No cuda required for linting pystencils2020-07-10T16:55:16+02:00Stephan SeitzNo cuda required for linting pystencilshttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/160Skip 01_tutorial_getting_started if graphviz is not installed2020-07-09T15:29:03+02:00Stephan SeitzSkip 01_tutorial_getting_started if graphviz is not installedCell 19 of Tutorial 1 requires graphviz. Skip if not installed.
Alternative would be to execute this only if graphviz is installed.Cell 19 of Tutorial 1 requires graphviz. Skip if not installed.
Alternative would be to execute this only if graphviz is installed.https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/159Fix: Wrong fString in Cuda Backend2020-06-22T15:52:09+02:00Markus HolzerFix: Wrong fString in Cuda BackendDue to changing the string formating in pystencils, an error occurred in the CUDA backend, which is fixed by changing back to the classical string formating.
Furthermore, I added a compile instruction to `test_fast_approximation` to cat...Due to changing the string formating in pystencils, an error occurred in the CUDA backend, which is fixed by changing back to the classical string formating.
Furthermore, I added a compile instruction to `test_fast_approximation` to catch the error in the test cases, which was thrown at compile time in the `pygrandchem` module.Jan HönigJan Hönighttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/158Adapted test cases to Sympy Version 1.62020-06-19T18:24:36+02:00Markus HolzerAdapted test cases to Sympy Version 1.6Due to Sympy Version 1.6 the sp.Abs function in the test_interpolation test cases could not be identified as integer anymore. This is now fixed by not checking the type of sp.Abs anymore but by checking its argument.
Furthermore depr...Due to Sympy Version 1.6 the sp.Abs function in the test_interpolation test cases could not be identified as integer anymore. This is now fixed by not checking the type of sp.Abs anymore but by checking its argument.
Furthermore depreciation warning fixes of pandas and pycuda and pytest and adaption to new flake8 Version.Jan HönigJan Hönighttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/157Fix sympy 1.62020-06-15T20:56:26+02:00Markus HolzerFix sympy 1.6fixed bugs caused due to upgrading to sympy 1.6fixed bugs caused due to upgrading to sympy 1.6https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/156add_types: only re-enable double-write check if it was previously enabled2020-06-15T20:57:20+02:00Michael Kuronmkuron@icp.uni-stuttgart.deadd_types: only re-enable double-write check if it was previously enabledOtherwise you can't generate certain boundary kernels that contain conditionals.Otherwise you can't generate certain boundary kernels that contain conditionals.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/155BugFix of the fast_subs function in rng nodes.2020-05-04T10:36:55+02:00Markus HolzerBugFix of the fast_subs function in rng nodes.https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/154Fix importing boundaryhandling if waLBerla module is available but without cp...2020-06-03T08:58:06+02:00Michael Kuronmkuron@icp.uni-stuttgart.deFix importing boundaryhandling if waLBerla module is available but without cpp_availableStephan SeitzStephan Seitzhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/153Add graphviz to interactive (it's require in first tutorial)2020-06-03T09:07:23+02:00Stephan SeitzAdd graphviz to interactive (it's require in first tutorial)https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/152Skip llvm tests if llvmlite is not installed2020-06-03T09:18:40+02:00Stephan SeitzSkip llvm tests if llvmlite is not installedhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/151Use dark mode for code preview if user prefers `prefers-color-scheme: dark`2020-04-23T07:59:41+02:00Stephan SeitzUse dark mode for code preview if user prefers `prefers-color-scheme: dark`pystencils currently does not look good in dark mode :/pystencils currently does not look good in dark mode :/