Skip to content

Commit 883d78e

Browse files
committed
Continuing to mark subroutines as pure or impure
1 parent 3c5c5c2 commit 883d78e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/simulation/m_mhd.fpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module m_mhd
3333

3434
contains
3535

36-
subroutine s_initialize_mhd_powell_module
36+
impure subroutine s_initialize_mhd_powell_module
3737

3838
integer :: i, k, r
3939

@@ -69,7 +69,7 @@ contains
6969
!! S = - (divB) [ 0, Bx, By, Bz, vdotB, vx, vy, vz ]^T
7070
!! @param q_prim_vf Primitive variables
7171
!! @param rhs_vf rhs variables
72-
subroutine s_compute_mhd_powell_rhs(q_prim_vf, rhs_vf)
72+
pure subroutine s_compute_mhd_powell_rhs(q_prim_vf, rhs_vf)
7373

7474
type(scalar_field), dimension(sys_size), intent(in) :: q_prim_vf
7575
type(scalar_field), dimension(sys_size), intent(inout) :: rhs_vf
@@ -136,7 +136,7 @@ contains
136136

137137
end subroutine s_compute_mhd_powell_rhs
138138

139-
subroutine s_finalize_mhd_powell_module
139+
impure subroutine s_finalize_mhd_powell_module
140140

141141
@:DEALLOCATE(du_dx, dv_dx, dw_dx)
142142
@:DEALLOCATE(fd_coeff_x_h)

0 commit comments

Comments
 (0)