amber-developers: call nxtsec and read(nf,fmt)

From: Ilyas Yildirim <yildirim.pas.rochester.edu>
Date: Fri, 11 Aug 2006 17:56:41 -0400 (EDT)

Dear All,

I am trying to understand some of the files in the src/sander directory. I
came up with these two subroutines which are not explicitly defined:
nxtsec and read. As an example (from rdparm.f)

   fmtin = afmt
   type = 'ATOM_NAME'
   call nxtsec(nf, 6, 0,fmtin, type, fmt, iok)
   read(nf,fmt) (ih(m04+i-1),i = 1,natom)

What is the use of these subroutines? I would guess it is to get the
parameters from the prmtop file, but could not figure out how it does it.
Can someone direct me to a source which will help me to understand it?
Thanks.

Best,

-- 
  Ilyas Yildirim
  ---------------------------------------------------------------
  - Department of Chemisty       -				-
  - University of Rochester      -				-
  - Hutchison Hall, # B10        -				-
  - Rochester, NY 14627-0216     - Ph.:(585) 275 67 66 (Office)	-
  - http://www.pas.rochester.edu/~yildirim/			-
  ---------------------------------------------------------------
Received on Sun Aug 13 2006 - 06:07:17 PDT
Custom Search