Skip to content

Allow getNeighborPairs cutoff to be larger than half the box width? #119

@orionarcher

Description

@orionarcher

I am exploring small crystalline systems with both MLIPs and DFT. These systems can be quite small, less than 0.8 nm. I'd like to use OpenMM to evolve these systems with MLIPs, but because the box size must be twice the neighbor cutoff, that's not currently possible. I can't decrease the cutoff because it would be unfaithful to the MLIP and I can't increase the box size because then the systems would be too large for DFT.

My (perhaps naive) understanding is that the box size limitation is implementation choice, rather than a theoretical limit. Can the getNeighborPairs function be modified to support smaller boxes? Or are there other torch-scriptable implementations I could use that wouldn't share this limitation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions