function [VALUE,ISTERMINAL,DIRECTION] = odef3_events(eta, Y)

  global C K R

  VALUE = Y(1);
  ISTERMINAL = 0;
  DIRECTION = 0;
