Move model specific class members from layout.h to the 911 and Neuro specific sub-classes. #287
Labels
architecture
cleanup
good first issue
Good for newcomers
refactor
doesn't change functionality, just improves code
The file: /Simulator/Layouts/Layout.h contains 911 and Neuron specific class members. The 911 specific members are only used for initialization so these can be moved to layout911.h:
The Neuron specific class members are being used in the implementation of printParameters() for printing to the logging file. It seems to me that, since these parameters are model specific, the printParameters() method could be an abstract method to be implemented by the model specific sub-classes, the same way we are doing it with loadParameters().
layout.h Neuro specific class members:
The text was updated successfully, but these errors were encountered: