IndexPDB.c
Inputs
PDB *pdb Pointer to the start of a PDB linked list.
Outputs
int *natom Number of atoms in the PDB linked list.
Returns
PDB **indx An array of pointers to the PDB records. NULL if unable to allocate memory.
Description
Creates an array of pointers to PDB from a linked list. This is used to allow array style access to items in the linked list: e.g. (indx[23])->x will give the x coordinate of the 23rd item
Created: 19.07.90 Last Modified: 24.02.94