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.
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.