Suppose we are using ewald potential to calculate an electron-hole fluid bilayer system, or using 1/r potential to calculate isolated 2 electron 2 hole bilayer system, how can I calculate or extract the exchange energy of the system from CASINO calculations? I noticed that in the first case CASINO will always perform a HF calculation at first, but the obtained exchange energy is not varying against the interlayer distance. I wonder is this the full exchange energy or just calculating the intralayer exchange energy against a given density?