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

Wrong symmetry assignments in TDDFT #828

Closed
dmejiar opened this issue Jul 12, 2023 · 1 comment
Closed

Wrong symmetry assignments in TDDFT #828

dmejiar opened this issue Jul 12, 2023 · 1 comment

Comments

@dmejiar
Copy link
Collaborator

dmejiar commented Jul 12, 2023

Describe the bug
The pol check

if (pol.lt.1) then
jsym=ieor(isym-1,int_mb(k_irs(pol)+occ-1)-1)+1
jsym=ieor(jsym-1,int_mb(k_irs(pol)+vir-1)-1)+1
call sym_irrepname(geom,jsym,oname)
endif ! pol check

leads to wrong symmetry assignments since pol is either 1 or 2. This leads to assigning the ground state symmetry to the first root, and the symmetry of the HOMO to all other roots.

To Reproduce
Run QA/tests/tddft_h2o/tddft_h2o.nw with current master branch

Expected behavior
Symmetry labels should be the same as in QA/tests/tddft_h2o/tddft_h2o.out

@dmejiar dmejiar changed the title Wrong symmetry assignments is TDDFT Wrong symmetry assignments in TDDFT Jul 12, 2023
@edoapra
Copy link
Collaborator

edoapra commented Aug 4, 2023

Fixed

@edoapra edoapra closed this as completed Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants