Skip to content

Commit 661e27e

Browse files
committed
adding missing implicit nones
1 parent fc42d32 commit 661e27e

39 files changed

+103
-6
lines changed

astero/private/astero_run_support.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ subroutine do_run_star_astero( &
4444
use gyre_support, only: gyre_is_enabled, init_gyre
4545
interface
4646
subroutine extras_controls(id, ierr)
47+
implicit none
4748
integer, intent(in) :: id
4849
integer, intent(out) :: ierr
4950
end subroutine extras_controls

astero/public/astero_def.f90

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,15 @@ module astero_def
4545
abstract interface
4646

4747
subroutine other_proc_interface(id, ierr)
48+
implicit none
4849
integer, intent(in) :: id
4950
integer, intent(out) :: ierr
5051
end subroutine other_proc_interface
5152

5253
subroutine other_adipls_mode_info_interface( &
5354
l, order, freq, inertia, x, y, aa, data, nn, iy, iaa, ispcpr, ierr)
5455
use const_def, only: dp
56+
implicit none
5557
integer, intent(in) :: l, order
5658
real(dp), intent(in) :: freq, inertia
5759
integer, intent(in) :: nn, iy, iaa, ispcpr
@@ -614,6 +616,7 @@ end subroutine other_adipls_mode_info_interface
614616

615617
subroutine set_constraint_value_interface(id, name, val, ierr)
616618
use const_def, only: dp, strlen
619+
implicit none
617620
integer, intent(in) :: id
618621
character(len=strlen), intent(in) :: name
619622
real(dp), intent(out) :: val
@@ -622,13 +625,15 @@ end subroutine set_constraint_value_interface
622625

623626
subroutine set_param_interface(id, name, val, ierr)
624627
use const_def, only: dp, strlen
628+
implicit none
625629
integer, intent(in) :: id
626630
character(len=strlen), intent(in) :: name ! which param to set
627631
real(dp), intent(in) :: val
628632
integer, intent(out) :: ierr
629633
end subroutine set_param_interface
630634

631635
subroutine extras_controls_interface(id, ierr)
636+
implicit none
632637
integer, intent(in) :: id
633638
integer, intent(out) :: ierr
634639
end subroutine extras_controls_interface

astero/public/astero_lib.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ subroutine run_star_astero( &
5050
use astero_def, only: init_astero_def
5151
interface
5252
subroutine extras_controls(id, ierr)
53+
implicit none
5354
integer, intent(in) :: id
5455
integer, intent(out) :: ierr
5556
end subroutine extras_controls

atm/private/atm_t_tau_uniform.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ subroutine build_solout( &
454454
interface
455455
real(dp) function interp_y(i, s, rwork_y, iwork_y, ierr)
456456
use const_def, only: dp
457+
implicit none
457458
integer, intent(in) :: i
458459
real(dp), intent(in) :: s
459460
real(dp), intent(inout), target :: rwork_y(*)

atm/private/atm_t_tau_varying.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ subroutine eval_solout( &
490490
interface
491491
real(dp) function interp_y(i, s, rwork_y, iwork_y, ierr)
492492
use const_def, only: dp
493+
implicit none
493494
integer, intent(in) :: i
494495
real(dp), intent(in) :: s
495496
real(dp), intent(inout), target :: rwork_y(*)
@@ -719,6 +720,7 @@ subroutine build_solout( &
719720
interface
720721
real(dp) function interp_y(i, s, rwork_y, iwork_y, ierr)
721722
use const_def, only: dp
723+
implicit none
722724
integer, intent(in) :: i
723725
real(dp), intent(in) :: s
724726
real(dp), intent(inout), target :: rwork_y(*)

atm/public/atm_def.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ subroutine atm_eos_iface( &
129129
lnRho, res, dres_dlnRho, dres_dlnT, &
130130
ierr)
131131
use const_def, only: dp
132+
implicit none
132133
real(dp), intent(in) :: lnP
133134
real(dp), intent(in) :: lnT
134135
real(dp), intent(out) :: lnRho
@@ -145,6 +146,7 @@ subroutine atm_kap_iface( &
145146
kap, dlnkap_dlnRho, dlnkap_dlnT, &
146147
ierr)
147148
use const_def, only: dp
149+
implicit none
148150
real(dp), intent(in) :: lnRho
149151
real(dp), intent(in) :: lnT
150152
real(dp), intent(in) :: res(:)

binary/private/pgbinary_hist_track.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ subroutine do_Hist_Track(b, id, device_id, &
642642
show_annotation1, show_annotation2, show_annotation3, use_decorator
643643
interface
644644
subroutine decorate(id, ierr)
645+
implicit none
645646
integer, intent(in) :: id
646647
integer, intent(out) :: ierr
647648
end subroutine decorate

binary/private/run_binary_support.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ subroutine do_run1_binary(tst, &
7777
interface
7878

7979
subroutine extras_controls(id, ierr)
80+
implicit none
8081
integer, intent(in) :: id
8182
integer, intent(out) :: ierr
8283
end subroutine extras_controls
8384

8485
subroutine extras_binary_controls(binary_id, ierr)
86+
implicit none
8587
integer :: binary_id
8688
integer, intent(out) :: ierr
8789
end subroutine extras_binary_controls

binary/public/binary_def.f90

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,22 @@ module binary_def
5656

5757
subroutine other_rlo_mdot_interface(binary_id, rlo_mdot, ierr)
5858
use const_def, only: dp
59+
implicit none
5960
integer, intent(in) :: binary_id
6061
real(dp), intent(out) :: rlo_mdot
6162
integer, intent(out) :: ierr
6263
end subroutine other_rlo_mdot_interface
6364

6465
integer function other_check_implicit_rlo_interface(binary_id, new_mdot)
6566
use const_def, only: dp
67+
implicit none
6668
integer, intent(in) :: binary_id
6769
real(dp), intent(out) :: new_mdot
6870
end function other_check_implicit_rlo_interface
6971

7072
subroutine other_implicit_function_to_solve_interface(binary_id, function_to_solve, use_sum, detachment, ierr)
7173
use const_def, only: dp
74+
implicit none
7275
integer, intent(in) :: binary_id
7376
real(dp), intent(out) :: function_to_solve
7477
logical, intent(out) :: use_sum, detachment
@@ -77,6 +80,7 @@ end subroutine other_implicit_function_to_solve_interface
7780

7881
subroutine other_tsync_interface(id, sync_type, Ftid, qratio, m, r_phot, osep, t_sync, ierr)
7982
use const_def, only: dp, strlen
83+
implicit none
8084
integer, intent(in) :: id
8185
character (len=strlen), intent(in) :: sync_type
8286
real(dp), intent(in) :: Ftid
@@ -90,6 +94,7 @@ end subroutine other_tsync_interface
9094

9195
subroutine other_sync_spin_to_orbit_interface(id, nz, osep, qratio, rl, dt_next, Ftid, sync_type, sync_mode, ierr)
9296
use const_def, only: dp, strlen
97+
implicit none
9398
integer, intent(in) :: id
9499
integer, intent(in) :: nz
95100
real(dp), intent(in) :: osep
@@ -104,99 +109,118 @@ end subroutine other_sync_spin_to_orbit_interface
104109

105110
subroutine other_mdot_edd_interface(binary_id, mdot_edd, mdot_edd_eta, ierr)
106111
use const_def, only: dp
112+
implicit none
107113
integer, intent(in) :: binary_id
108114
real(dp), intent(out) :: mdot_edd
109115
real(dp), intent(out) :: mdot_edd_eta
110116
integer, intent(out) :: ierr
111117
end subroutine other_mdot_edd_interface
112118

113119
subroutine other_adjust_mdots_interface(binary_id, ierr)
120+
implicit none
114121
integer, intent(in) :: binary_id
115122
integer, intent(out) :: ierr
116123
end subroutine other_adjust_mdots_interface
117124

118125
subroutine other_accreted_material_j_interface(binary_id, ierr)
126+
implicit none
119127
integer, intent(in) :: binary_id
120128
integer, intent(out) :: ierr
121129
end subroutine other_accreted_material_j_interface
122130

123131
subroutine other_jdot_interface(binary_id, ierr)
132+
implicit none
124133
integer, intent(in) :: binary_id
125134
integer, intent(out) :: ierr
126135
end subroutine other_jdot_interface
127136

128137
subroutine other_binary_wind_transfer_interface(binary_id, s_i, ierr)
138+
implicit none
129139
integer, intent(in) :: binary_id, s_i
130140
integer, intent(out) :: ierr
131141
end subroutine other_binary_wind_transfer_interface
132142

133143
subroutine other_edot_interface(binary_id, ierr)
144+
implicit none
134145
integer, intent(in) :: binary_id
135146
integer, intent(out) :: ierr
136147
end subroutine other_edot_interface
137148

138149
subroutine other_CE_init_interface(binary_id, restart, ierr)
150+
implicit none
139151
integer, intent(in) :: binary_id
140152
logical, intent(in) :: restart
141153
integer, intent(out) :: ierr
142154
end subroutine other_CE_init_interface
143155

144156
subroutine other_CE_rlo_mdot_interface(binary_id, rlo_mdot, ierr)
145157
use const_def, only: dp
158+
implicit none
146159
integer, intent(in) :: binary_id
147160
real(dp), intent(out) :: rlo_mdot
148161
integer, intent(out) :: ierr
149162
end subroutine other_CE_rlo_mdot_interface
150163

151164
integer function other_CE_binary_evolve_step_interface(binary_id)
165+
implicit none
152166
integer, intent(in) :: binary_id
153167
end function other_CE_binary_evolve_step_interface
154168

155169
integer function other_CE_binary_finish_step_interface(binary_id)
170+
implicit none
156171
integer, intent(in) :: binary_id
157172
end function other_CE_binary_finish_step_interface
158173

159174
integer function extras_binary_startup_interface(binary_id,restart,ierr)
175+
implicit none
160176
integer, intent(in) :: binary_id
161177
integer, intent(out) :: ierr
162178
logical,intent(in) :: restart
163179
end function extras_binary_startup_interface
164180

165181
integer function extras_binary_start_step_interface(binary_id, ierr)
182+
implicit none
166183
integer, intent(in) :: binary_id
167184
integer, intent(out) :: ierr
168185
end function extras_binary_start_step_interface
169186

170187
integer function extras_binary_check_model_interface(binary_id)
188+
implicit none
171189
integer, intent(in) :: binary_id
172190
end function extras_binary_check_model_interface
173191

174192
integer function extras_binary_finish_step_interface(binary_id)
193+
implicit none
175194
integer, intent(in) :: binary_id
176195
end function extras_binary_finish_step_interface
177196

178197
subroutine extras_binary_after_evolve_interface(binary_id, ierr)
198+
implicit none
179199
integer, intent(in) :: binary_id
180200
integer, intent(out) :: ierr
181201
end subroutine extras_binary_after_evolve_interface
182202

183203
subroutine other_binary_photo_write_interface(binary_id, iounit)
204+
implicit none
184205
integer, intent(in) :: binary_id, iounit
185206
end subroutine other_binary_photo_write_interface
186207

187208
subroutine other_binary_photo_read_interface(binary_id, iounit, ierr)
209+
implicit none
188210
integer, intent(in) :: binary_id, iounit
189211
integer, intent(out) :: ierr
190212
end subroutine other_binary_photo_read_interface
191213

192214
subroutine other_e2_interface(id, e2, ierr)
193215
use const_def, only: dp
216+
implicit none
194217
integer, intent(in) :: id
195218
real(dp),intent (out) :: e2
196219
integer, intent(out) :: ierr
197220
end subroutine other_e2_interface
198221

199222
subroutine other_pgbinary_plots_info_interface(id, ierr)
223+
implicit none
200224
integer, intent(in) :: id
201225
integer, intent(out) :: ierr
202226
end subroutine other_pgbinary_plots_info_interface

binary/public/binary_lib.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ subroutine run1_binary(tst, &
4646
interface
4747

4848
subroutine extras_controls(id, ierr)
49+
implicit none
4950
integer, intent(in) :: id
5051
integer, intent(out) :: ierr
5152
end subroutine extras_controls
5253

5354
subroutine extras_binary_controls(binary_id, ierr)
55+
implicit none
5456
integer :: binary_id
5557
integer, intent(out) :: ierr
5658
end subroutine extras_binary_controls

0 commit comments

Comments
 (0)