In buildGrid(), the user functions density() etc are not accessed until after the smoothing, which can take a minute or so. The presence of such functions in model.c is not tested until that point. It would be 'nicer' if the presence of the 5 mandatory functions was tested before smoothing so the user does not have to wait to be notified if they have failed to include one of them.
In
buildGrid(), the user functionsdensity()etc are not accessed until after the smoothing, which can take a minute or so. The presence of such functions inmodel.cis not tested until that point. It would be 'nicer' if the presence of the 5 mandatory functions was tested before smoothing so the user does not have to wait to be notified if they have failed to include one of them.