AN OBJECT-ORIENTED ELECTROMAGNETIC PIC CODE

Citation
Jp. Verboncoeur et al., AN OBJECT-ORIENTED ELECTROMAGNETIC PIC CODE, Computer physics communications, 87(1-2), 1995, pp. 199-211
Citations number
18
Categorie Soggetti
Mathematical Method, Physical Science","Physycs, Mathematical","Computer Science Interdisciplinary Applications
ISSN journal
00104655
Volume
87
Issue
1-2
Year of publication
1995
Pages
199 - 211
Database
ISI
SICI code
0010-4655(1995)87:1-2<199:AOEPC>2.0.ZU;2-Z
Abstract
The object-oriented paradigm provides an opportunity for advanced PIC modeling, increased flexibility, and extensibility. Particle-in-cell c odes for simulating plasmas are traditionally written in structured FO RTRAN or C. This has resulted in large legacy codes which are difficul t to maintain and extend with new models. In this ongoing research, we apply the object-oriented design technique to address these issues. T he resulting code architecture, OOPIC (object-oriented particle-in-cel l), is a two-dimensional relativistic electromagnetic PIC code. The ob ject-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 algori thms and data into objects, simplifying extensions such as new boundar y conditions and field algorithms.