Coarse-grained models for local density gradients.