Skip to content
Discussion options

You must be logged in to vote

Hi @wangsl613.

Thanks for reaching out.

Design

The core idea is a simple loop:

  • eOn writes the current atomic structure to a file (from_eon_to_extpot).

  • eOn executes your script specified by ext_pot_path.

  • Your script reads the structure, performs a calculation, and writes the resulting energy and forces to a second file (from_extpot_to_eon).

  • eOn reads this file and continues its work (e.g., minimization step, dynamics, etc.).

The idea is simple and robust enough to work for NEB methods as well.

External script

File format

from_eon_to_extpot is structured as follows:

  • The first three lines are the box vectors, with x y and z components separated by spaces
xx yx zx
xy yy zy
xz yz zz

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wangsl613
Comment options

@HaoZeke
Comment options

@wangsl613
Comment options

Answer selected by HaoZeke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #228 on July 31, 2025 10:36.