X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fcluster%2Fwham%2Fsrc%2Fenergy_p_new.F;h=20c43f52e45330243d9b08534c08b8596e396cac;hb=549a47d7bb5ff7b75c531eec0c406ae46281e1bb;hp=636f9830c176dd5bd671053d242d3f70f7aeedf1;hpb=1d0e9dcb6fac90939a171f88b44ec03c40e7d40a;p=unres.git diff --git a/source/cluster/wham/src/energy_p_new.F b/source/cluster/wham/src/energy_p_new.F index 636f983..20c43f5 100644 --- a/source/cluster/wham/src/energy_p_new.F +++ b/source/cluster/wham/src/energy_p_new.F @@ -4509,6 +4509,12 @@ c 3 = SC...Ca...Ca...SCi cosphi=dcos(j*tauangle(intertyp,i)) sinphi=dsin(j*tauangle(intertyp,i)) esccor=esccor+v1ij*cosphi+v2ij*sinphi +<<<<<<< HEAD +======= +#ifdef DEBUG + esccor_ii=esccor_ii+v1ij*cosphi+v2ij*sinphi +#endif +>>>>>>> 3d6f9e7... Adam's changes to wham and cluster following previous commit gloci=gloci+j*(v2ij*cosphi-v1ij*sinphi) enddo gloc_sc(intertyp,i-3,icg)=gloc_sc(intertyp,i-3,icg)+wsccor*gloci