UploadGeometry_SEMQuad Subroutine

public subroutine UploadGeometry_SEMQuad(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 deliberately absent: nothing in 2-D reads it on the device (see CalculateMetricTerms).

Arguments

TypeIntentOptionalAttributesName
class(SEMQuad), intent(inout) :: myGeom

Contents


Source Code

  subroutine UploadGeometry_SEMQuad(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 deliberately absent: nothing in 2-D reads it on the device (see
    !! CalculateMetricTerms).
    implicit none
    class(SEMQuad),intent(inout) :: myGeom

    call myGeom%x%UpdateDevice()
    call myGeom%dsdx%UpdateDevice()
    call myGeom%nHat%UpdateDevice()
    call myGeom%nScale%UpdateDevice()
    call myGeom%J%UpdateDevice()

  endsubroutine UploadGeometry_SEMQuad