X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD%2Fmoments.f;h=5adbf21178c16d17fa6e2b949e40dc80cc0d28de;hb=f6eb5c2d70287339a62fc51fadfbce56be74c40a;hp=9388436c0af5ca9c08cd85e025505c353f425c96;hpb=1ec63117ee44a3e787d12afd971025ec11340b1f;p=unres.git diff --git a/source/unres/src_MD/moments.f b/source/unres/src_MD/moments.f index 9388436..5adbf21 100644 --- a/source/unres/src_MD/moments.f +++ b/source/unres/src_MD/moments.f @@ -42,7 +42,7 @@ c calculating the center of the mass of the protein enddo M_SC=0.0d0 do i=nnt,nct - iti=iabs(itype(i)) + iti=itype(i) M_SC=M_SC+msc(iti) inres=i+nres do j=1,3 @@ -66,7 +66,7 @@ c calculating the center of the mass of the protein enddo do i=nnt,nct - iti=iabs(itype(i)) + iti=itype(i) inres=i+nres do j=1,3 pr(j)=c(j,inres)-cm(j) @@ -97,7 +97,7 @@ c calculating the center of the mass of the protein do i=nnt,nct if (itype(i).ne.10) then - iti=iabs(itype(i)) + iti=itype(i) inres=i+nres Im(1,1)=Im(1,1)+Isc(iti)*(1-dc_norm(1,inres)* & dc_norm(1,inres))*vbld(inres)*vbld(inres) @@ -244,7 +244,7 @@ c Calculate the angular momentum incr(j)=d_t(j,0) enddo do i=nnt,nct - iti=iabs(itype(i)) + iti=itype(i) inres=i+nres do j=1,3 pr(j)=c(j,inres)-cm(j) @@ -305,7 +305,7 @@ c------------------------------------------------------------------------------ vcm(j)=vcm(j)+mp*(vv(j)+0.5d0*d_t(j,i)) enddo endif - amas=msc(iabs(itype(i))) + amas=msc(itype(i)) summas=summas+amas if (itype(i).ne.10) then do j=1,3