Wetting and drying of an inert wall by a fluid in a molecular-dynamics simulation.