【24h】

Parsek

机译:帕塞克

获取原文

摘要

Previous plasma simulations have used Fortran or other computer languages in which it is difficult to directly express the underlying physics. In a plasma, each particle - electron, ion, or dust - interacts with the external fields and with other particles in ways that can be readily and effectively mimicked by object oriented programming. Thus, we have used JAVA's strong object design to rewrite traditional plasma simulation codes. By using coarse grain and fine grain object design, we incorporate the power of object oriented design for programming and for making the physics clear while paying only a small cost in increased computational time. The JAVA implementation has also the advantage that changes in the underlying physical model can be easily completed swapping or adding objects without large scale revisions of the code.
机译:以前的等离子模拟已经使用了Fortran或其他计算机语言,在这些语言中,很难直接表达基础物理学。在等离子体中,每个粒子(电子,离子或灰尘)都可以通过面向对象的编程轻松而有效地模仿,从而与外部场以及与其他粒子进行交互。因此,我们使用了JAVA的强大对象设计来重写传统的等离子体仿真代码。通过使用粗粒和细粒对象设计,我们结合了面向对象设计的功能来进行编程和使物理变得清晰,同时在增加的计算时间上只需付出很小的代价。 JAVA实现还具有以下优点:可以在不大规模修改代码的情况下轻松完成基础物理模型中的更改,以交换或添加对象。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号