Device-resident spatially-dependent linear relaxation (sponge/damping) source term. See sourcemethod_LinearEuler3D_t for the mathematical description; the kernel reads the relaxation rate from solution variable 7 and never leaves the device.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(LinearEuler3D), | intent(inout) | :: | this |
subroutine sourcemethod_LinearEuler3D(this)
!! Device-resident spatially-dependent linear relaxation (sponge/damping)
!! source term. See sourcemethod_LinearEuler3D_t for the mathematical
!! description; the kernel reads the relaxation rate from solution
!! variable 7 and never leaves the device.
implicit none
class(LinearEuler3D),intent(inout) :: this
call sourcemethod_LinearEuler3D_gpu(this%solution%interior_gpu, &
this%source%interior_gpu, &
this%solution%interp%N, &
this%solution%nelem, &
this%solution%nvar)
endsubroutine sourcemethod_LinearEuler3D