SciML / DiffEqDevTools.jl

Benchmarking, testing, and development tools for differential equations and scientific machine learning (SciML)
https://benchmarks.sciml.ai/
Other
46 stars 35 forks source link

Error reduction function #5

Open ChrisRackauckas opened 7 years ago

ChrisRackauckas commented 7 years ago

@devmotion 's Quorum Sensing problem is an interesting case where the "full error" is not what we really want, but a more refined function for how to calculate the error. This is because in that case we really want just the error of the third component. We can probably add an error function to the benchmarking tools that lets you choose how to collapse the difference.

ChrisRackauckas commented 6 years ago

The better way to do this is to just add a reduction function that allows the user to specify how to reduce the solution, and have that default to norm. Then you just just measure the error on specific indices, or measure errors of functions of the solution quite easily.