PhysiCellUtilities
The PhysiCellUtilities class includes additional methods for working with the model.
To import this class use:
import ru.biosoft.physicell.core.PhysiCellUtilities
All members of the PhysiCellUtilities class are presented below.
Class member |
Description |
|---|---|
static void place(Model model, String type, int number) |
model - model.
type - name of the cell type.
number is a positive integer.
Adds cells of type type to the model model, randomly distributed throughout the microenvironment, in number number.
Example of usage.
|
static void place2D(Model model, String type, int number) |
model - model.
type - name of the cell type.
number is a positive integer.
Adds cells of type type to the model model, randomly distributed throughout the microenvironment in the z = 0 plane, in number number.
Example of usage.
|
static List<Cell> getNeighbors(Cell cell) |
cell - cell.
Returns an array consisting of the neighbors of a given cell - cells in the same grid cell and neighboring grid cells.
Example of usage.
|
static int getCurrentTime() |
Возвращает текущее модельное время.
|