Pull request #189 creates two new functions calculateDTheta and calculateTheta that are used to calculate Theta_* and DTheta_* variables. To re-use code, a switch case block is implemented in each function using the variable subRoutine. It would be nicer if this subRoutine was more explained (what subroutine is for what), and possibly used strings instead of integers to describe the cases.
Pull request #189 creates two new functions
calculateDTheta
andcalculateTheta
that are used to calculateTheta_*
andDTheta_*
variables. To re-use code, a switch case block is implemented in each function using the variablesubRoutine
. It would be nicer if thissubRoutine
was more explained (what subroutine is for what), and possibly used strings instead of integers to describe the cases.