modify the interface of the cloth solver