Skip to content

Automatically add padding to FullGridCellList bounding box? #80

Open
@efaulhaber

Description

@efaulhaber

When a particle is in a boundary cell of the grid, it is not surrounded by cells, so we get an out-of-bounds exception when looking for neighbor cells. Currently, one has to manually add a padding of search_radius to the bounding box.
I think it would be better if the padding was automatically included (only when not using periodicity?) and maybe could be deactivated with padding = false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions