Sample API: disable Layout::setTotalParticleSurfaceDensity where redundant

If a layout has a lattice, or anything similar, then the density is already fully determined, and it makes no sense to set (override?) it using setTotalParticleSurfaceDensity