TABLE OF CONTENTS
- 1. /particlePointerListDefinition
/particlePointerListDefinition [ Modules ]
This module defines all necesary types for storing pointers to particles. This includes lists of particles and lists to lists and ... ;)
Routines to handle these type are defined elsewhere.
particlePointerListDefinition/tParticleListNode [ Types ]
- pointer to type(particle)
- pointer to (next) tParticleListNode
type tParticleListNode sequence type(particle) , POINTER :: V => null() type(tParticleListNode), POINTER :: next => null() end type tParticleListNode
particlePointerListDefinition/tParticleList [ Types ]
Store some elements of a (single linked) list of particles.
Keeping the number of entries in a seperate value is not really necessary for managing the list, but is included in aspect of the usage of this type: e.g. one maybe wants to remove the fifth entry out of nine, while the value "5" was choosen by a random generator.
type tParticleList sequence type(tParticleListNode), POINTER :: first => null() type(tParticleListNode), POINTER :: last => null() integer :: nEntries = 0 end type tParticleList