poprawki w potencjalach
[unres.git] / source / unres / src_MD-M / chainbuild.F
index c4970d3..c528ea5 100644 (file)
@@ -18,7 +18,12 @@ C Set lprn=.true. for debugging
       lprn = .false.
       perbox=.false.
       fail=.false.
-       if (perbox) then
+      print *, 'enter chainbuild' 
+      call chainbuild_cart
+      return
+      end
+#ifdef DEBUG
+      if (perbox) then
       cost=dcos(theta(3))
       sint=dsin(theta(3))
       print *,'before refsys'
@@ -174,6 +179,7 @@ C
       endif
       return
       end
+#endif
 c-------------------------------------------------------------------------
       subroutine orig_frame
 C