flux3d_Model Function

public pure function flux3d_Model(this, s, dsdx) result(flux)

Arguments

TypeIntentOptionalAttributesName
class(Model), intent(in) :: this
real(kind=prec), intent(in) :: s(1:this%nvar)
real(kind=prec), intent(in) :: dsdx(1:this%nvar,1:3)

Return Value real(kind=prec)(1:this%nvar,1:3)


Contents

Source Code


Source Code

  pure function flux3d_Model(this,s,dsdx) result(flux)
    class(Model),intent(in) :: this
    real(prec),intent(in) :: s(1:this%nvar)
    real(prec),intent(in) :: dsdx(1:this%nvar,1:3)
    real(prec) :: flux(1:this%nvar,1:3)
    ! Local
    integer :: ivar

    do ivar = 1,this%nvar
      flux(ivar,1:3) = 0.0_prec
    enddo

  endfunction flux3d_Model