Statistical mechanics ensemble.