Line data Source code
1 : !--------------------------------------------------------------------------------------------------!
2 : ! CP2K: A general program to perform molecular dynamics simulations !
3 : ! Copyright 2000-2024 CP2K developers group <https://cp2k.org> !
4 : ! !
5 : ! SPDX-License-Identifier: GPL-2.0-or-later !
6 : !--------------------------------------------------------------------------------------------------!
7 :
8 : #:include '../common/cp_linked_list.fypp'
9 :
10 : MODULE cp_linked_list_input
11 : USE kinds, only: dp, default_string_length
12 : USE input_val_types, only: val_type, val_p_type
13 : #include "../base/base_uses.f90"
14 :
15 : #:mute
16 : #:set nametype1 = ['int', 'real', 'logical', 'char', 'val']
17 : #:set type1 = ['integer', 'REAL(kind=dp)','logical', 'character(len=default_string_length)', 'type(val_type),pointer']
18 : #:set type1in = [_ + ', intent(in)' for _ in type1]
19 : #:set type1out = [_ + ', intent(out)' for _ in type1]
20 :
21 : #:set eq = ['=', '=', '=', '=', '=>']
22 : #:set arrayeq = eq
23 : #:set type1arrayEl = ['integer', 'REAL(kind=dp)', 'logical', 'character(len=default_string_length)','type(val_p_type)']
24 : #:set arrayEl = ['', '', '', '', '%val']
25 : #:set private_routines = ''
26 : #:set default_init = [' = 0', ' = 0.0_dp', ' = .FALSE.', ' = ""', ' => NULL()']
27 : #:endmute
28 :
29 37939870 : $:inst(nametype1, type1, type1in, type1out, eq, arrayeq, type1arrayEl, arrayEl, private_routines, default_init)
30 0 : END MODULE
|