jlperla / continuous_time_methods

MIT License
23 stars 15 forks source link

How do the boundary values change if the upwind scheme changes (i.e. sign of $\mu$) #7

Closed jlperla closed 7 years ago

jlperla commented 7 years ago

While the code is written for generic upwind and downwind processes, the baseline has the same sign for all $x$.

The question is:

For example, in the $\mu < 0$ the complication at the right hand side was that for a maximum of $N$ points, it was trying to reference the $N+1$ due to the 2nd derivative. The first derivative was upwind and using backward differences so didn't reverence the $N+1$ directly.

jlperla commented 7 years ago
jlperla commented 7 years ago

Most of this was completed. Closing and separate verification later.