Objects and commands can be active or inactive based on the application state. The
is_active()
method returns True
if an
object or command is active at a particular time.
The get_active_child_names
method returns the list of active
children:
>>> solver.setup.models.get_active_child_names() ['energy', 'multiphase', 'viscous']
The get_active_command_names
method returns the list of
active commands:
>>> solver.solution.run_calculation.get_active_command_names() ['iterate']