The program used the band offset ratio to calculate the energy difference between two material. However, the user can use the affinity command to override the use of band offset ratio
For two different materials,the ΔEc=offset×(EgA−EgB). It will be changed to ΔEc=χA−χB)