Skip to content

Commit

Permalink
Fixed rotational symmetries for ND2H and NH2D
Browse files Browse the repository at this point in the history
  • Loading branch information
Trovemaster committed Oct 1, 2023
1 parent fb25db8 commit 2eb2a89
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions mol_xy3.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3259,21 +3259,21 @@ subroutine ML_rotsymmetry_XY3(J,K,tau,gamma,ideg)
!
! for the planer configuration, x is along the symmetry axis, z is in the plane and y is orhogonal to the plane
!
if (mod(K+2,2)==0.and.tau==0) gamma = 1 !; return
if (mod(K+2,2)==0.and.tau==1) gamma = 2 !; return
if (mod(K+2,2)/=0.and.tau==0) gamma = 3 !; return
if (mod(K+2,2)/=0.and.tau==1) gamma = 4 !; return
if (mod(K+2,2)==0.and.tau==0) gamma = 1 !; 1;1
if (mod(K+2,2)==0.and.tau==1) gamma = 3 !; 2;2
if (mod(K+2,2)/=0.and.tau==0) gamma = 4 !; 3;4
if (mod(K+2,2)/=0.and.tau==1) gamma = 2 !; 4;3
!
case('R1-X-R2-Y-Z')
!
! for the planer configuration, x is along the symmetry axis, y is in the plane and y is orhogonal to the plane
!
gamma = 0
ideg = 1
if (mod(K+2,2)==0.and.tau==0) gamma = 1 !; return
if (mod(K+2,2)==0.and.tau==1) gamma = 2 !; return
if (mod(K+2,2)/=0.and.tau==0) gamma = 3 !; return
if (mod(K+2,2)/=0.and.tau==1) gamma = 4 !; return
if (mod(K+2,2)==0.and.tau==0) gamma = 1 !; 1;1;1;1;1
if (mod(K+2,2)==0.and.tau==1) gamma = 4 !; 2;2;3;3;4
if (mod(K+2,2)/=0.and.tau==0) gamma = 3 !; 3;4;4;2;2
if (mod(K+2,2)/=0.and.tau==1) gamma = 2 !; 4;3;2;4;3
!
case('R1-Z-R2-X-Y')
!
Expand Down

0 comments on commit 2eb2a89

Please sign in to comment.