NVIDIA / NVIDIA/warp

Periodic HashGrid and cylindrical grids

Open
#201 2 comments 0 reactions 1 assignee View on GitHub

@mmacklin is already working on this.

Since Apr 10, 2024.

feature request spatial acceleration
Dominant language
Python
Stars
7.1k
Forks
624
Avg merge
3d 17h
Merged PRs (30d)
5

Description

Hello, I would like to request two interrelated features for running physical simulations with Warp.

  • Periodic HashGrid:

    • Currently, it seems impossible to implement periodic boundary conditions with HashGrid in one or more dimensions.
    • I propose adding support for periodic boundary conditions to HashGrid, which would be useful for detecting collisions between particles located close to opposite boundaries.
  • HashGrid in cylindrical coordinate system:

    • While a normal grid covering the bounds of a cylindrical domain can be used, implementing periodic boundary conditions in the circular direction poses challenges.
    • Introducing a HashGrid specifically designed for cylindrical coordinate systems would simplify handling periodic boundary conditions in such scenarios.

If any of these features are already available or manageable, I would greatly appreciate any guidance on how to utilize them. Otherwise, please let me know if further clarification or assistance is required.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.