More generally partition (as a verb) means "to divide into parts" which is used for numerous purposes such as
-- to divide a country into parts (e.g. separate Pakistan and Bangladesh from India)
-- to divide a physical space with walls
-- to divide a population of molecules between molecules floating in the air and molecules stuck on walls