60 dx_d, dy_d, dz_d, h1_d, Br_d, Bs_d, Bt_d, svv_h1_d, &
61 drdx_d, drdy_d, drdz_d, dsdx_d, dsdy_d, dsdz_d, &
62 dtdx_d, dtdy_d, dtdz_d, jacinv_d, w3_d, nelv, lx) &
63 bind(c, name=
'hip_ax_helm_svv_factorized_full')
64 use,
intrinsic :: iso_c_binding, only : c_ptr, c_int
65 type(c_ptr),
value :: au_d, av_d, aw_d
66 type(c_ptr),
value :: u_d, v_d, w_d
67 type(c_ptr),
value :: dx_d, dy_d, dz_d, h1_d
68 type(c_ptr),
value :: Br_d, Bs_d, Bt_d, svv_h1_d
69 type(c_ptr),
value :: drdx_d, drdy_d, drdz_d
70 type(c_ptr),
value :: dsdx_d, dsdy_d, dsdz_d
71 type(c_ptr),
value :: dtdx_d, dtdy_d, dtdz_d
72 type(c_ptr),
value :: jacinv_d, w3_d
73 integer(c_int) :: nelv, lx
80 dx_d, dy_d, dz_d, h1_d, Br_d, Bs_d, Bt_d, svv_h1_d, &
81 drdx_d, drdy_d, drdz_d, dsdx_d, dsdy_d, dsdz_d, &
82 dtdx_d, dtdy_d, dtdz_d, jacinv_d, w3_d, nelv, lx) &
113 u, v, w, coef, msh, Xh)
115 type(
mesh_t),
intent(in) :: msh
116 type(
space_t),
intent(in) :: Xh
117 type(
coef_t),
intent(in) :: coef
118 real(kind=
rp),
intent(inout) :: au(xh%lx, xh%ly, xh%lz, msh%nelv)
119 real(kind=
rp),
intent(inout) :: av(xh%lx, xh%ly, xh%lz, msh%nelv)
120 real(kind=
rp),
intent(inout) :: aw(xh%lx, xh%ly, xh%lz, msh%nelv)
121 real(kind=
rp),
intent(in) :: u(xh%lx, xh%ly, xh%lz, msh%nelv)
122 real(kind=
rp),
intent(in) :: v(xh%lx, xh%ly, xh%lz, msh%nelv)
123 real(kind=
rp),
intent(in) :: w(xh%lx, xh%ly, xh%lz, msh%nelv)
124 type(c_ptr) :: au_d, av_d, aw_d, u_d, v_d, w_d
135 xh%dx_d, xh%dy_d, xh%dz_d, coef%h1_d, &
136 this%svv%Br_d, this%svv%Bs_d, this%svv%Bt_d, this%svv%h1_d, &
137 coef%drdx_d, coef%drdy_d, coef%drdz_d, &
138 coef%dsdx_d, coef%dsdy_d, coef%dsdz_d, &
139 coef%dtdx_d, coef%dtdy_d, coef%dtdz_d, coef%jacinv_d, &
140 xh%w3_d, msh%nelv, xh%lx)
143 xh%dx_d, xh%dy_d, xh%dz_d, coef%h1_d, &
144 this%svv%Br_d, this%svv%Bs_d, this%svv%Bt_d, this%svv%h1_d, &
145 coef%drdx_d, coef%drdy_d, coef%drdz_d, &
146 coef%dsdx_d, coef%dsdy_d, coef%dsdz_d, &
147 coef%dtdx_d, coef%dtdy_d, coef%dtdz_d, coef%jacinv_d, &
148 xh%w3_d, msh%nelv, xh%lx)
150 call neko_error(
'OPENCL is not implemented for factorized full SVV')
154 call device_addcol4(au_d, coef%h2_d, coef%B_d, u_d, coef%dof%size())
155 call device_addcol4(av_d, coef%h2_d, coef%B_d, v_d, coef%dof%size())
156 call device_addcol4(aw_d, coef%h2_d, coef%B_d, w_d, coef%dof%size())
void cuda_ax_helm_svv_factorized_full(void *au, void *av, void *aw, void *u, void *v, void *w, void *dx, void *dy, void *dz, void *h1, void *Br, void *Bs, void *Bt, void *h1_svv, void *drdx, void *drdy, void *drdz, void *dsdx, void *dsdy, void *dsdz, void *dtdx, void *dtdy, void *dtdz, void *jacinv, void *w3, int *nelv, int *lx)