Event

This template is used to write a java class that describes an instantaneous change that occurs in the model under the influence of some signal.

import ru.biosoft.physicell.core.Model.Event;
import ru.biosoft.physicell.core.Model;

public class MyEvent extends Event
{

   // Class fields if needed

   public MyEvent(Model model)
   {

      super( model );
      // Code that initializes event properties in the model

   }

   @Override
   public void execute() throws Exception
   {

      // Code that executes the event

   }

   // Additional methods if needed

}