Skip to content

Polycrystal generation breaks molecular integrity for H₂O systems #11

Description

@lnnbig

I am attempting to construct polycrystalline ice using the --polycrystal command. In this system, H₂O is treated as a molecular unit with fixed geometry and a strict 2:1 H:O stoichiometry. Therefore, the molecular integrity of each water molecule must be preserved during structure generation.

However, during polycrystal construction, mdapy performs Voronoi tessellation and cuts grains accordingly while treating atoms as independent particles. As a consequence, grain-boundary formation can slice through molecules, leaving isolated oxygen or hydrogen atoms at grain boundaries.

Is there a recommended workflow in mdapy to construct polycrystalline systems composed of molecules (such as H₂O) while preserving molecular integrity?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions