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
中科院分区:
文献类型:
--
作者:
VERBONCOEUR, JP;LANGDON, AB;GLADD, NT
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.