SourceMethod_ESAtmo2D Subroutine

public subroutine SourceMethod_ESAtmo2D(this)

Souza et al. (2023) non-conservative gravity flux differencing on GPU. The geopotential lives at solution(:,:,:,5); the source for rho*v is computed via the SBP-EC two-point form using log-mean density and the contravariant metric.

Arguments

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

Calls

proc~~sourcemethod_esatmo2d~~CallsGraph proc~sourcemethod_esatmo2d SourceMethod_ESAtmo2D interface~sourcemethod_esatmo2d_gpu sourcemethod_esatmo2d_gpu proc~sourcemethod_esatmo2d->interface~sourcemethod_esatmo2d_gpu

Contents

Source Code


Source Code

  subroutine SourceMethod_ESAtmo2D(this)
    !! Souza et al. (2023) non-conservative gravity flux differencing on
    !! GPU. The geopotential lives at solution(:,:,:,5); the source for
    !! rho*v is computed via the SBP-EC two-point form using log-mean
    !! density and the contravariant metric.
    implicit none
    class(ESAtmo2D),intent(inout) :: this

    call sourcemethod_esatmo2d_gpu( &
      this%source%interior_gpu, &
      this%solution%interior_gpu, &
      this%geometry%dsdx%interior_gpu, &
      this%geometry%J%interior_gpu, &
      this%solution%interp%dSplitMatrix_gpu, &
      this%solution%interp%N, &
      this%solution%nvar, &
      this%solution%nelem)

  endsubroutine SourceMethod_ESAtmo2D