USC-NSL / Computational-Agroecology

6 stars 1 forks source link

Refactored `class SunInfo` again #94

Closed ralphchung closed 5 years ago

ralphchung commented 5 years ago

This PR mainly changes the interfaces of class SunInfo. The implementation underneath mostly remains unchanged.

Because of the dependency, some other classes I am implementing need the functionality from class SunInfo. However, the current interfaces are not good.

I hope things can go well after this refactor. We may need a number of refactors to fully implement the plant growth model from the book.