massed_coef_restitution#
- ptrace.massed_coef_restitution(p0: float) int #
Set the coefficient of restitution for use with the massed particle rebound capability
- Args:
- p0:
‘rebound’ coefficient of restitution
- 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