Skip to content

Commit dbf82bc

Browse files
committed
adding some missing onlys (fortitude C131)
1 parent f4ac77f commit dbf82bc

53 files changed

Lines changed: 683 additions & 695 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

atm/preprocessor/src/create_BT_Settl.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module mod_BT_Settl
2323
use chem_def
2424
use chem_lib
2525
use const_def
26-
use const_lib
26+
use const_lib, only: const_init
2727
use num_lib, only: binary_search
2828

2929
implicit none

atm/preprocessor/src/create_table_atm.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ program create_table_atm
3434
use chem_def
3535
use chem_lib, only: chem_init, basic_composition_info
3636
use const_def
37-
use const_lib
37+
use const_lib, only: const_init
3838
use eos_def
3939
use eos_lib
4040
use kap_lib

atm/preprocessor/src/create_tau100.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module mod_tau100
2727
use chem_def
2828
use chem_lib, only: chem_init, basic_composition_info
2929
use const_def
30-
use const_lib
30+
use const_lib, only: const_init
3131
use eos_def
3232
use eos_lib
3333
use kap_lib

atm/preprocessor/src/create_wd_tau25.f90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
! Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2020
!
2121
! ***********************************************************************
22+
2223
module mod_wd_tau_25
24+
2325
use const_def
2426
use utils_lib, only: mesa_error
2527

@@ -34,7 +36,7 @@ module mod_wd_tau_25
3436
contains
3537

3638
subroutine build_wd_tau_25_tables
37-
use const_lib
39+
use const_lib, only: const_init
3840
character(len=256) :: fname_in, fname_out, line, my_mesa_dir
3941
integer :: i, j, iounit, ierr, iounit_out, k
4042
real(dp) :: Prad, Teff_in, logg_in

atm/test/src/test_atm_setup.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module test_atm_setup
1414
contains
1515

1616
subroutine setup
17-
use const_lib
17+
use const_lib, only: const_init
1818

1919
logical, parameter :: use_cache = .true.
2020
character(len=256) :: my_mesa_dir

auto_diff/test/src/test_auto_diff.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
program test_auto_diff
22
use math_lib
33
use auto_diff
4-
use const_def
4+
use const_def, only: dp, ln10, pi
55

66
implicit none
77

chem/preprocessor/src/chem_support.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module chem_support
2-
use const_def
3-
use const_lib
2+
use const_def, only: dp
3+
use const_lib, only: const_init
44
use math_lib
55
use utils_lib, only: mesa_error
66

colors/test/src/test_colors.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ program test_colors
1212
contains
1313

1414
subroutine do_test_colors
15-
use const_lib
15+
use const_lib, only: const_init
1616

1717
character(len=256) :: my_mesa_dir
1818
integer :: info

const/public/const_lib.f90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ module const_lib
2929

3030
implicit none
3131

32+
private
33+
public :: const_init
34+
3235
contains
3336

3437
subroutine const_init(mesa_dir_init, ierr)

const/test/src/test_const.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
program test_const
2+
23
use const_def
3-
use const_lib
4+
use const_lib, only: const_init
5+
46
implicit none
57

68
integer :: ierr
@@ -28,7 +30,6 @@ subroutine do_test_const
2830
write (*, fmt=fmt1) 'boltz_sigma*4/clight', boltz_sigma*4/clight
2931
write (*, fmt=fmt1) 'boltz_sigma/clight', boltz_sigma/clight
3032
write (*, fmt=fmt1) 'crad', crad
31-
3233
write (*, fmt=fmt1) 'secyer', secyer
3334
write (*, fmt=fmt1) 'Msun', Msun
3435
write (*, fmt=fmt1) 'Rsun', Rsun
@@ -49,4 +50,3 @@ subroutine do_test_const
4950
end subroutine do_test_const
5051

5152
end program test_const
52-

0 commit comments

Comments
 (0)