Merge branch 'devel' into AFM
[unres.git] / source / unres / src_Eshel / icant.f
diff --git a/source/unres/src_Eshel/icant.f b/source/unres/src_Eshel/icant.f
new file mode 100644 (file)
index 0000000..5adba24
--- /dev/null
@@ -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