pbc3d_Prescribed_Model Function

public pure function pbc3d_Prescribed_Model(this, x, t) result(extDsdx)

Arguments

TypeIntentOptionalAttributesName
class(Model), intent(in) :: this
real(kind=prec), intent(in) :: x(1:3)
real(kind=prec), intent(in) :: t

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


Contents


Source Code

  pure function pbc3d_Prescribed_Model(this,x,t) result(extDsdx)
    class(Model),intent(in) :: this
    real(prec),intent(in) :: x(1:3)
    real(prec),intent(in) :: t
    real(prec) :: extDsdx(1:this%nvar,1:3)
    ! Local
    integer :: ivar

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

  endfunction pbc3d_Prescribed_Model