Generic evaluate all Each sweeper can define its own evaluate_all or use this generic one
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_sweeper_t), | intent(in) | :: | this | |||
class(pf_level_t), | intent(inout) | :: | lev | |||
real(kind=pfdp), | intent(in) | :: | t(:) | |||
integer, | intent(in), | optional | :: | flags | ||
integer, | intent(in), | optional | :: | step |
subroutine pf_generic_evaluate_all(this, lev, t, flags, step)
class(pf_sweeper_t), intent(in) :: this
class(pf_level_t), intent(inout) :: lev
real(pfdp), intent(in) :: t(:)
integer, optional, intent(in) :: flags, step
integer :: m
! which = 1
! if(present(flags)) which = flags
! mystep = 1
! if(present(step)) mystep = step
do m = 1, lev%nnodes
call lev%ulevel%sweeper%evaluate(lev, t(m), m, flags=flags, step=step)
end do
end subroutine pf_generic_evaluate_all