-
Notifications
You must be signed in to change notification settings - Fork 145
Feature: Support outputting real space wave functions in Gaussian CUBE format #5140
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
Conversation
…p into pchg_wf_param
…p into pchg_wf_param
…p into pchg_wf_param
…p into pchg_wf_param
…p into pchg_wf_param
…p into pchg_wf_param
…p into pchg_wf_param
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this PR refactors the output of wavefunction on realspace grid, make the datastructureorganizedas a standard Gaussian cube file, correct variables names to follow the latest convention in ABACUS.
this PR changes reference values of integrated test case, other developers should be informed of it.
However, there are still ill-formed functions functions with name followed by "_1", and misleading function calls. Hope will be refactored soon.
Linked Issue
Fix #4938
What's Changed?
out_pchg,out_wfc_norm, andout_wfc_re_im. This separation makes the control flow much clearer and more intuitive.out_wfc_r=1would generate an output in an obscure and unstructured format. This PR introduces support for outputting real-space wave functions in the widely-used Gaussian CUBE format, offering greater clarity and usability. (Only support LCAO now, PW will follow later)Warnings!!!
The functionalities have not been thoroughly tested, so their correctness in certain circumstances remains uncertain. I plan to conduct further testing and address any bugs that may arise.