Cell contact

This template is used to write a java class that describes the contact of cells with each other.

import ru.biosoft.physicell.core.CellFunctions.Contact;
import ru.biosoft.physicell.core.Cell;
import ru.biosoft.physicell.core.Phenotype;

public class MyContact extends Contact
{

   // Class fields if needed

   public void execute(Cell pActingOn, Phenotype pao, Cell pAttachedTo, Phenotype pat, double dt)
   {

      // Code describing contact between cells pActingOn and pAttachedTo over time dt
      // For example:
      // Cell.detachCells( pActingOn, pAttachedTo );

   }

   // Additional methods if needed

}