min_angle#

ptrace.min_angle(p0: float) int#

Sets the minimum angle between successive particle trace line segments that will trigger a doubling of the integration step.

When a particle trace is not curving, the integration step can typically be increased. This attribute is one of the controls for such adaptation.
Args:
p0:

‘value’ desired minimum angle (in degrees). If the angle between successive segments is less than this, the integration step will be doubled. The range is 1.0 to 90.0 degrees

Examples:
#
# Selecting the trace(s)
#
ensight.part.select_begin(7,8)
#
# Modifying attributes for the two selected trace parts
# (min_angle is modified in here)
#
ensight.part.modify_begin()
ensight.ptrace.min_steps(3)
ensight.ptrace.min_angle(3.0000e+00)
ensight.ptrace.max_angle(2.0000e+01)
ensight.ptrace.rot_angle(3.2000e+01)
#
# Updates the traces with the modified attributes
#
ensight.part.modify_end()
Returns:

zero on success, non-zero on error