event_func_vec Interface

interface
private subroutine event_func_vec(me, t, x, g, ig)

Arguments

Type IntentOptional Attributes Name
class(ddeabm_with_event_class_vec), intent(inout) :: me
real(kind=wp), intent(in) :: t

time

real(kind=wp), intent(in), dimension(:) :: x

state

real(kind=wp), intent(out), dimension(:) :: g

vector event function: . The event is located when any .

integer, intent(in), optional :: ig

the event function to compute:

  • if not present, then they are all computed.
  • if i>0 then g(i) is computed, and the other elements are ignored.

If i<=0 or i>ng, then this is a fatal error.

Description

Interface to the ddeabm_with_event_class_vec scalar event function.