UpdateGRK2_DGModel2D Subroutine

public subroutine UpdateGRK2_DGModel2D(this, m)

Arguments

TypeIntentOptionalAttributesName
class(DGModel2D), intent(inout) :: this
integer, intent(in) :: m

Calls

proc~~updategrk2_dgmodel2d~~CallsGraph proc~updategrk2_dgmodel2d UpdateGRK2_DGModel2D interface~updategrk_gpu UpdateGRK_gpu proc~updategrk2_dgmodel2d->interface~updategrk_gpu

Contents

Source Code


Source Code

  subroutine UpdateGRK2_DGModel2D(this,m)
    implicit none
    class(DGModel2D),intent(inout) :: this
    integer,intent(in) :: m
    ! Local
    integer :: ndof

    ndof = this%solution%nvar* &
           this%solution%nelem* &
           (this%solution%interp%N+1)* &
           (this%solution%interp%N+1)

    call UpdateGRK_gpu(this%worksol%interior_gpu,this%solution%interior_gpu,this%dsdt%interior_gpu, &
                       rk2_a(m),rk2_g(m),this%dt,ndof)

  endsubroutine UpdateGRK2_DGModel2D