Skip to content

Commit 9f09d72

Browse files
committed
Fixed circular dependencies
1 parent 96c6148 commit 9f09d72

File tree

4 files changed

+1
-22
lines changed

4 files changed

+1
-22
lines changed

src/common/m_helper.fpp

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ module m_helper
3535
associated_legendre, &
3636
spherical_harmonic_func, &
3737
double_factorial, &
38-
factorial, &
39-
s_update_cell_extremes
38+
factorial
4039

4140
contains
4241

@@ -578,19 +577,5 @@ contains
578577
579578
end function factorial
580579
581-
pure elemental subroutine s_update_cell_extremes(extreme, m, n, p)
582-
type(cell_num_bounds), intent(out) :: extreme
583-
integer, intent(in) :: m, n, p
584-
585-
extreme%mn_max = max(m, n)
586-
extreme%np_max = max(n, p)
587-
extreme%mp_max = max(m, p)
588-
extreme%mnp_max = max(m, n, p)
589-
extreme%mn_min = min(m, n)
590-
extreme%np_min = min(n, p)
591-
extreme%mp_min = min(m, p)
592-
extreme%mnp_min = min(m, n, p)
593-
594-
end subroutine s_update_cell_extremes
595580
596581
end module m_helper

src/post_process/m_global_parameters.fpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ module m_global_parameters
1919

2020
use m_thermochem, only: num_species, species_names
2121

22-
use m_helper, only: s_update_cell_extremes
23-
2422
implicit none
2523

2624
!> @name Logistics

src/pre_process/m_global_parameters.fpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ module m_global_parameters
1919

2020
use m_thermochem, only: num_species
2121

22-
use m_helper, only: s_update_cell_extremes
23-
2422
implicit none
2523

2624
! Logistics

src/simulation/m_global_parameters.fpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ module m_global_parameters
2121

2222
use m_helper_basic !< Functions to compare floating point numbers
2323

24-
use m_helper, only: s_update_cell_extremes
25-
2624
#ifdef MFC_OpenACC
2725
use openacc
2826
#endif

0 commit comments

Comments
 (0)