Skip to content

How to handle multiple cutoffs in a mixed potential #37

@jrdegreeff

Description

@jrdegreeff

Our current implementation selects the maximum of all the component potential cutoffs (and then would use that for all components once we transistion to the new neighbor list interface). This seems to be a decent decision for combinations of similar potentials, but we might need to rethink this if we implement distance-based-switching mixed potentials in the future (as was suggested in #14).

get_rcutoff(mp::LinearCombinationPotential) = maximum(get_rcutoff, mp.potentials)

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