belson17 / modred

Modred main repository
BSD 2-Clause "Simplified" License
78 stars 38 forks source link

Make Parallel into a module, not a class #10

Closed jhtu closed 7 years ago

jhtu commented 8 years ago

I see no reason for Parallel to be a class. In fact, we have to do funny stuff to ensure or encourage the user not to have multiple instances of it. It seems to me simpler if we just make it a module that has a number of useful methods. This avoids the whole instance issue altogether, and should provide the same functionality.

jhtu commented 7 years ago

Changed parallel into a module only, not a class.