SELF_GPUInterfaces Module


Uses

  • module~~self_gpuinterfaces~~UsesGraph module~self_gpuinterfaces SELF_GPUInterfaces module~self_gpu SELF_GPU module~self_gpuinterfaces->module~self_gpu iso_c_binding iso_c_binding module~self_gpuinterfaces->iso_c_binding module~self_gpu->iso_c_binding module~self_gpu_enums~2 SELF_GPU_enums module~self_gpu->module~self_gpu_enums~2 module~self_gpu_enums~2->iso_c_binding

Used by

  • module~~self_gpuinterfaces~~UsedByGraph module~self_gpuinterfaces SELF_GPUInterfaces module~self_mappedvector_2d SELF_MappedVector_2D module~self_mappedvector_2d->module~self_gpuinterfaces module~self_ecadvection3d~2 SELF_ECAdvection3D module~self_ecadvection3d~2->module~self_gpuinterfaces module~self_dgmodel1d SELF_DGModel1D module~self_dgmodel1d->module~self_gpuinterfaces module~self_ecdgmodel2d~2 SELF_ECDGModel2D module~self_ecdgmodel2d~2->module~self_gpuinterfaces module~self_vector_3d~2 SELF_Vector_3D module~self_vector_3d~2->module~self_gpuinterfaces module~self_mappedscalar_3d~2 SELF_MappedScalar_3D module~self_mappedscalar_3d~2->module~self_gpuinterfaces module~self_vector_2d~2 SELF_Vector_2D module~self_vector_2d~2->module~self_gpuinterfaces module~self_ecadvection2d SELF_ECAdvection2D module~self_ecadvection2d->module~self_gpuinterfaces module~self_mappedtwopointvector_3d SELF_MappedTwoPointVector_3D module~self_mappedtwopointvector_3d->module~self_gpuinterfaces module~self_ecdgmodel3d~2 SELF_ECDGModel3D module~self_ecdgmodel3d~2->module~self_gpuinterfaces module~self_refinementindicator_2d~2 SELF_RefinementIndicator_2D module~self_refinementindicator_2d~2->module~self_gpuinterfaces module~self_scalar_2d~2 SELF_Scalar_2D module~self_scalar_2d~2->module~self_gpuinterfaces module~self_twopointvector_3d SELF_TwoPointVector_3D module~self_twopointvector_3d->module~self_gpuinterfaces module~self_dgmodel3d SELF_DGModel3D module~self_dgmodel3d->module~self_gpuinterfaces module~self_mappedvector_3d SELF_MappedVector_3D module~self_mappedvector_3d->module~self_gpuinterfaces module~self_dgmodel2d SELF_DGModel2D module~self_dgmodel2d->module~self_gpuinterfaces module~self_esatmo3d~2 SELF_ESAtmo3D module~self_esatmo3d~2->module~self_gpuinterfaces module~self_mappedtwopointvector_2d SELF_MappedTwoPointVector_2D module~self_mappedtwopointvector_2d->module~self_gpuinterfaces module~self_esatmo2d SELF_ESAtmo2D module~self_esatmo2d->module~self_gpuinterfaces module~self_twopointvector_2d~2 SELF_TwoPointVector_2D module~self_twopointvector_2d~2->module~self_gpuinterfaces module~self_mappedscalar_2d~2 SELF_MappedScalar_2D module~self_mappedscalar_2d~2->module~self_gpuinterfaces module~self_scalar_1d~2 SELF_Scalar_1D module~self_scalar_1d~2->module~self_gpuinterfaces module~self_scalar_3d~2 SELF_Scalar_3D module~self_scalar_3d~2->module~self_gpuinterfaces

Contents


Interfaces

interface

  • public subroutine AccumulateField_gpu(a, b, ndof) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: a
    type(c_ptr), value:: b
    integer(kind=c_int), value:: ndof

