2 |
|
|
3 |
|
module atype_typedefs |
4 |
|
use definitions, only: dp |
5 |
+ |
use vector_class |
6 |
|
implicit none |
7 |
|
|
7 |
– |
type :: atype |
8 |
|
|
9 |
– |
integer :: atype_ident |
10 |
– |
integer :: atom_number |
9 |
|
|
10 |
< |
logical :: is_LJ = .false. |
13 |
< |
logical :: is_DP = .false. |
14 |
< |
logical :: is_Sticky = .false. |
15 |
< |
logical :: is_GB = .false. |
16 |
< |
logical :: is_eam = .false. |
17 |
< |
|
18 |
< |
!! Lennard-Jones epslon |
19 |
< |
real ( kind = dp ) :: lj_epsilon = 0.0_dp |
20 |
< |
!! Lennard-Jones Sigma |
21 |
< |
real ( kind = dp ) :: lj_sigma = 0.0_dp |
10 |
> |
type (vector), pointer :: atype => null() |
11 |
|
|
23 |
– |
!! Dipole |
24 |
– |
real ( kind = dp ) :: dipoleMoment = 0.0_dp |
25 |
– |
!! Sticky Potenial |
26 |
– |
real ( kind = dp ) :: sticky_w0 = 0.0_dp |
27 |
– |
real ( kind = dp ) :: sticky_v0 = 0.0_dp |
28 |
– |
!! Gay-Berne |
29 |
– |
real ( kind = dp) :: gb_sigma = 0.0_dp |
30 |
– |
real ( kind = dp) :: gb_l2b_ratio = 0.0_dp |
31 |
– |
real ( kind = dp) :: gb_eps = 0.0_dp |
32 |
– |
real ( kind = dp) :: gb_eps_ratio = 0.0_dp |
33 |
– |
real ( kind = dp) :: gb_mu = 0.0_dp |
34 |
– |
real ( kind = dp) :: gb_nu = 0.0_dp |
35 |
– |
|
36 |
– |
! |
37 |
– |
|
38 |
– |
!! Pointer for linked list creation |
39 |
– |
type (atype), pointer :: next => null() |
40 |
– |
type (atype), pointer :: prev => null() |
41 |
– |
end type atype |
42 |
– |
|
43 |
– |
type :: identPtrList |
44 |
– |
type(atype), pointer :: this => null() |
45 |
– |
end type identPtrList |
46 |
– |
|
47 |
– |
|
12 |
|
end module atype_typedefs |