Type used to create linked list of space time function (tem_st_fun_listElem_type)
We need to point to the spacetime functions in variable declarations and therefore need to have dynamic data structure to keep all space time functions. Most likely this data structure is only filled once and never iterated through afterwards. Direct pointers to the entries of the list are maintained wherever necessary. Therefore, it should be fine to use a linked list here.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(tem_st_fun_listElem_type), | public, | pointer | :: | head | => | NULL() | Pointer to the first entry in the linked list |
type tem_st_fun_linkedList_type
!> Pointer to the first entry in the linked list
type(tem_st_fun_listElem_type), pointer :: head => NULL()
end type tem_st_fun_linkedList_type