|
CellModules
|
Public Member Functions | |
| Simu (string params) | |
| Simu (string params, int _seed, bool benchmark) | |
| void | update () |
| Updates the simulation by one time step. More... | |
| void | update (int nbSteps) |
| Updates the simulation by multiple time steps. More... | |
| int | getCurrentStep () |
| Gets the current number of time steps. More... | |
| double | getTime (char format) |
| Gets the elapsed time in a given format. More... | |
| int | getSeed () const |
| Gets the seed used for random number generation. More... | |
| vector< PrimoCell< CellBody > * > * | _getCells () |
| Gets the cells in the simulation. More... | |
| void | showBenchmarksSummaries () const |
| prints the benchmark summaries. More... | |
| string | _getBenchmarksJSON () const |
| string | __repr__ () |
Public Attributes | |
| CellPlugin< PrimoCell< CellBody > > * | plugins |
| Cell plugins. More... | |
Private Member Functions | |
| void | setStaticVariables () |
Private Attributes | |
| scenario_t | scenario |
| MecaCell::Config::random_engine_t | local_random_engine |
| int | seed = -1 |
: params : dict | str The simulation parameters in JSON format.
: seed : Optional[int] The seed for the random generators. If not provided, the seed is random.
: benchmark : Optional[bool] Whether to enable benchmarking. If not provided, benchmarking is disabled.
: cells : CellVector provides high-performance access to all cell properties.
it's also an iterator to access each cells.
: plugins : CellPlugin allows access to the plugin part of each module.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
| CellPlugin<PrimoCell<CellBody> >* Simu::plugins |
|
private |