精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • 英語翻譯

    英語翻譯
    The scattering program requires the Scatter,ScatterAnalysis,and ScatterApp
    classes.The ScatterApp class in Listing 5.6 organizes the startup process and creates the visualizations.As usual,it extends AbstractSimul ati on by overriding the doStep method.However,in this case a single step is not a time step.A step calculates a trajectory and scattering angle for the given impact parameter.After a trajectory is calculated,the impact parameter is incremented and the panel is repainted.If necessary,you can eliminate this visualization to increase the computational speed.If the new impact parameter exceeds the beam radius bmax,the animation is stopped and the accumulated data is analyzed.Note that the cal cul ateTrajectory method returns true if the calculation succeeded and that an error message is printed if the calculation fails.Including a failsafe mechanism to stop a computation is good programming practice.
    人工翻譯,谷歌翻譯的錯(cuò)誤太多!
    英語人氣:981 ℃時(shí)間:2020-01-10 16:20:44
    優(yōu)質(zhì)解答
    散射程序要求散射開ScatterAnalysis和ScatterApp類程序6中的ScatterApp類系統(tǒng)化啟動步驟并且創(chuàng)建可視化.它用最重要的doStep方法繼承抽象模擬.可是,在這種情況下,單一的步驟不是一個(gè)時(shí)間間隔.一個(gè)步驟計(jì)算軌道和碰撞系數(shù)得出的散射角.但軌道被計(jì)算出來后,碰撞系數(shù)在增加并且面板被重新繪制.如果需要,你可以消除可視化來增加計(jì)算速度.如果新的碰撞系數(shù)超過了最大束半徑,動畫停止并且分析積累的數(shù)據(jù).注意,如果計(jì)算成功,calculateTrajectory方法返回true,如果計(jì)算失敗,一條錯(cuò)誤的消息顯示出來.包含一個(gè)故障防護(hù)機(jī)制去停止計(jì)算是一個(gè)很好的程序編制習(xí)慣.
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點(diǎn),以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權(quán)所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機(jī)版