krakentools.containers.condense_node_branch

krakentools.containers.condense_node_branch(nb_cl)

Condenses the energy group data in a single node branch object. Used to parallelize the condensation of a large number of node branches.

Parameters:

nb_cl (Tuple[NodeBranch, List[int]]) – A Tuple / Zip of the

NodeBranch object to condense and the condensation list.

Returns:

A NodeBranch condensed from the original one.

Return type:

NodeBranch