SetCoriolis_fplane_LinearShallowWater2D_t Subroutine

public subroutine SetCoriolis_fplane_LinearShallowWater2D_t(this, f0)

Arguments

TypeIntentOptionalAttributesName
class(LinearShallowWater2D_t), intent(inout) :: this
real(kind=prec), intent(in) :: f0

Contents


Source Code

  subroutine SetCoriolis_fplane_LinearShallowWater2D_t(this,f0)
    implicit none
    class(LinearShallowWater2D_t),intent(inout) :: this
    real(prec),intent(in) :: f0
    ! Local
    integer :: iel
    integer :: i
    integer :: j

    do concurrent(i=1:this%solution%N+1,j=1:this%solution%N+1, &
                  iel=1:this%mesh%nElem)
      this%fCori%interior(i,j,iel,1) = f0
    enddo
    call this%fCori%UpdateDevice()

  endsubroutine SetCoriolis_fplane_LinearShallowWater2D_t