X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_CSA%2Freadrtns_csa.F;h=e88a67e3d3a0130b39386cf834e020398eb6d086;hb=325eda160c9ad2982501e091ca40606a29043712;hp=17b2165cfa18c1d89b2ba66fdb4ff93790fac0ff;hpb=e8f3b0ef0006bd88c51211fa78c0bf2ef3fdee9e;p=unres.git diff --git a/source/unres/src_CSA/readrtns_csa.F b/source/unres/src_CSA/readrtns_csa.F index 17b2165..e88a67e 100644 --- a/source/unres/src_CSA/readrtns_csa.F +++ b/source/unres/src_CSA/readrtns_csa.F @@ -73,7 +73,7 @@ c include 'COMMON.THREAD' include 'COMMON.MCM' c include 'COMMON.MAP' include 'COMMON.HEADER' -c include 'COMMON.CSA' + include 'COMMON.CSA' include 'COMMON.CHAIN' c include 'COMMON.MUCA' c include 'COMMON.MD' @@ -455,6 +455,9 @@ c print *,'Finished reading pdb data' call contact(.false.,ncont_ref,icont_ref,co) if (sideadd) then +C Following 2 lines for diagnostics; comment out if not needed + write (iout,*) "Before sideadd" + call intout if(me.eq.king.or..not.out1file) & write(iout,*)'Adding sidechains' maxsi=1000 @@ -472,6 +475,11 @@ c call gen_side(iti,theta(i+1),alph(i),omeg(i),fail) endif enddo endif +C 10/03/12 Adam: Recalculate coordinates with new side chain positions + call chainbuild +C Following 2 lines for diagnostics; comment out if not needed + write (iout,*) "After sideadd" + call intout endif if (indpdb.eq.0) then @@ -800,9 +808,6 @@ c call gen_rand_conf(itmp,*31) endif C Generate distance constraints, if the PDB structure is to be regularized. - if (nthread.gt.0) then - call read_threadbase - endif call setup_var if (me.eq.king .or. .not. out1file) & call intout