bracket_func_vec Interface

interface
private function bracket_func_vec(me, ig, t1, t2, x1, x2, g1, g2) result(bracketed)

Arguments

Type IntentOptional Attributes Name
class(ddeabm_with_event_class_vec), intent(inout) :: me
integer, intent(in), optional :: ig

the event function number

real(kind=wp), intent(in) :: t1

first time point

real(kind=wp), intent(in) :: t2

second time point

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

state at t1

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

state at t1

real(kind=wp), intent(in) :: g1

event function ig value at t1

real(kind=wp), intent(in) :: g2

event function ig value at t2

Return Value logical

if the root is bracketed

Description

function to determine if a root is bracketed (vector event version)