Hi,
I wrote a computer code that manipulates a linked list with
the following structure:
type element
integer :: nelm
integer :: typ
integer :: region
integer :: nnodes
integer,dimension(:),pointer :: neighbour
type(element),pointer :: next
end type element
What I'm looking for is a way to access a single element of the
linked list (like a vector of the structure above).
Another choice is to create a allocatable vector that increase its
dimension with each insertion I do.
Which is the easiest choice? how may I do that?
Thanks in advance and apologize my english.
Jacques.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|