pystencils merge requestshttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests2021-02-18T14:05:01+01:00https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/213Fix clear cache on startup2021-02-18T14:05:01+01:00Stephan SeitzFix clear cache on startupDue two weird circular dependencies `clear_cache` will not be
available at this point. Inlining this function will make
the config key `cache.clear_cache_on_start: true` work again.Due two weird circular dependencies `clear_cache` will not be
available at this point. Inlining this function will make
the config key `cache.clear_cache_on_start: true` work again.https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/212vectorization: improve treatment of unary minus2021-02-19T16:41:53+01:00Michael Kuronmkuron@icp.uni-stuttgart.devectorization: improve treatment of unary minusChanges in !48 caused test failures in https://i10git.cs.fau.de/pycodegen/lbmpy/-/jobs/534348.
Also add a test for vectorized unary minus and `sp.Abs`, suppress a warning with older versions of randomgen and make double-precision vector...Changes in !48 caused test failures in https://i10git.cs.fau.de/pycodegen/lbmpy/-/jobs/534348.
Also add a test for vectorized unary minus and `sp.Abs`, suppress a warning with older versions of randomgen and make double-precision vector RNG accurate on Clang in fast-math mode.
The errors in test_resting_fluid and test_point_force are fixed by https://i10git.cs.fau.de/pycodegen/lbmpy/-/merge_requests/63. The error in test_phi_staggered_equivalence_on_random is fixed by https://i10git.cs.fau.de/pycodegen/pygrandchem/-/merge_requests/4.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/211Fix logic error in RNG test2021-02-11T16:19:54+01:00Michael Kuronmkuron@icp.uni-stuttgart.deFix logic error in RNG testMinor oversight in !48Minor oversight in !48Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/209Enable all test cases in windows pipeline2021-02-18T16:54:12+01:00Markus HolzerEnable all test cases in windows pipelineThis MR enables all test cases (except for notebooks and longruns) for the windows pipeline.This MR enables all test cases (except for notebooks and longruns) for the windows pipeline.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/208Bump minimum SymPy version and add Python 3.9 to CI2021-02-04T17:14:07+01:00Markus HolzerBump minimum SymPy version and add Python 3.9 to CIMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/207add_subexpressions_for_constants and new_filtered fix2021-01-29T15:42:40+01:00Frederik Hennigadd_subexpressions_for_constants and new_filtered fixTwo small patches:
- Added a function `add_subexpressions_for_constants` to `pystencils.simp`. This function extracts numerical constants like `2` or `1/3` from equations. This is helpful because SymPy does not exclude common factors fr...Two small patches:
- Added a function `add_subexpressions_for_constants` to `pystencils.simp`. This function extracts numerical constants like `2` or `1/3` from equations. This is helpful because SymPy does not exclude common factors from sums if they are not symbols. Excluding them this way can reduce the number of multiplications. In some cases, additional common subexpressions can also be found.
- Changed `AssignmentCollection.new_filtered` to use `self.copy` to preserve other members of the assignment collection.https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/206Fix junit report upload to Gitlab2021-01-25T18:29:21+01:00Michael Kuronmkuron@icp.uni-stuttgart.deFix junit report upload to GitlabError in !205Error in !205Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/205Display pytest results in Gitlab2021-01-25T22:32:37+01:00Michael Kuronmkuron@icp.uni-stuttgart.deDisplay pytest results in GitlabAs per https://docs.gitlab.com/ee/ci/unit_test_reports.html#python-example and https://docs.gitlab.com/ee/user/project/merge_requests/test_coverage_visualization.html#python-exampleAs per https://docs.gitlab.com/ee/ci/unit_test_reports.html#python-example and https://docs.gitlab.com/ee/user/project/merge_requests/test_coverage_visualization.html#python-exampleMarkus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/204int64_t prevents warnings when comparing loop variable to arguments which are...2021-03-18T16:58:59+01:00Dominik Thoennesdominik.thoennes@fau.deint64_t prevents warnings when comparing loop variable to arguments which are int64_t by defaultThe default type for integers as arguments is `int64_t`
This change prevents warnings when comparing arguments with loop variables which are currently `int`The default type for integers as arguments is `int64_t`
This change prevents warnings when comparing arguments with loop variables which are currently `int`https://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/203Extended Test suit2021-01-11T20:14:49+01:00Markus HolzerExtended Test suitThis MR extends the test cases of pystencils and adds some minor fixesThis MR extends the test cases of pystencils and adds some minor fixesMichael Kuronmkuron@icp.uni-stuttgart.deMichael Kuronmkuron@icp.uni-stuttgart.dehttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/202Build documentation two time2020-12-21T11:41:12+01:00Markus HolzerBuild documentation two timehttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/201Fixed build doc2020-12-21T11:37:55+01:00Markus HolzerFixed build docDue to an update of `sphinxcontrib-bibtex` a .bib file must be specified for the documentation to work.Due to an update of `sphinxcontrib-bibtex` a .bib file must be specified for the documentation to work.Michael Kuronmkuron@icp.uni-stuttgart.deMichael Kuronmkuron@icp.uni-stuttgart.dehttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/200Fixes for Vector Testcase to Work2020-12-19T09:01:17+01:00Julian HammerFixes for Vector Testcase to Work* passing on non-default Kerncraft parameters
* gracefully failing on VectorType usage in AST* passing on non-default Kerncraft parameters
* gracefully failing on VectorType usage in ASThttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/199Update parallel datahandling2020-12-21T11:37:06+01:00Markus HolzerUpdate parallel datahandlingThis MR should provide some very minor changes when the new Python Coupling implementation is merged in waLBerla.This MR should provide some very minor changes when the new Python Coupling implementation is merged in waLBerla.Michael Kuronmkuron@icp.uni-stuttgart.deMichael Kuronmkuron@icp.uni-stuttgart.dehttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/198Usage of custom boundary functor if given2020-12-20T16:11:13+01:00Sebastian Bindgen Usage of custom boundary functor if givenThis is needed to implement the Lees Edwards boundary conditions submitted in https://i10git.cs.fau.de/pycodegen/lbmpy/-/merge_requests/49.
Custom boundary functors can now be created by users.This is needed to implement the Lees Edwards boundary conditions submitted in https://i10git.cs.fau.de/pycodegen/lbmpy/-/merge_requests/49.
Custom boundary functors can now be created by users.Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/197Added version number to pystencils2021-01-26T08:44:01+01:00Markus HolzerAdded version number to pystencilsPystencils should have a `__version__` attributePystencils should have a `__version__` attributeMichael Kuronmkuron@icp.uni-stuttgart.deMichael Kuronmkuron@icp.uni-stuttgart.dehttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/196FIX Quicktests2020-12-08T16:53:29+01:00Markus HolzerFIX QuicktestsVectorisation test case was always set to avx which is problematic on machines not having avx.Vectorisation test case was always set to avx which is problematic on machines not having avx.Stephan SeitzStephan Seitzhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/195Allow failure2020-12-08T13:15:47+01:00Markus HolzerAllow failureThe integration pipeline should not be necessary for an MR.
The integration will be checked consequently with the pycodegen repo before releasing. For every MR it should not be necessary due to waLBerlas codegen depending on pystencils ...The integration pipeline should not be necessary for an MR.
The integration will be checked consequently with the pycodegen repo before releasing. For every MR it should not be necessary due to waLBerlas codegen depending on pystencils and not pystencils depending on waLBerla.Stephan SeitzStephan Seitzhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/194Make the RNG node behave more like a regular node2021-11-29T19:31:11+01:00Michael Kuronmkuron@icp.uni-stuttgart.deMake the RNG node behave more like a regular nodePrettier follow up to !190Prettier follow up to !190Markus HolzerMarkus Holzerhttps://i10git.cs.fau.de/pycodegen/pystencils/-/merge_requests/193Fixed duplicated kwargs in boundaryhandling2020-12-07T16:30:17+01:00Markus HolzerFixed duplicated kwargs in boundaryhandlingMichael Kuronmkuron@icp.uni-stuttgart.deMichael Kuronmkuron@icp.uni-stuttgart.de