summaryrefslogtreecommitdiff
path: root/lib/packbits.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/packbits.f90
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/packbits.f90')
-rw-r--r--lib/packbits.f9021
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/packbits.f90 b/lib/packbits.f90
deleted file mode 100644
index 88851866..00000000
--- a/lib/packbits.f90
+++ /dev/null
@@ -1,21 +0,0 @@
-subroutine packbits(dbits,nsymd,m0,sym)
-
-! Pack 0s and 1s from dbits() into sym() with m0 bits per word.
-! NB: nsymd is the number of packed output words.
-
- integer sym(nsymd)
- integer*1 dbits(*)
-
- k=0
- do i=1,nsymd
- n=0
- do j=1,m0
- k=k+1
- m=dbits(k)
- n=ior(ishft(n,1),m)
- enddo
- sym(i)=n
- enddo
-
- return
-end subroutine packbits