X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fcluster%2Fwham%2Fsrc-M%2Finitialize_p.F;h=1c83869536053e611189ef1cb6acc42ff29a52a5;hb=036299742bb15ca3871e0907c6e6e3ea6fe96e0f;hp=8b01a36ea54c355e39cc50d047c265b2ffaffd0b;hpb=7006db11d703450fb82ce20cfc53f74614334362;p=unres.git diff --git a/source/cluster/wham/src-M/initialize_p.F b/source/cluster/wham/src-M/initialize_p.F index 8b01a36..1c83869 100644 --- a/source/cluster/wham/src-M/initialize_p.F +++ b/source/cluster/wham/src-M/initialize_p.F @@ -620,10 +620,10 @@ c include 'COMMON.SETUP' & " lim_dih",lim_dih #ifdef MPL call int_bounds(lim_odl,link_start_homo,link_end_homo) - call int_bounds(lim_dih-nnt+1,idihconstr_start_homo, + call int_bounds(lim_dih,idihconstr_start_homo, & idihconstr_end_homo) - idihconstr_start_homo=idihconstr_start_homo+nnt-1 - idihconstr_end_homo=idihconstr_end_homo+nnt-1 + idihconstr_start_homo=idihconstr_start_homo+nnt-1+3 + idihconstr_end_homo=idihconstr_end_homo+nnt-1+3 if (me.eq.king .or. .not. out1file) & write (iout,*) 'Processor',fg_rank,' CG group',kolor, & ' absolute rank',MyRank, @@ -634,8 +634,8 @@ c include 'COMMON.SETUP' #else link_start_homo=1 link_end_homo=lim_odl - idihconstr_start_homo=nnt - idihconstr_end_homo=lim_dih + idihconstr_start_homo=nnt+3 + idihconstr_end_homo=lim_dih+3 write (iout,*) & ' lim_odl',lim_odl,' link_start=',link_start_homo, & ' link_end',link_end_homo,' lim_dih',lim_dih,