1 |
chuckv |
216 |
!! |
2 |
|
|
|
3 |
|
|
module TraPPE_ExFF |
4 |
|
|
use simulation |
5 |
|
|
use definitions, ONLY :: dp |
6 |
|
|
#ifdef IS_MPI |
7 |
|
|
use mpiSimulation |
8 |
|
|
#endif |
9 |
|
|
implicit none |
10 |
|
|
|
11 |
|
|
character(len=*), parameter :: thisForceName = "TraPPE_ExFF" |
12 |
|
|
|
13 |
|
|
integer, save :: n_TraPPE_ExFF_types = 0 |
14 |
|
|
|
15 |
|
|
type, public :: TraPPE_ExFF_type |
16 |
|
|
private |
17 |
|
|
sequence |
18 |
|
|
character(len=15) :: name |
19 |
|
|
real( kind = dp ) :: mass |
20 |
|
|
real( kind = dp ) :: epslon |
21 |
|
|
real( kind = dp ) :: sigma |
22 |
|
|
real :: dipole |
23 |
|
|
logical :: isDipole |
24 |
|
|
type (TraPPE_ExFF_type), pointer :: next => null() |
25 |
|
|
end type TraPPE_ExFF_type |
26 |
|
|
|
27 |
|
|
type (TraPPE_ExFF_type), & |
28 |
|
|
pointer :: TraPPE_ExFF_typelist => null() |
29 |
|
|
|
30 |
|
|
public :: new_TraPPE_ExFF |
31 |
|
|
public :: doTraPPE_ExFF |
32 |
|
|
public :: init_TraPPE_ExFF |
33 |
|
|
|
34 |
|
|
#ifdef IS_MPI |
35 |
|
|
public :: mpiTraPPE_ExFF |
36 |
|
|
#endif |
37 |
|
|
|
38 |
|
|
contains |
39 |
|
|
|
40 |
|
|
subroutine new_TraPPE_ExFF() |
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
end subroutine new_TraPPE_ExFF |
45 |
|
|
|
46 |
|
|
|
47 |
|
|
subroutine doTraPPE_ExFF() |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
end subroutine doTraPPE_ExFF |
53 |
|
|
|
54 |
|
|
end module TraPPE_ExFF |