GPU implementation of the reference-element split-form divergence. df must be a device pointer to a scalar field of size (N+1)(N+1)nElem*nVar.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TwoPointVector2D), | intent(in) | :: | this | |||
| type(c_ptr), | intent(inout) | :: | df |
subroutine Divergence_TwoPointVector2D(this,df)
!! GPU implementation of the reference-element split-form divergence.
!! df must be a device pointer to a scalar field of size
!! (N+1)*(N+1)*nElem*nVar.
implicit none
class(TwoPointVector2D),intent(in) :: this
type(c_ptr),intent(inout) :: df
call TwoPointVectorDivergence_2D_gpu(this%interior_gpu,df, &
this%interp%dSplitMatrix_gpu, &
this%interp%N,this%nVar,this%nElem)
endsubroutine Divergence_TwoPointVector2D