|
1 | 1 | module pcmsolver |
2 | | - |
| 2 | + |
3 | 3 | use, intrinsic :: iso_c_binding |
4 | 4 |
|
5 | 5 | implicit none |
@@ -55,12 +55,12 @@ module pcmsolver |
55 | 55 | interface pcmsolver_new |
56 | 56 | function pcmsolver_new(input_reading, nr_nuclei, charges, coordinates, symmetry_info, host_input) result(context) bind(C) |
57 | 57 | import |
58 | | - integer(c_int), value :: input_reading |
59 | | - integer(c_int), value :: nr_nuclei |
60 | | - real(c_double), intent(in) :: charges(*) |
61 | | - real(c_double), intent(in) :: coordinates(*) |
62 | | - integer(c_int), intent(in) :: symmetry_info(*) |
63 | | - type(PCMInput), intent(in) :: host_input |
| 58 | + integer(c_int), intent(in), value :: input_reading |
| 59 | + integer(c_int), intent(in), value :: nr_nuclei |
| 60 | + real(c_double), intent(in) :: charges(*) |
| 61 | + real(c_double), intent(in) :: coordinates(*) |
| 62 | + integer(c_int), intent(in) :: symmetry_info(*) |
| 63 | + type(PCMInput), intent(in), value :: host_input |
64 | 64 | type(c_ptr) :: context |
65 | 65 | end function pcmsolver_new |
66 | 66 | end interface pcmsolver_new |
@@ -145,7 +145,7 @@ function pcmsolver_compute_polarization_energy(context, mep_name, asc_name) resu |
145 | 145 | real(c_double) :: energy |
146 | 146 | end function pcmsolver_compute_polarization_energy |
147 | 147 | end interface pcmsolver_compute_polarization_energy |
148 | | - |
| 148 | + |
149 | 149 | interface pcmsolver_get_surface_function |
150 | 150 | subroutine pcmsolver_get_surface_function(context, f_size, values, name) bind(C) |
151 | 151 | import |
|
0 commit comments