event_func Interface

interface
private subroutine event_func(me, t, x, g)

Arguments

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

time

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

state vector

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

g(t,x). The goal is to stop the integration when g=0.

Description

event function