GollyGang / ready

A cross-platform implementation of various reaction-diffusion systems and PDEs.
GNU General Public License v3.0
761 stars 60 forks source link

Provide bilaplacian, x_gradient, etc. when needed #87

Closed timhutton closed 3 years ago

timhutton commented 3 years ago

This would allow more rules to be formula rules rather than full kernels.

Scan the formula for reserved keywords (laplacian_a, bilaplacian_b, x_gradient_a, etc.) and provide the ones that are used.

danwills commented 3 years ago

Great plan! Would be really cool if it only computed each 'built-in' component if they were used in the formula, then we could add all sorts of things like curl/divergence, various gradients, complex number operations, convolutions, all sorts of possibilities