I will be very happy if you would like to share your internal code with me. If you have enough time, I think we can have a Zoom call to discuss how the code works. You can send the code to my gmail box. I live in GMT+8 zone but please feel free to book the zoom call at any time (maybe except for Sunday).
I still have some question about MXB:
1. How does the internal version calculates effective polarizability? Is it a complete mb-pol PES or just a plugin for MBX?
2. Is the internal version based on mb-pol2016 or mp-pol2023?
3. I notice there are two files named perturb.h and perturb.cpp under the directory $MBX_HOME/plugins/i-pi/src/utils/. After reading the code, I find that the codes can calculate effective polarizability and relative derivatives. I am not sure if the codes can be used for MBX.
Thank you for your selfless help!
Best wishes,
Chongbin Wang