Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with FHI-aims and cube files starting not exactly at (0,0,0) #4

Open
ondrejkrejci opened this issue Nov 24, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ondrejkrejci
Copy link
Contributor

ondrejkrejci commented Nov 24, 2022

Problem:

if in FHI-aims control.in one is having:

output cube hartree_potential

the cube starting vector is not (0,0,0):
e.g.:

CUBE FILE written by FHI-AIMS
 *****************************
  175    0.094308    0.094531    0.094486
  190    0.188616    0.000000    0.000000
  126    0.000000    0.189061    0.000000
  200    0.000000    0.000000    0.188973
...

even though the difference is only 0.05 Å - this is not ideal in terms of simulations via PPSTM_simple.py, or the GUI.py, where we are using geometry.in directly within the FHI-aims reading procedure. The shift in the cube file causes shift of the internal coordinates in the PP-AFM precalculations.

Current solution:

The only way around is to use the latest version of PP-AFM and mv geometry.in geometry-aims.in and use ASE to get new geometry.in from any of the xsf files, that PP-AFM produces.

We should find a better (and more automatized) way around it!

@ondrejkrejci
Copy link
Contributor Author

We could add a way into PPSTM_simple.py and GUI to upload the geometry from npy or xsf files directly in the FHI-aims reading procedure. There also should be some "error proof" check on the way somewhere as on can make a mistake easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant