I am doing some heterostructure calculation. In this calculation, I have to plot planar average and macroscopic average of potential. I have generated LOCPOT file from vasp. But do not know procedure of plotting macroscopic potential. I found a script but i think this is for one material not of heterostrucutres. Link and shap of graph is given below.

https://github.com/WMD-group/MacroDensity/blob/master/InputControl.py

Similar questions and discussions