Installation

You need Python 3 and all dependencies of SurfaceTopography to install ContactMechanics. More details on the installation of dependencies are provided in SurfaceTopography’s installation instructions.

Direct installation with pip

ContactMechanics can be installed by invoking

python3 -m pip  install [--user] ContactMechanics

Updating ContactMechanics

If you update ContactMechanics (whether with pip or git pull if you cloned the repository), you may need to uninstall NuMPI, muSpectre and or runtests, so that the newest version of them will be installed.