-
…ients argument (#1847) The eval_gradients() methods duplicate much of the code of the eval() methods. To increase the maintainability of the code, the eval_gradients() methods have been removed, and the computation of partial derivatives is now done by the eval() methods if the optional gradients argument is set to true.
-
The coding and design conventions (CDC) document was also updated.
-
All models derived from GModelData now need to implement a mc() method. The abstract mc() method returns a pointer to GEvents*, thus allowing a method to either simulate an event list or an event cube.
-
The isconstant() method signals if a model is temporally constant or not. This information can be used at an abstract level to perform yes or no a temporal integration of the model.
-
Type casting is now implement at the level of the GModels access operator, hence no explicit cast_ functions are needed anymore. They have thus been removed.