landlab/landlab — pull request #36 by mcflugen (2014-05-25 21:44:54+00:00)
Title: Refactor ModelDataFields class

Refactored the ModelDataFields class to, I hope, be less opaque. Instead of dynamically generating methods for ModelDataFields from the methods of ScalarDataFields, I've written the methods explicitly. These are the methods like:
* ModelDataFields.ones
* ModelDataFields.add_ones

Pros: Less opaque, more readable.
Cons: Lots of code repetition.