interface

  • public subroutine Average_gpu(favg, f1, f2, ndof) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: favg
    type(c_ptr), value:: f1
    type(c_ptr), value:: f2
    integer(kind=c_int), value:: ndof

interface

  • public subroutine BoundaryInterp_2D_gpu(bMatrix_dev, f_dev, bf_dev, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: bMatrix_dev
    type(c_ptr), value:: f_dev
    type(c_ptr), value:: bf_dev
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine BoundaryInterp_3D_gpu(bMatrix_dev, f_dev, bf_dev, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: bMatrix_dev
    type(c_ptr), value:: f_dev
    type(c_ptr), value:: bf_dev
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine CalculateDSDt_gpu(fluxDivergence, source, dsdt, ndof) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: fluxDivergence
    type(c_ptr), value:: source
    type(c_ptr), value:: dsdt
    integer(kind=c_int), value:: ndof

interface

  • public subroutine DG_BoundaryContribution_2D_gpu(bmatrix, qweights, bf, df, N, nvar, nel) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: bmatrix
    type(c_ptr), value:: qweights
    type(c_ptr), value:: bf
    type(c_ptr), value:: df
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel

interface

  • public subroutine DG_BoundaryContribution_3D_gpu(bmatrix, qweights, bf, df, N, nvar, nel) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: bmatrix
    type(c_ptr), value:: qweights
    type(c_ptr), value:: bf
    type(c_ptr), value:: df
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel

interface

  • public subroutine DG_BoundaryContribution_JacobianWeight_3D_gpu(bmatrix, qweights, bf, df, jacobian, N, nvar, nel) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: bmatrix
    type(c_ptr), value:: qweights
    type(c_ptr), value:: bf
    type(c_ptr), value:: df
    type(c_ptr), value:: jacobian
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel

interface

  • public subroutine Divergence_2D_gpu(f, df, dmat, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    type(c_ptr), value:: dmat
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine ECDGSurfaceContribution_2D_gpu(fbn, jacobian, bmatrix, qweights, df, N, nvar, nel) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: fbn
    type(c_ptr), value:: jacobian
    type(c_ptr), value:: bmatrix
    type(c_ptr), value:: qweights
    type(c_ptr), value:: df
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel

interface

  • public subroutine ECDGSurfaceContribution_3D_gpu(fbn, jacobian, bmatrix, qweights, df, N, nvar, nel) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: fbn
    type(c_ptr), value:: jacobian
    type(c_ptr), value:: bmatrix
    type(c_ptr), value:: qweights
    type(c_ptr), value:: df
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel

interface

  • public subroutine GradientNormal_1D_gpu(fbn, fbavg, ndof) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: fbn
    type(c_ptr), value:: fbavg
    integer(kind=c_int), value:: ndof

interface

  • public subroutine GridInterp_2D_gpu(A, f, fInterp, N, M, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: A
    type(c_ptr), value:: f
    type(c_ptr), value:: fInterp
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: M
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine GridInterp_3D_gpu(A, f, fInterp, N, M, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: A
    type(c_ptr), value:: f
    type(c_ptr), value:: fInterp
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: M
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine HaloPack_2D_gpu(boundary, sendbuf, halosides, n, nvar, nel, nhalo) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: boundary
    type(c_ptr), value:: sendbuf
    type(c_ptr), value:: halosides
    integer(kind=c_int), value:: n
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel
    integer(kind=c_int), value:: nhalo

interface

  • public subroutine HaloPack_3D_gpu(boundary, sendbuf, halosides, n, nvar, nel, nhalo) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: boundary
    type(c_ptr), value:: sendbuf
    type(c_ptr), value:: halosides
    integer(kind=c_int), value:: n
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel
    integer(kind=c_int), value:: nhalo

interface

  • public subroutine HaloUnpack_2D_gpu(recvbuf, extboundary, halosides, n, nvar, nel, nhalo) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: recvbuf
    type(c_ptr), value:: extboundary
    type(c_ptr), value:: halosides
    integer(kind=c_int), value:: n
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel
    integer(kind=c_int), value:: nhalo

interface

  • public subroutine HaloUnpack_3D_gpu(recvbuf, extboundary, halosides, n, nvar, nel, nhalo) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: recvbuf
    type(c_ptr), value:: extboundary
    type(c_ptr), value:: halosides
    integer(kind=c_int), value:: n
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nel
    integer(kind=c_int), value:: nhalo

interface

  • public subroutine JacobianWeight_2D_gpu(scalar, J, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: scalar
    type(c_ptr), value:: J
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine JacobianWeight_3D_gpu(scalar, J, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: scalar
    type(c_ptr), value:: J
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine MappedContravariantDivergence_3D_gpu(dsdx, A, f, df, jacobian, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: dsdx
    type(c_ptr), value:: A
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    type(c_ptr), value:: jacobian
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine MappedTwoPointVectorDivergence_2D_gpu(f, df, dmat, dsdx, jacobian, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    type(c_ptr), value:: dmat
    type(c_ptr), value:: dsdx
    type(c_ptr), value:: jacobian
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine MappedTwoPointVectorDivergence_3D_gpu(f, df, dmat, dsdx, jacobian, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    type(c_ptr), value:: dmat
    type(c_ptr), value:: dsdx
    type(c_ptr), value:: jacobian
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine MatrixOp_1D_gpu(A, f, Af, opArows, opAcols, ncol) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: A
    type(c_ptr), value:: f
    type(c_ptr), value:: Af
    integer(kind=c_int), value:: opArows
    integer(kind=c_int), value:: opAcols
    integer(kind=c_int), value:: ncol

interface

  • public subroutine MortarFlip_2D_gpu(buff, mortarinfo, elemToRank, rankId, N, nl, nMortars) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: buff
    type(c_ptr), value:: mortarinfo
    type(c_ptr), value:: elemToRank
    integer(kind=c_int), value:: rankId
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nl
    integer(kind=c_int), value:: nMortars

interface

  • public subroutine MortarFluxScatter_2D_gpu(boundarynormal, buff, mortarP, mortarinfo, elemToRank, rankId, offset, N, nl, nMortars, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: boundarynormal
    type(c_ptr), value:: buff
    type(c_ptr), value:: mortarP
    type(c_ptr), value:: mortarinfo
    type(c_ptr), value:: elemToRank
    integer(kind=c_int), value:: rankId
    integer(kind=c_int), value:: offset
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nl
    integer(kind=c_int), value:: nMortars
    integer(kind=c_int), value:: nEl

interface

  • public subroutine MortarGather_2D_gpu(buff, boundary, mortarinfo, elemToRank, rankId, offset, N, nl, nMortars, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: buff
    type(c_ptr), value:: boundary
    type(c_ptr), value:: mortarinfo
    type(c_ptr), value:: elemToRank
    integer(kind=c_int), value:: rankId
    integer(kind=c_int), value:: offset
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nl
    integer(kind=c_int), value:: nMortars
    integer(kind=c_int), value:: nEl

interface

  • public subroutine MortarScatter_2D_gpu(extboundary, buff, mortarR, mortarP, mortarinfo, elemToRank, rankId, offset, N, nl, nMortars, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: extboundary
    type(c_ptr), value:: buff
    type(c_ptr), value:: mortarR
    type(c_ptr), value:: mortarP
    type(c_ptr), value:: mortarinfo
    type(c_ptr), value:: elemToRank
    integer(kind=c_int), value:: rankId
    integer(kind=c_int), value:: offset
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nl
    integer(kind=c_int), value:: nMortars
    integer(kind=c_int), value:: nEl

interface

  • public subroutine RefinementIndicator_2D_gpu(Pmodal, f, w, ratio, gate, N, nVar, ivar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: Pmodal
    type(c_ptr), value:: f
    type(c_ptr), value:: w
    type(c_ptr), value:: ratio
    type(c_ptr), value:: gate
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: ivar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine ScalarGradient_2D_gpu(A, f, df, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: A
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine ScalarGradient_3D_gpu(A, f, df, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: A
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine SideExchange_2D_gpu(extboundary, boundary, sideinfo, elemToRank, rankId, offset, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: extboundary
    type(c_ptr), value:: boundary
    type(c_ptr), value:: sideinfo
    type(c_ptr), value:: elemToRank
    integer(kind=c_int), value:: rankId
    integer(kind=c_int), value:: offset
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine SideExchange_3D_gpu(extboundary, boundary, sideinfo, elemToRank, rankId, offset, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: extboundary
    type(c_ptr), value:: boundary
    type(c_ptr), value:: sideinfo
    type(c_ptr), value:: elemToRank
    integer(kind=c_int), value:: rankId
    integer(kind=c_int), value:: offset
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine TransferSolution_2D_gpu(uold, unew, sourcekind, sourceelem, family, depth, path, mortarR, mortarP, pathStride, eFirst0, N, nvar, nOld, nNew, nLocal) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: uold
    type(c_ptr), value:: unew
    type(c_ptr), value:: sourcekind
    type(c_ptr), value:: sourceelem
    type(c_ptr), value:: family
    type(c_ptr), value:: depth
    type(c_ptr), value:: path
    type(c_ptr), value:: mortarR
    type(c_ptr), value:: mortarP
    integer(kind=c_int), value:: pathStride
    integer(kind=c_int), value:: eFirst0
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nvar
    integer(kind=c_int), value:: nOld
    integer(kind=c_int), value:: nNew
    integer(kind=c_int), value:: nLocal

interface

  • public subroutine TwoPointVectorDivergence_2D_gpu(f, df, dmat, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    type(c_ptr), value:: dmat
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine TwoPointVectorDivergence_3D_gpu(f, df, dmat, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    type(c_ptr), value:: dmat
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine UpdateGRK_CalculateDSDt_gpu(grk, solution, fluxDivergence, source, rk_a, rk_g, dt, ndof) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: grk
    type(c_ptr), value:: solution
    type(c_ptr), value:: fluxDivergence
    type(c_ptr), value:: source
    real(kind=c_prec), value:: rk_a
    real(kind=c_prec), value:: rk_g
    real(kind=c_prec), value:: dt
    integer(kind=c_int), value:: ndof

interface

  • public subroutine UpdateGRK_gpu(grk, solution, dsdt, rk_a, rk_g, dt, ndof) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: grk
    type(c_ptr), value:: solution
    type(c_ptr), value:: dsdt
    real(kind=c_prec), value:: rk_a
    real(kind=c_prec), value:: rk_g
    real(kind=c_prec), value:: dt
    integer(kind=c_int), value:: ndof

interface

  • public subroutine UpdateSolution_CalculateDSDt_gpu(solution, fluxDivergence, source, dt, ndof) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: solution
    type(c_ptr), value:: fluxDivergence
    type(c_ptr), value:: source
    real(kind=c_prec), value:: dt
    integer(kind=c_int), value:: ndof

interface

  • public subroutine UpdateSolution_gpu(solution, dsdt, dt, ndof) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: solution
    type(c_ptr), value:: dsdt
    real(kind=c_prec), value:: dt
    integer(kind=c_int), value:: ndof

interface

  • public subroutine VectorDivergence_2D_gpu(A, f, df, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: A
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl

interface

  • public subroutine VectorDivergence_3D_gpu(A, f, df, N, nVar, nEl) bind(c,name="0")

    Arguments

    TypeIntentOptionalAttributesName
    type(c_ptr), value:: A
    type(c_ptr), value:: f
    type(c_ptr), value:: df
    integer(kind=c_int), value:: N
    integer(kind=c_int), value:: nVar
    integer(kind=c_int), value:: nEl