Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(LinearShallowWater2D_t), | intent(inout) | :: | this | |||
real(kind=prec), | intent(in) | :: | f0 |
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