1 |
module atypes |
2 |
use atype_typedefs, ONLY: generic_item => atype, & |
3 |
generic_identPtrList => identPtrList |
4 |
implicit none |
5 |
contains |
6 |
private generic_item |
7 |
private generic_identPtrList |
8 |
include 'generic_list_functions.i90' |
9 |
end module atypes |
10 |
|
11 |
!! Takes proceedures from various atype modules and recombines them into an |
12 |
!! common interface. |
13 |
module generic_lists |
14 |
use atypes, ONLY: add_atype => add_item, & |
15 |
find_atype => find_item, & |
16 |
create_atype_identPtrlst => create_identPtrList, & |
17 |
get_atypeLstLen => getListLen, print_atypeList => print_list |
18 |
|
19 |
use atype_typedefs |
20 |
implicit none |
21 |
PRIVATE |
22 |
|
23 |
public :: add_item |
24 |
public :: find_item |
25 |
public :: create_identPtrlst |
26 |
public :: getListLen |
27 |
public :: print_list |
28 |
public :: lj_atype |
29 |
public :: ssd_atype |
30 |
|
31 |
interface add_item |
32 |
module procedure add_atype |
33 |
end interface add_atype |
34 |
|
35 |
interface find_item |
36 |
module procedure find_atype |
37 |
end interface |
38 |
|
39 |
|
40 |
interface create_identPtrlst |
41 |
module procedure create_atype_identPtrlst |
42 |
end interface |
43 |
|
44 |
interface getListLen |
45 |
module procedure get_atypeLstLen |
46 |
end interface |
47 |
|
48 |
interface print_list |
49 |
module procedure print_atypeList |
50 |
end interface |
51 |
|
52 |
end module generic_lists |