61 logical,
intent(in) :: if_ext
62 real(kind=
rp),
intent(in) :: t
63 integer,
intent(in) :: tstep
64 type(
coef_t),
intent(in) :: coef
65 type(
field_t),
intent(inout) :: nut
66 type(
field_t),
intent(in) :: delta
67 real(kind=
rp),
intent(in) :: c
69 type(
field_t),
pointer :: g11, g12, g13, g21, g22, g23, g31, g32, g33
70 type(
field_t),
pointer :: u, v, w
72 integer :: temp_indices(9)
75 if (if_ext .eqv. .true.)
then
97 call dudxyz (g11%x, u%x, coef%drdx, coef%dsdx, coef%dtdx, coef)
98 call dudxyz (g12%x, u%x, coef%drdy, coef%dsdy, coef%dtdy, coef)
99 call dudxyz (g13%x, u%x, coef%drdz, coef%dsdz, coef%dtdz, coef)
101 call dudxyz (g21%x, v%x, coef%drdx, coef%dsdx, coef%dtdx, coef)
102 call dudxyz (g22%x, v%x, coef%drdy, coef%dsdy, coef%dtdy, coef)
103 call dudxyz (g23%x, v%x, coef%drdz, coef%dsdz, coef%dtdz, coef)
105 call dudxyz (g31%x, w%x, coef%drdx, coef%dsdx, coef%dtdx, coef)
106 call dudxyz (g32%x, w%x, coef%drdy, coef%dsdy, coef%dtdy, coef)
107 call dudxyz (g33%x, w%x, coef%drdz, coef%dsdz, coef%dtdz, coef)
120 g21%x_d, g22%x_d, g23%x_d, &
121 g31%x_d, g32%x_d, g33%x_d, &
122 delta%x_d, nut%x_d, coef%mult_d, &
126 call device_col2(nut%x_d, coef%mult_d, nut%dof%size())
subroutine, public device_wale_nut_compute(g11_d, g12_d, g13_d, g21_d, g22_d, g23_d, g31_d, g32_d, g33_d, delta_d, nut_d, mult_d, c, eps, n)
Compute the eddy viscosity field for the WALE model on the device.