Mechanism to extend a Simul class with just a simple class¶
Extend a Simul class with “Simul extenders”.
“Simul extenders” are classes deriving from
Abstract class to define a “Simul extender”
Simul extenders are classes that can extend a
Simulclass to change its behavior for some simulations.
This class is meant to be subclassed. The child class has to contain one class attribute
_module_nameand two class methods
complete_params_with_default. An example can be found in the module
Create a function to modify
Note that this function is called when the object
info_solverhas not yet been created (and cannot yet be modified)! This is why one needs to create a function that will be called later to modify
Should complete the simul parameters
Spatial means regions