fork of dualsphysics code