massed_rebound#
- ptrace.massed_rebound(p0: str) int #
Turn on/off the use of massed particle rebound coefficients.
Only used if the “ptrace: mass_particles” setting is ON- Args:
- p0:
‘toggle’
ON
OFF
- Examples:
ensight.ptrace.select_default() ensight.ptrace.default_emit_pt() ensight.view_transf.cursor(7.1,6,0.) ensight.part.modify_begin() ensight.ptrace.massed_particles("ON") ensight.ptrace.massed_rebound("ON") ensight.ptrace.massed_rebound_wallhits(4) ensight.ptrace.massed_coef_restitution(0.8) ensight.ptrace.massed_coef_friction(1.000000e-01) ensight.part.modify_end() ensight.part.select_all() ensight.ptrace.create_pt()
- Returns:
zero on success, non-zero on error