Skip to content

Extend Implementation of Unwrap #2264

@NinadBhat

Description

@NinadBhat

The current implementation of Group.unwrap(PR #2189) works for bonded structures.
This method should also work for molecules which are part of the same group, e.g., DNA molecules.

Proposed Solution

  • Add keyword reference_point
  • Unwrap molecules such that they are closest to the reference_point

Questions to answered before implementation

  • Is there a more efficient method for unwrapping?
  • Which test cases will be used?

[EDIT]

Current method
I am writing method which shifts a molecule to its periodic image which is closest to the reference point.
So the working will be as follows:
For each molecule in a group

  • make_whole will unwrap the molecule
  • chose_periodic_image will translate the molecule to the periodic image which is closest to the reference point

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions