Skip to content

Commit 2bafc0c

Browse files
committed
adding implicit none to interfaces
1 parent 36f511a commit 2bafc0c

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

eos/private/eosdt_eval.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ subroutine get_values_for_eosdt_interface( &
5858
skip, ierr)
5959
use const_def, only: dp
6060
use eos_def, only: nv
61+
implicit none
6162
integer, intent(in) :: handle
6263
logical, intent(in) :: dbg
6364
real(dp), intent(in) :: &

eos/public/eos_def.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ subroutine other_eos_frac_interface( &
4141
frac, dfrac_dlogRho, dfrac_dlogT, &
4242
ierr)
4343
use const_def, only: dp
44+
implicit none
4445
integer, intent(in) :: handle ! eos handle; from star, pass s% eos_handle
4546
integer, intent(in) :: species
4647
integer, pointer :: chem_id(:) ! maps species to chem id
@@ -68,6 +69,7 @@ subroutine other_eos_interface( &
6869
Rho, logRho, T, logT, &
6970
res, d_dlnd, d_dlnT, d_dxa, ierr)
7071
use const_def, only: dp
72+
implicit none
7173
integer, intent(in) :: handle ! eos handle; from star, pass s% eos_handle
7274

7375
integer, intent(in) :: species

star_data/public/star_pgstar.f90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,21 @@ module star_pgstar
3636
abstract interface
3737

3838
subroutine pgstar_plot_interface(id, device_id, ierr)
39+
implicit none
3940
integer, intent(in) :: id, device_id
4041
integer, intent(out) :: ierr
4142
end subroutine pgstar_plot_interface
4243

4344
subroutine other_do_plot_in_grid_interface( &
4445
id, device_id, xleft, xright, ybot, ytop, txt_scale, ierr)
46+
implicit none
4547
integer, intent(in) :: id, device_id
4648
real, intent(in) :: xleft, xright, ybot, ytop, txt_scale
4749
integer, intent(out) :: ierr
4850
end subroutine other_do_plot_in_grid_interface
4951

5052
subroutine pgstar_decorator_interface(id, xmin, xmax, ymin, ymax, plot_num, ierr)
53+
implicit none
5154
integer, intent(in) :: id
5255
!Not doubles
5356
real, intent(in) :: xmin, xmax, ymin, ymax

0 commit comments

Comments
 (0)