Library architecture

The manager classes

class growth::KernelManager

Public Functions

void initialize()

Prepare kernel for operation.

This method calls the initialization methods of the specific managers in the proper order.

See

finalize(), reset()

void finalize()

Take down kernel after operation.

This method calls the finalization methods of the specific managers in the proper order, i.e., inverse to initialize().

See

initialize(), reset()

void reset()

Reset kernel.

Resets kernel by finalizing and initalizing.

See

initialize(), finalize()

const statusMap get_status() const

Get full kernel configuration.

stype get_num_created_objects() const

Get the number of objects in the simulator.

void update_num_objects(stype num_new_objects)

Update the object count.

inline bool is_initialized() const

Returns true if kernel is initialized.

Public Members

ParallelismManager parallelism_manager

Space manager instance.

class ParallelismManager : public growth::ManagerInterface
class RNGManager : public growth::ManagerInterface

Responsible for generating, seeding and passing the random number generators to all the objects in the simulator.

class growth::NeuronManager : public growth::ManagerInterface

Public Functions

stype create_neurons(const std::vector<statusMap> &neuron_params, const std::unordered_map<std::string, std::vector<statusMap>> &neurite_params)

Create neurons.

void register_model(std::string, GCPtr)

here we call the models file and register each model in the map