void find_polarizability(
const std::vector<int>& type,
const std::vector<double>& box,
const std::vector<double>& position,
std::vector<double>& polarizability // 6 components, for the whole box, in the order of xx, yy, zz, xy, yz, zx
);
Also need to change nep4 to nep4_dipole or nep4_polarizability in nep.txt (similarly for NEP2 and NEP3 models). This will be taken care of by future GPUMD: https://github.com/brucefan1983/GPUMD/pulls
To solve #22
added the following interface function:
Also need to change
nep4
tonep4_dipole
ornep4_polarizability
innep.txt
(similarly for NEP2 and NEP3 models). This will be taken care of by future GPUMD: https://github.com/brucefan1983/GPUMD/pulls