Hello everyone, I'm writing a little program and I want to calculate the distance between atom A and the nearest image of atom B. I imagine a function is already implemented but I can't find it, could anybody tell me what it's called? Thank you in advance, Michael