- phi(i+1)=beta(i-2,i-1,i,i+1)
+ if (i.le.nres) phi(i+1)=beta(i-2,i-1,i,i+1)
if (itype(i).ne.10).and.(itype(i-1).ne.10) then
tauangle(3,i+1)=beta(i+nres-1,i-1,i,i+nres)
endif
if (itype(i).ne.10).and.(itype(i-1).ne.10) then
tauangle(3,i+1)=beta(i+nres-1,i-1,i,i+nres)
endif
#if defined(PARINT) && defined(MPI)
if (nfgtasks1.gt.1) then
cd write(iout,*) "iint_start",iint_start," iint_count",
#if defined(PARINT) && defined(MPI)
if (nfgtasks1.gt.1) then
cd write(iout,*) "iint_start",iint_start," iint_count",