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_pw
11 : USE kinds, ONLY: dp
12 : USE cp_array_utils, ONLY: cp_3d_r_cp_type, cp_3d_c_cp_type, cp_1d_r_cp_type, cp_1d_c_cp_type
13 : USE realspace_grid_types, ONLY: realspace_grid_type, realspace_grid_p_type
14 : #include "../base/base_uses.f90"
15 :
16 : #:mute
17 : #:set nametype1 = ['3d_r', '3d_c', '1d_r', '1d_c', 'rs']
18 : #:set type1 = ['REAL(kind=dp),dimension(:,:,:),pointer,contiguous',&
19 : 'COMPLEX(kind=dp),dimension(:,:,:),pointer,contiguous',&
20 : 'REAL(kind=dp),dimension(:),pointer,contiguous',&
21 : 'COMPLEX(kind=dp),dimension(:),pointer,contiguous',&
22 : 'type(realspace_grid_type),pointer']
23 : #:set type1in = type1
24 : #:set type1out = type1
25 :
26 : #:set eq = ['=>','=>','=>','=>','=>']
27 : #:set arrayeq = eq
28 : #:set type1arrayEl = ['type(cp_3d_r_cp_type)','type(cp_3d_c_cp_type)','type(cp_1d_r_cp_type)','type(cp_1d_c_cp_type)','type(realspace_grid_p_type)']
29 :
30 : #:set arrayEl = ['%array','%array','%array','%array','%rs_grid']
31 :
32 : #:set private_routines = ''
33 :
34 : #:set default_init = [' => NULL()', ' => NULL()', ' => NULL()', ' => NULL()', ' => NULL()']
35 :
36 : #:set common_dir = '../common'
37 : #:endmute
38 :
39 58558850 : $:inst(nametype1, type1, type1in, type1out, eq, arrayeq, type1arrayEl, arrayEl, private_routines, default_init)
40 0 : END MODULE
|