By: Kaapo Seppänen <seppanenkaapo@gmail.com>
deduplicate thermal definitions and centralize vacuum subtraction