GPU implementation of the physical-space split-form divergence for a 3-D two-point vector on a curvilinear mesh.
interior_gpu must already contain pre-projected SCALAR contravariant two-point fluxes. Applies the reference-element split-form sum then divides by J.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(MappedTwoPointVector3D), | intent(inout) | :: | this | |||
| type(c_ptr), | intent(out) | :: | df |
subroutine MappedDivergence_MappedTwoPointVector3D(this,df)
!! GPU implementation of the physical-space split-form divergence for
!! a 3-D two-point vector on a curvilinear mesh.
!!
!! interior_gpu must already contain pre-projected SCALAR contravariant
!! two-point fluxes. Applies the reference-element split-form sum then
!! divides by J.
implicit none
class(MappedTwoPointVector3D),intent(inout) :: this
type(c_ptr),intent(out) :: df
call TwoPointVectorDivergence_3D_gpu(this%interior_gpu,df, &
this%interp%dSplitMatrix_gpu, &
this%interp%N,this%nVar,this%nElem)
call JacobianWeight_3D_gpu(df,this%geometry%J%interior_gpu, &
this%interp%N,this%nVar,this%nElem)
endsubroutine MappedDivergence_MappedTwoPointVector3D