@cached<EOL><INDENT>def active_inactive(self):<DEDENT>
active_indices = []<EOL>inactive_indices = []<EOL>for index, active in enumerate(self.active):<EOL><INDENT>if active:<EOL><INDENT>active_indices.append(index)<EOL><DEDENT>else:<EOL><INDENT>inactive_indices.append(index)<EOL><DEDENT><DEDENT>return active_indices, inactive_indices<EOL>
The indexes of the active and the inactive cell vectors