Microenvironment
The Microenvironment class is used to work with the model environment in which cells and substances are located.
To import this class use:
import ru.biosoft.physicell.biofvm.Microenvironment
All members of the Microenvironment class are presented below.
Class member |
Description |
|---|---|
mesh |
|
double[] mesh.boundingBox |
Contains an array of 6 values - boundaries of the external environment [Xmin, Xmax, Ymin, Ymax, Zmin, Zmax].
Example of usage.
|
options |
|
boolean options.simulate2D |
|
double[] options.X_range |
Содержит массив [Xmin, Xmax], в котором первый элемент - минимальное значение координаты x внешней среды, а второй - максимальное.
Example of usage.
|
double[] options.Y_range |
Содержит массив [Ymin, Ymax], в котором первый элемент - минимальное значение координаты y внешней среды, а второй - максимальное.
Example of usage.
|
RandomGenerator getRNG() |
|
int findDensityIndex(String substrate) |
substrate - name of the substrate.
Returns the index (number) of the density of the substrate substrate.
Example of usage.
|
List<Cell> getAgents([metadata].class) |
|
int getAgentsCount() |
Возвращает количество всех агентов во внешней среде.
|