Skip to content

Commit a4967c9

Browse files
Replaced variable in numeric moment of inertia calculation
1 parent ec0ccf6 commit a4967c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simulation/m_ibm.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ contains
11061106
11071107
$:GPU_PARALLEL_LOOP(private='[position,closest_point_along_axis,vector_to_axis,distance_to_axis]', copy='[moment,count]', copyin='[ib_marker,cell_volume,axis]', collapse=3)
11081108
do i = 0, m
1109-
do j = 0, j
1109+
do j = 0, n
11101110
do k = 0, p
11111111
if (ib_markers%sf(i, j, k) == ib_marker) then
11121112
$:GPU_ATOMIC(atomic='update')

0 commit comments

Comments
 (0)