states_elec_dim as a class
Description
The object states_elec_dim is now a class, allowing for simplifying the code in several places.
News snippet
Code refactoring
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.