As mentioned above, a diathermal wall may pass energy as heat by thermal conduction, but not the matter. A diathermal wall can move and thus be a part of a transfer of energy as work. Amongst walls that are impermeable to matter, diathermal and adiabatic walls are contraries.