Subroutine to evaluate function value at node m
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_imexQ_t), | intent(inout) | :: | this | |||
class(pf_level_t), | intent(inout) | :: | lev | Current level |
||
real(kind=pfdp), | intent(in) | :: | t | Time at which to evaluate |
||
integer, | intent(in) | :: | m | Node at which to evaluate |
||
integer, | intent(in), | optional | :: | flags | ||
integer, | intent(in), | optional | :: | step |
subroutine imexQ_evaluate(this, lev, t, m, flags, step)
class(pf_imexQ_t), intent(inout) :: this
class(pf_level_t), intent(inout) :: lev !! Current level
real(pfdp), intent(in ) :: t !! Time at which to evaluate
integer, intent(in ) :: m !! Node at which to evaluate
integer, intent(in), optional :: flags, step
if (this%explicit) &
call this%f_eval(lev%Q(m), t, lev%index, lev%F(m,1),1)
if (this%implicit) &
call this%f_eval(lev%Q(m), t, lev%index, lev%F(m,2),2)
end subroutine imexQ_evaluate