> 英语 >
各位高手帮我翻译下这段英语吧!
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.
人气:123 ℃ 时间:2020-01-03 22:33:05
解答
散射计算类显示在列表5.7通过展示的轨迹对运动方程作为速率方程.最重要的方法,计算得到的calcul ateTrajectory轨迹的基本微分方程求解器增加的结果数据,并添加路径的显示了该路径.因为梁源很远的,我们停止计算距离的...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版