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.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ESAtmo2D), | intent(inout) | :: | this |
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