manoharan-lab / structural-color

Python package for modeling structural color in colloidal systems
GNU General Public License v3.0
16 stars 11 forks source link

Make object-oriented interface #73

Open vnmanoharan opened 5 years ago

vnmanoharan commented 5 years ago

Now that all the features have been merged into the master branch, we should start moving toward an object-oriented interface. An MC simulation should be set up as an object and should return a Results object. Boundary conditions should also be set up as objects. This will make the interface more concise and also allow re-use (for example, once set up, the simulation object can be re-used again and again).