Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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) |
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