Implementation of pressureRelation