Looking at the examples, I get the idea of how fastfd defines a model, but I struggle to transfer this to a 1D setup. I am trying to model something like this
$$\frac{d C}{d t}
=
D_x \frac{d^2 C}{d x^2} - \omega \frac{d C}{d x} -f(x)$$
how would I define this equation, and how would I add a Dirichlet boundary condition for x = 0, and a Neuman condition for x[-1] ?
Thanks!