-
Notifications
You must be signed in to change notification settings - Fork 150
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
-lmo prints now list of basic atoms #831
Conversation
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.
Generally, I found the output of the basicatoms a little confusing. It contains only atom indices, which is essentially a list of integers.
Do you need separate file for this, or is it enough to append this info to some existing files (e.g. xtblmoinfo)?
src/local.f90
Outdated
@@ -321,10 +321,18 @@ subroutine local(nat,at,nbf,nao,ihomo,xyz,z,focc,s,p,cmo,eig,q,etot,gbsa,basis,r | |||
call lmotype(nat,at,xyz,ecent(i,1),ecent(i,2),ecent(i,3), & | |||
& imem(1),imem(2),xcen(i),.true.,pithr,jdum) | |||
endif | |||
if(set%pr_local) write(*,'(i5,1x,a5,2f7.2,3f10.5,12(i5,a2,'':'',f6.2))') & | |||
if(set%pr_local) then | |||
write(*,'(i5,1x,a5,2f7.2,3f10.5,12(i5,a2,'':'',f6.2))') & |
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.
As I understood, your main concern was that xtb-output is hard for parsing.
what if add some spacing between corresponding characters?
write(*,'(i5,1x,a5,2f7.2,3f10.5,12(i5,a2,'':'',f6.2))') & | |
write(*,'(i5,1x,a5,2f7.2,3f10.5,12(i5,2x,a2,'':'',f6.2))') & |
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.
Good suggestion, I have changed the output and removed the extra file.
Signed-off-by: albert <[email protected]>
Signed-off-by: gorges <[email protected]> Signed-off-by: albert <[email protected]>
changed formatting of -lmo calculation output for better parsing
* changed formatting of -lmo calculation output for better parsing Signed-off-by: gorges <[email protected]> Signed-off-by: albert <[email protected]> --------- Signed-off-by: albert <[email protected]> Signed-off-by: gorges <[email protected]> Co-authored-by: albert <[email protected]>
The "basicatoms" list can be better parsed than the default printout and can be used in workflows, where basic reaction sides are important.