(git:6a2e663)
molecule_kind_list_types Module Reference

represent a simple array based list of the given type More...

Functions/Subroutines

subroutine, public molecule_kind_list_create (list, els_ptr, owns_els, n_els)
 creates a list More...
 
subroutine, public molecule_kind_list_retain (list)
 retains a list (see doc/ReferenceCounting.html) More...
 
subroutine, public molecule_kind_list_release (list)
 releases a list (see doc/ReferenceCounting.html) More...
 

Detailed Description

represent a simple array based list of the given type

History
08.2003 created [fawzi] 01.2017 ported to Fypp [Ole Schuett]
Author
Fawzi Mohamed

Function/Subroutine Documentation

◆ molecule_kind_list_create()

subroutine, public molecule_kind_list_types::molecule_kind_list_create ( type(molecule_kind_list_type), optional, pointer  list,
type(molecule_kind_type), dimension(:), optional, pointer  els_ptr,
logical, intent(in), optional  owns_els,
integer, intent(in), optional  n_els 
)

creates a list

Parameters
listthe list to allocate and initialize
els_ptrthe elements to store in the list (the array is only, referenced, not copied!)
owns_elsif the list takes the ownership of els_ptr and will deallocate it (defaults to true)
n_elsnumber of elements in the list (at least one els_ptr or n_els should be given)
History
08.2003 created [fawzi]
Author
Fawzi Mohamed

Definition at line 77 of file molecule_kind_list_types.F.

Here is the caller graph for this function:

◆ molecule_kind_list_retain()

subroutine, public molecule_kind_list_types::molecule_kind_list_retain ( type(molecule_kind_list_type), pointer  list)

retains a list (see doc/ReferenceCounting.html)

Parameters
listthe list to retain
History
08.2003 created [fawzi]
Author
Fawzi Mohamed

Definition at line 112 of file molecule_kind_list_types.F.

Here is the caller graph for this function:

◆ molecule_kind_list_release()

subroutine, public molecule_kind_list_types::molecule_kind_list_release ( type(molecule_kind_list_type), pointer  list)

releases a list (see doc/ReferenceCounting.html)

Parameters
listthe list to release
History
08.2003 created [fawzi]
Author
Fawzi Mohamed

Definition at line 127 of file molecule_kind_list_types.F.

Here is the call graph for this function:
Here is the caller graph for this function: