An extension of the Kierlik-Rosinberg version of density functional theory
to the case of a polydisperse fluid of hard spheres in cont act with a sing
le wall and also adsorbed in slit-like pores is presented. A comparison wit
h Monte Carlo results show that the theory is capable of precisely reproduc
ing density profiles of a polydisperse fluid near a hard wall. Several mode
l calculations of adsorption in slit like pores are presented. The influenc
e of the confinement on the polydispersity, as compared with bulk fluid, is
discussed.