Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • lbmpy lbmpy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pycodegen
  • lbmpylbmpy
  • Merge requests
  • !100

Adaption to new API

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Markus Holzer requested to merge holzer/lbmpy:Fixes into master Oct 18, 2021
  • Overview 15
  • Commits 35
  • Pipelines 24
  • Changes 117

With this MR, all test cases etc should be adapted to the new API. Since all test cases are touched anyway some adaptions are made additionally. The vast majority is just formatting and removing for loops over parameter sets completely to replace it with the pytest functionality. A larger change is the removal of the serial scenarios since these used the LBM module of waLBerlas python coupling. However, this module is removed for almost a year now.

Furthermore, the broken elementwise multiplication from SymPy is removed (https://github.com/sympy/sympy/issues/22353).

Further changes:

  • It is not simple to build entropic collision operators when forces are involved. A long and clear error message has been added if such a case occurs
  • Default moment sets have been moved to their own file as they only pollute the creation functions
  • Addition of better documentation for the LBMConfig and LBMOptimisation Classes
  • Addition of the _get_relaxation_info_dict function which defines how relaxation rates are set for all methods.
  • Dokumentation for the Enum classes
  • Filter warnings for third party warnings
  • Fixing of the maximum supported SymPy version to 1.9
Edited Oct 26, 2021 by Markus Holzer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: Fixes