rot_angle#

ptrace.rot_angle(p0: float) int#

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

When a particle begins experiencing rotational effects, the integration step typically needs to be decreased. This attribute is one of the controls for such adaptation.
Args:
p0:

‘value’ desired rotational angle (in degrees). If the change in rotation angle is greater than this, the integration step will be halved. 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
# (rot_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