https://1library.net/document/zlr7gw2z-numerical-methods-piecewise-deterministic-markov-processes-boundary.html