1 |
+ |
subroutine setElectrostaticSummationMethod(the_ESM) |
2 |
+ |
use electrostatic_module, ONLY : module_setESM => setElectrostaticSummationMethod |
3 |
+ |
integer,intent(inout) :: the_ESM |
4 |
+ |
call module_setESM(the_ESM) |
5 |
+ |
end subroutine setElectrostaticSummationMethod |
6 |
+ |
|
7 |
+ |
subroutine setElectrostaticCutoffRadius(the_rcut) |
8 |
+ |
use electrostatic_module, ONLY : module_setECR => setElectrostaticCutoffRadius |
9 |
+ |
real(kind=dp), intent(inout) :: the_rcut |
10 |
+ |
call module_setECR(the_rcut) |
11 |
+ |
end subroutine setElectrostaticCutoffRadius |
12 |
+ |
|
13 |
+ |
subroutine setDampedWolfAlpha(the_alpha) |
14 |
+ |
use electrostatic_module, ONLY : module_setDWA => setDampedWolfAlpha |
15 |
+ |
integer,intent(inout) :: the_alpha |
16 |
+ |
call module_setDWA(the_alpha) |
17 |
+ |
end subroutine setDampedWolfAlpha |
18 |
+ |
|
19 |
+ |
subroutine setReactionFieldDielectric(the_dielectric) |
20 |
+ |
use electrostatic_module, ONLY : module_setRFD => setReactionFieldDielectric |
21 |
+ |
integer,intent(inout) :: the_dielectric |
22 |
+ |
call module_setRFD(the_dielectric) |
23 |
+ |
end subroutine setReactionFieldDielectric |
24 |
+ |
|
25 |
|
subroutine newElectrostaticType(atp, status) |
26 |
|
|
27 |
|
use electrostatic_module, ONLY : module_newElectrostaticType => newElectrostaticType |
34 |
|
|
35 |
|
integer :: ident |
36 |
|
logical :: is_Electrostatic, is_Charge, is_Dipole |
37 |
< |
logical :: is_SplitDipole, is_Quadrupole |
37 |
> |
logical :: is_SplitDipole, is_Quadrupole, is_Tap |
38 |
|
|
39 |
|
ident = atp%ident |
40 |
|
is_Electrostatic = ((atp%is_Charge .ne. 0) .or. & |
44 |
|
is_Dipole = (atp%is_Dipole .ne. 0) |
45 |
|
is_SplitDipole = (atp%is_SplitDipole .ne. 0) |
46 |
|
is_Quadrupole = (atp%is_Quadrupole .ne. 0) |
47 |
+ |
is_Tap = (atp%is_StickyPower .ne. 0) |
48 |
|
|
49 |
|
call module_newElectrostaticType(ident, is_Charge, is_Dipole, & |
50 |
< |
is_SplitDipole, is_Quadrupole, status) |
50 |
> |
is_SplitDipole, is_Quadrupole, is_Tap, status) |
51 |
|
|
52 |
|
end subroutine newElectrostaticType |
53 |
|
|