In our case, this corresponds to the different orientations and conformations of the OFM molecules for each distance to the surface. Finally, the PMF is calculated from the mean force profile, since the average force exerted by the system onto the colvar is the gradient of the free energy profile along the colvar with a sign change: