This interface serves as a filter for geometries containing dummy atoms (element = "X"), passing a geometry with dummy atoms removed for the actual calculation. In the other direction, the dummy atoms are added back to the results, with zero gradient on them.