checkgrad after minim with return code <> 4
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Mon, 27 Feb 2017 00:22:49 +0000 (01:22 +0100)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Mon, 27 Feb 2017 00:22:49 +0000 (01:22 +0100)
source/unres/src_MD/unres.F

index 6d9de55..5731d5a 100644 (file)
@@ -287,6 +287,7 @@ crc overlap test
 #endif
       if (outpdb) call pdbout(etot,titel(:32),ipdb)
       if (outmol2) call mol2out(etot,titel(:32))
+      if (iretcode.ne.4) call check_ecartint
       return
       end
 c---------------------------------------------------------------------------