cf.AuxiliaryCoordinate.select

AuxiliaryCoordinate.select(*args, **kwargs)[source]

Return the instance if it matches the given conditions.

v.select(*args, **kwargs) is equivalent to v if v.match(*args, **kwargs) else cf.List().

See cf.Variable.match for details.

Parameters:
args, kwargs : optional

See cf.Variable.match.

Returns:
out : cf.AuxiliaryCoordinate or list

If the variable matches the given conditions then it is returned as an object identity. Otherwise an empty list is returned.

Previous topic

cf.AuxiliaryCoordinate.override_units

Next topic

cf.AuxiliaryCoordinate.setprop

This Page