AN OBJECT-ORIENTED ELECTROMAGNETIC PIC CODE

AN OBJECT-ORIENTED ELECTROMAGNETIC PIC CODE
复制标题

DOI:
10.1016/0010-4655(94)00173-y
复制
发表时间:
1995-05-01
影响因子:
6.3
通讯作者:
GLADD, NT
GLADD, NT
中科院分区:
物理与天体物理2区
文献类型:
--
作者:
VERBONCOEUR, JP;LANGDON, AB;GLADD, NT

文献摘要

被引文献

相似文献

面向对象的范例为高级PIC建模、增加的灵活性和可扩展性提供了机会。模拟等离子体的粒子网格程序通常用结构化的FORTRAN或C语言编写。这导致了大量的遗留代码,难以维护和扩展新的模型。在这项正在进行的研究中,我们应用面向对象的设计技术来解决这些问题。由此产生的代码架构,OOPIC(面向对象的粒子在细胞),是一个二维相对论电磁PIC代码。该算法的面向对象实现,包括积分形式的场求解,分段电流沉积和粒子位置更新。该架构将关键PIC算法和数据封装到对象中,简化了新边界条件和字段算法等扩展。
The object-oriented paradigm provides an opportunity for advanced PIC modeling, increased flexibility, and extensibility. Particle-in-cell codes for simulating plasmas are traditionally written in structured FORTRAN or C. This has resulted in large legacy codes which are difficult to maintain and extend with new models. In this ongoing research, we apply the object-oriented design technique to address these issues. The resulting code architecture, OOPIC (object-oriented particle-in-cell), is a two-dimensional relativistic electromagnetic PIC code. The object-oriented implementation of the algorithms is described, including an integral-form field solve, and a piecewise current deposition and particle position update. The architecture encapsulates key PIC algorithms and data into objects, simplifying extensions such as new boundary conditions and field algorithms.