In a compartmental manner; in a way that separates things into distinct, isolated sections.
From 'compartmental' (adjective) + '-ly' (suffix forming adverbs). The adverb form allows the concept to modify verbs and other adverbs.
Computer scientists speak of organizing code 'compartmentally' using what they call 'modular programming'—the same organizational principle that's been used in architecture for 500 years.
Complete word intelligence in one call. Free tier — 50 lookups/day.