Skip to content

Commit cdb17f6

Browse files
committed
patch POLEDIT to avoid Z-Bisect frame at aniline nitrogens
1 parent 39696e8 commit cdb17f6

File tree

4 files changed

+12
-153
lines changed

4 files changed

+12
-153
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tinker: Software Tools for Molecular Design
22

3-
<H2><I>Please note that the release of Tinker 25.1 in late February 2025 contains a number of new features, and is not fully backward compatible with prior versions of Tinker. In particular, do not use older versions of parameter files with Tinker 25.1 executables. Similarly, parameter files from Tinker 25.1 may give errors or incorrect results when used with executables from earlier "Tinker 8" versions.</I></H2>
3+
<I>Please note that the release of Tinker 25 in late February 2025 the code contains a number of new features, and is not fully backward compatible with prior versions of Tinker. In particular, do not use older versions of parameter files with current Tinker executables. Similarly, parameter files from the current Tinker may give errors or incorrect results when used with executables from earlier "Tinker 8" versions.</I>
44

55
<H2><B>Introduction</B></H2>
66

source/poledit.f

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,11 @@ subroutine setframe
322322
c assign the local frame definition for a monovalent atom
323323
c
324324
else if (j .eq. 1) then
325+
ia = i12(1,i)
325326
polaxe(i) = 'Z-Only'
326327
zaxis(i) = ia
327328
xaxis(i) = 0
328329
yaxis(i) = 0
329-
ia = i12(1,i)
330330
call frame13 (i,ia,noinvert)
331331
c
332332
c assign the local frame definition for a divalent atom
@@ -849,6 +849,8 @@ subroutine frame13 (i,ia,noinvert)
849849
logical noinvert
850850
logical monoval
851851
logical pyramid
852+
logical chkarom
853+
external chkarom
852854
c
853855
c
854856
c initialize 1-2 and 1-3 connected atoms
@@ -902,8 +904,15 @@ subroutine frame13 (i,ia,noinvert)
902904
xaxis(i) = 0
903905
yaxis(i) = 0
904906
pyramid = (abs(geometry(i,ia,ib,ic)) .lt. 135.0d0)
907+
if (ka .eq. 7) then
908+
if (chkarom(i)) pyramid = .false.
909+
if (chkarom(ia)) pyramid = .false.
910+
if (chkarom(ib)) pyramid = .false.
911+
if (chkarom(ic)) pyramid = .false.
912+
end if
913+
pyramid = (pyramid .and. noinvert)
905914
m = priority (ia,ib,ic,0)
906-
if (ka.eq.7 .and. pyramid .and. noinvert .and. monoval) then
915+
if (ka.eq.7 .and. pyramid .and. monoval) then
907916
polaxe(i) = 'Z-Bisect'
908917
xaxis(i) = ib
909918
yaxis(i) = ic

windows/cygwin/editbin.make

Lines changed: 0 additions & 75 deletions
This file was deleted.

windows/intel/editbin.make

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)