The pseudo-code in appendix is actually usable C++ code. However, it implements a fraction of the paper (the non penetration constraint in the optimizer, not the entire simulation).
If you want to contribute with another review, please follow these instructions.
Please consider to cut/paste/edit the raw JSON data attached to this paper.