Open
Description
At the moment, the C++ standalone generated code works, but is not terribly user readable, and even less user modifiable. Some things that would improve that:
- Insert comments into the generated C++ code that correspond to the original Python code
- Collect features together into classes. For example,
NeuronGroup
at the moment consists of a bunch of arrays, fixed set of templates (state update, threshold, reset), and in indefinite number of initialisation statements. These could be automatically grouped together into a singleNeuronGroup
class. This would allow users to more easily modify generated code, e.g. to loop through a set of variables and create aNeuronGroup
for each iteration of the loop.