Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W waLBerla
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waLBerla
  • waLBerla
  • Merge requests
  • !457

HashGrids for mesapd

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christoph Rettinger requested to merge mr_hashgrids_for_mesapd into master May 26, 2021
  • Overview 21
  • Commits 8
  • Pipelines 5
  • Changes 20

This basically ports the Hash Grids functionality from the pe, where it is the default coarse-collision detection method, to mesa-pd. Doing so, some simplifications and changes were made:

  • the data structure does no longer support continuous updates. Instead, each time step requires a clear and a rebuild. This is mainly because the otherwise required call_backs for newly added particles ( generation, synchronization) are not compatible with the current design.
  • ray casting functionality was removed
  • some pointer juggling was removed in favour of std::vector
  • no distinction between fixed particles and "regular" particles is made, as this should be decided by the provided selector.
  • however, infinite particles are stored separately, in agreement with the available linked cells.
  • the threshold to switch between the naive all-against-all check and the hash grids is removed ('gridActivationThreshold')
  • the association to a certain cell inside the certain grid is now based on the particle position and the interaction radius (usually the outer sphere). Before, it was done based on the AABB and its minimum vertex position.

Doing so, some typos that have been fixed in the generated files but not in the python templates have been fixed.

A simple test is added, similar to the one for linked cells.

Edited May 27, 2021 by Christoph Rettinger
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: mr_hashgrids_for_mesapd