get_children#
- get_children(domain, population=None)#
Get the children of the objects in the query. If no population is specified, get the children of all objects in the domain.
- Parameters:
- domainobject
The domain containing the objects.
- populationquery-like, optional
The query to select specific objects. If None, all objects in the domain are selected.
- Returns:
- children_idslist of lists
A list of lists, where each list contains the children of the object at the corresponding index in the query.
- object_indicesnumpy.ndarray
The indices of the objects selected by the query.