- TransientFourierConduction.num_throats(labels='all', mode='union')#
Return the number of throats of the specified labels
labels (list of strings, optional) – The throat labels that should be included in the count. If not supplied, all throats are counted.
mode (str, optional) –
Specifies how the count should be performed. The options are:
Returns the labels that are assigned to any of the given locations. Also accepts ‘union’ and ‘any’
Labels that are present on all the given locations. also accepts ‘intersection’ and ‘all’
Labels that are present on only one of the given locations.Also accepts ‘exclusive_or’
Labels that are not present on any of the given locations. Also accepts ‘not’ and ‘none’
Labels that are present on all but one of the given locations
Labels that are present on more than one of the given locations.
Nt – Number of throats with the specified labels
- Return type:
Technically, ‘nand’ and ‘xnor’ should also count throats with none of the labels, however, to make the count more useful these are not included.