anchor.diff:   40   continue
           read(kr,*,end=10,err=30) n,(iwink(j),j=1,ndof),
        &   (wink(j),j=1,ndof)
  -        nwinke=nwinke+1
  -        nnz=0
  +        nwinke=nwinke+ione
  +        nnz=izero
           do j=1,ndof
  -          if(iwink(j).ne.0) nnz=nnz+1
  +          if(iwink(j).ne.izero) nnz=nnz+ione
           end do
           nwink=nwink+nnz
           go to 40
  
positive.code: c
  c...  open input file
  c
        ierr=0
        nwinke=0
        nwink=0
        open(kr,file=wfile,status="old",err=10)
  c
  c... scan the file, counting the number of entries.
  
negative.code: c         0:  No error
  c         1:  Error opening input file (no exception should be raised
  c             in this case since a winkler BC file is optional)
  c         3:  Read error
  c
        include "implicit.inc"
  c
  c...  parameter definitions
  c
        include "ndimens.inc"
        include "nconsts.inc"
  c
  c...  subroutine arguments
  c
        integer nwinke,nwink,kr,ierr
        character wfile*(*),errstrng*(*)
  c
  c...  local variables
  c
  