Push the geometry the solver kernels read to the device. Mirrors the uploads that GenerateFromMesh's own path performs, for use when geometry was assembled by element copy rather than generated (AMR Stage 6c).
dxds is included, unlike the 2-D UploadGeometry: the 3-D CalculateMetricTerms uploads it after its boundary interpolation, so an assembled geometry mirrors that exactly.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(SEMHex), | intent(inout) | :: | myGeom |
subroutine UploadGeometry_SEMHex(myGeom)
!! Push the geometry the solver kernels read to the device. Mirrors the uploads that
!! GenerateFromMesh's own path performs, for use when geometry was assembled by element copy
!! rather than generated (AMR Stage 6c).
!!
!! dxds is included, unlike the 2-D UploadGeometry: the 3-D CalculateMetricTerms uploads it
!! after its boundary interpolation, so an assembled geometry mirrors that exactly.
implicit none
class(SEMHex),intent(inout) :: myGeom
call myGeom%x%UpdateDevice()
call myGeom%dxds%UpdateDevice()
call myGeom%dsdx%UpdateDevice()
call myGeom%nHat%UpdateDevice()
call myGeom%nScale%UpdateDevice()
call myGeom%J%UpdateDevice()
endsubroutine UploadGeometry_SEMHex