Skip to content

Commit 48aa981

Browse files
committed
more intent
1 parent 1974870 commit 48aa981

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/pre_process/m_compute_levelset.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ contains
261261
type(levelset_field), intent(INOUT) :: levelset
262262
type(levelset_norm_field), intent(INOUT) :: levelset_norm
263263

264-
integer :: ib_patch_id
264+
integer, intent(in) :: ib_patch_id
265265
real(wp) :: top_right(2), bottom_left(2)
266266
real(wp) :: x, y, min_dist
267267
real(wp) :: side_dists(4)

src/pre_process/m_model.fpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ contains
709709
integer, intent(inout) :: edge_index !< Edge index iterator
710710
integer, intent(inout) :: edge_count !< Total number of edges
711711
real(wp), intent(in), dimension(1:2, 1:2) :: edge !< Edges end points to be registered
712-
real(wp), dimension(1:edge_count, 1:2, 1:2) :: temp_boundary_v !< Temporary edge end vertex buffer
712+
real(wp), dimension(1:edge_count, 1:2, 1:2), intent(inout) :: temp_boundary_v !< Temporary edge end vertex buffer
713713

714714
! Increment edge index and store the edge
715715
edge_index = edge_index + 1
@@ -804,7 +804,10 @@ contains
804804
t_vec3, intent(in) :: spacing
805805
real(wp), allocatable, intent(inout), dimension(:, :) :: interpolated_boundary_v
806806

807-
integer :: i, j, num_segments, total_vertices, boundary_edge_count
807+
integer, intent(inout) :: total_vertices, boundary_edge_count
808+
integer :: num_segments
809+
integer :: i, j
810+
808811
real(wp) :: edge_length, cell_width
809812
real(wp), dimension(1:2) :: edge_x, edge_y, edge_del
810813
real(wp), allocatable :: temp_boundary_v(:, :)

src/pre_process/m_patches.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ contains
14061406
14071407
integer, intent(IN) :: patch_id
14081408
integer, intent(INOUT), dimension(0:m, 0:n, 0:p) :: patch_id_fp
1409-
type(scalar_field), dimension(1:sys_size) :: q_prim_vf
1409+
type(scalar_field), dimension(1:sys_size), intent(inout) :: q_prim_vf
14101410
14111411
real(wp) :: r, x_p, eps, phi
14121412
real(wp), dimension(2:9) :: as, Ps

src/pre_process/m_perturbation.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ contains
223223
subroutine s_instability_wave(alpha, beta, wave, shift)
224224
real(wp), intent(in) :: alpha, beta !< spatial wavenumbers
225225
real(wp), dimension(mixlayer_nvar, 0:m, 0:n, 0:p), intent(inout) :: wave !< instability wave
226-
real(wp) :: shift !< phase shift
226+
real(wp), intent(in) :: shift !< phase shift
227227
real(wp), dimension(0:nbp - 1) :: u_mean !< mean density and velocity profiles
228228
real(wp) :: rho_mean, p_mean !< mean density and pressure
229229
real(wp), dimension(0:nbp - 1, 0:nbp - 1) :: d !< differential operator in y dir

0 commit comments

Comments
 (0)