40 use,
intrinsic :: iso_c_binding
60 u_bf, v_bf, w_bf, fringe, a_x, a_y, a_z)
62 type(
field_t),
intent(in) :: u, v, w, fringe, u_bf, v_bf, w_bf
63 real(kind=
rp),
intent(in) :: a_x, a_y, a_z
65 type(
field_t),
pointer :: fu, fv, fw
69 fu => fields%get_by_index(1)
70 fv => fields%get_by_index(2)
71 fw => fields%get_by_index(3)
subroutine, public device_sub3(a_d, b_d, c_d, n, strm)
Vector subtraction .
subroutine, public device_add2s2(a_d, b_d, c1, n, strm)
Vector addition with scalar multiplication (multiplication on first argument)
subroutine, public device_col2(a_d, b_d, n, strm)
Vector multiplication .
integer, parameter, public rp
Global precision used in computations.
Defines a registry for storing and requesting temporary objects This can be used when you have a func...
type(scratch_registry_t), target, public neko_scratch_registry
Global scratch registry.
Implements the device kernel for the sponge_source_term_t type.
subroutine, public sponge_source_term_compute_device(fields, u, v, w, u_bf, v_bf, w_bf, fringe, a_x, a_y, a_z)
Computes the sponge source term on the device.
field_list_t, To be able to group fields together