anchor.diff:  c
         include "ndimens.inc"
         include "nshape.inc"
  +      include "materials.inc"
         include "nconsts.inc"
         include "rconsts.inc"
   c
   c...  subroutine arguments
   c
         integer nstatesz,numelt,numat,ierr
  -      integer infiel(6,numelt),infmat(6,numat),infetype(4,netypes)
  +      integer infiel(6,numelt),infmat(3,numat),infmatmod(5,nmatmodmax)
  +      integer infetype(4,netypes)
         character errstrng*(*)
         double precision state(nstr,nstatesz),dstate(nstr,nstatesz)
   c
   c...  local variables
   c
  -      integer matgpt,imat,nmatel,nstate,incstate,ielg,iel,ietype
  -      integer indstate,indstateg,ngauss,l
  +      integer matgpt,imat,matmodel,nmatel,nstate,incstate,ielg,iel
  +      integer ietype,indstate,indstateg,ngauss,l
         double precision sub
   c
   cdebug      write(6,*) "Hello from update_state_f!"
  
positive.code: c...  loop over material groups
  c
        do imat=1,numat
          nmatel=infmat(2,imat)
          nstate=infmat(3,imat)
          incstate=nstr*nstate
  c
  c...  loop over elements in group, updating appropriate state variables
  
negative.code:       end
  c
  c version
  c $Id: update_state.f,v 1.2 2004/07/09 15:25:16 willic3 Exp $
  c
  c Generated automatically by Fortran77Mill on Wed May 21 14:15:03 2003
  c
  