@@ -185,7 +185,10 @@ subroutine transeq(self, du, dv, dw, u, v, w)
185185 dw_y = > self% backend% allocator% get_block()
186186
187187 ! reorder data from x orientation to y orientation
188- call self% backend% trans_x2y(u_y, v_y, w_y, u, v, w)
188+ call self% backend% trans_x2y(u_y, u)
189+ call self% backend% trans_x2y(v_y, v)
190+ call self% backend% trans_x2y(w_y, w)
191+
189192 ! similar to the x direction, obtain derivatives in y.
190193 call self% backend% transeq_y(du_y, dv_y, dw_y, u_y, v_y, w_y, self% ydirps)
191194
@@ -206,7 +209,10 @@ subroutine transeq(self, du, dv, dw, u, v, w)
206209 dw_z = > self% backend% allocator% get_block()
207210
208211 ! reorder from x to z
209- call self% backend% trans_x2z(u_z, v_z, w_z, u, v, w)
212+ call self% backend% trans_x2z(u_z, u)
213+ call self% backend% trans_x2z(v_z, v)
214+ call self% backend% trans_x2z(w_z, w)
215+
210216 ! get the derivatives in z
211217 call self% backend% transeq_z(du_z, dv_z, dw_z, u_z, v_z, w_z, self% zdirps)
212218
@@ -261,7 +267,9 @@ subroutine divergence(self, div_u, u, v, w)
261267 w_y = > self% backend% allocator% get_block()
262268
263269 ! reorder data from x orientation to y orientation
264- call self% backend% trans_x2y(u_y, v_y, w_y, du_x, dv_x, dw_x)
270+ call self% backend% trans_x2y(u_y, du_x)
271+ call self% backend% trans_x2y(v_y, dv_x)
272+ call self% backend% trans_x2y(w_y, dw_x)
265273
266274 call self% backend% allocator% release_block(du_x)
267275 call self% backend% allocator% release_block(dv_x)
0 commit comments