各位高手帮我翻译下这段英语吧!The Scatter class shown in Listing 5.7 calculates the trajectories by expressing the equation of motion as a rate equation. The most important method is calcul ateTrajectory, which calculates a trajectory b
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 15:56:50
各位高手帮我翻译下这段英语吧!The Scatter class shown in Listing 5.7 calculates the trajectories by expressing the equation of motion as a rate equation. The most important method is calcul ateTrajectory, which calculates a trajectory b
各位高手帮我翻译下这段英语吧!
The Scatter class shown in Listing 5.7 calculates the trajectories by expressing the
equation of motion as a rate equation. The most important method is calcul ateTrajectory, which calculates a trajectory by stepping the differential equation solver and adding the resulting data to a trail to display the path. Because the beam source is far away, we stop the calculation when the distance of the scattered particle from the target exceeds the initial distance. Note the use of the ternary ?: operator. This very efficient and compact operator uses three expressions. The first expression evaluates to a boolean. If this expression is true, then the statement after the ? is executed. If this expression is false, then the statement after the : is executed. However, because some potentials may trap particles for long periods of time, we also stop the calculation after a predetermined number of time steps.
各位高手帮我翻译下这段英语吧!The Scatter class shown in Listing 5.7 calculates the trajectories by expressing the equation of motion as a rate equation. The most important method is calcul ateTrajectory, which calculates a trajectory b
散射计算类显示在列表5.7通过展示的轨迹
对运动方程作为速率方程.最重要的方法,计算得到的calcul ateTrajectory轨迹的基本微分方程求解器增加的结果数据,并添加路径的显示了该路径.因为梁源很远的,我们停止计算距离的散微粒从目标超过最初的距离.注意:使用三元运算符.这非常高效、紧凑的经营者利用三种表现.第一个表达式计算一个布尔值.如果是这样的话,那么这个表达后的声明吗?开始运行.如果这个表达法是假的,然后声明后:开始运行.然而,因为一些潜力可能陷阱粒子上很长一段时间,我们也停止计算后一个预定的若干时间的脚步.