imax0 replaced with max0
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Tue, 22 Mar 2016 14:38:28 +0000 (15:38 +0100)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Tue, 22 Mar 2016 14:38:28 +0000 (15:38 +0100)
imax0 uses integer*2 and is not implemented in gfortran

source/unres/src_MD-M/energy_p_new_barrier.F
source/unres/src_MD/energy_p_new_barrier.F
source/unres/src_MIN/energy_p_new_barrier.F

index 2bea892..dc71297 100644 (file)
@@ -4558,7 +4558,7 @@ C
           sinkt(k)=dsin(k*theti2)
         enddo
 C        if (i.gt.3) then
-        if (i.gt.3 .and. itype(imax0(i-3,1)).ne.ntyp1) then
+        if (i.gt.3 .and. itype(max0(i-3,1)).ne.ntyp1) then
 #ifdef OSF
           phii=phi(i)
           if (phii.ne.phii) phii=150.0
index 19e3581..4bccdf3 100644 (file)
@@ -4810,7 +4810,7 @@ C
           sinkt(k)=dsin(k*theti2)
         enddo
 C        if (i.gt.3) then
-        if (i.gt.3 .and. itype(imax0(i-3,1)).ne.ntyp1) then
+        if (i.gt.3 .and. itype(max0(i-3,1)).ne.ntyp1) then
 #ifdef OSF
           phii=phi(i)
           if (phii.ne.phii) phii=150.0
index 8943726..740912a 100644 (file)
@@ -4709,7 +4709,7 @@ C
           sinkt(k)=dsin(k*theti2)
         enddo
 C        if (i.gt.3) then
-        if (i.gt.3 .and. itype(imax0(i-3,1)).ne.ntyp1) then
+        if (i.gt.3 .and. itype(max0(i-3,1)).ne.ntyp1) then
 #ifdef OSF
           phii=phi(i)
           if (phii.ne.phii) phii=150.0