a piece of code for a friction impact oscillator

c++ code using ubuntu and Siconos opensource software