Skip to content

Handle interaction_range on a sub-module level #17

Open
@Luthaf

Description

@Luthaf

Currently, individual sub module can request neighbor lists independently, but the end user still has to explicitly merge all NL + message passing + long range options of the component of their model to define the interaction_range manually. Instead, I think a better API would be to allow individual submodule to define their own interaction range, and then the whole model interaction range is the maximal value.

This way, a SOAP calculator can define an interaction range equal to the NL cutoff, a message passing model can define it to be n_mp_layer x cutoff, and long range models can define it to be infinite. Users assembling models from building blocks would then get the correct behavior without having to look inside the building blocks.

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