sourcemethod_LinearEuler3D Subroutine

public 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.

Arguments

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

Calls

proc~~sourcemethod_lineareuler3d~~CallsGraph proc~sourcemethod_lineareuler3d sourcemethod_LinearEuler3D interface~sourcemethod_lineareuler3d_gpu sourcemethod_LinearEuler3D_gpu proc~sourcemethod_lineareuler3d->interface~sourcemethod_lineareuler3d_gpu

Contents


Source Code

  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