replace references to pore.map and throat.map with geom.map_pore() etc.