sourcemethod_LinearEuler2D Subroutine

public subroutine sourcemethod_LinearEuler2D(this)

Device-resident spatially-dependent linear relaxation (sponge/damping) source term. See sourcemethod_LinearEuler2D_t for the mathematical description; the kernel reads the relaxation rate from solution variable 6 and never leaves the device.

Arguments

TypeIntentOptionalAttributesName
class(LinearEuler2D), intent(inout) :: this

Calls

proc~~sourcemethod_lineareuler2d~~CallsGraph proc~sourcemethod_lineareuler2d sourcemethod_LinearEuler2D interface~sourcemethod_lineareuler2d_gpu sourcemethod_LinearEuler2D_gpu proc~sourcemethod_lineareuler2d->interface~sourcemethod_lineareuler2d_gpu

Contents


Source Code

  subroutine sourcemethod_LinearEuler2D(this)
    !! Device-resident spatially-dependent linear relaxation (sponge/damping)
    !! source term. See sourcemethod_LinearEuler2D_t for the mathematical
    !! description; the kernel reads the relaxation rate from solution
    !! variable 6 and never leaves the device.
    implicit none
    class(LinearEuler2D),intent(inout) :: this

    call sourcemethod_LinearEuler2D_gpu(this%solution%interior_gpu, &
                                        this%source%interior_gpu, &
                                        this%solution%interp%N, &
                                        this%solution%nelem, &
                                        this%solution%nvar)

  endsubroutine sourcemethod_LinearEuler2D