X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_Eshel%2Ficant.f;fp=source%2Funres%2Fsrc_Eshel%2Ficant.f;h=5adba2404d06c0f926410e0b502ed5300aafba20;hb=d101c97dea752458d76055fdbae49c26fff03c1f;hp=0000000000000000000000000000000000000000;hpb=325eda160c9ad2982501e091ca40606a29043712;p=unres.git diff --git a/source/unres/src_Eshel/icant.f b/source/unres/src_Eshel/icant.f new file mode 100644 index 0000000..5adba24 --- /dev/null +++ b/source/unres/src_Eshel/icant.f @@ -0,0 +1,9 @@ + integer function icant(i,j) + integer i,j + if (j.ge.i) then + icant=i*(i-1)/2+j + else + icant=j*(j-1)/2+i + endif + return + end