PICMI & AMI
Warning: This repository is now obsolete. A new repository is now hosted on Github: https://github.com/picmi-standard/picmi
The Particle-In-Cell Modeling Interface (PICMI) and Accelerator Modeling Interface (AMI) standards establish conventions for the naming and structuring of input files for Particle-In-Cell and particle accelerator simulations.
The goal of the standard is to propose a set (or dictionary) of names and definitions that can be used in simulations, with as little changes as possible between codes.
Just as two persons do generally not use the exact same set of words from a dictionary (whatever the language), each code will use syntax (associated with unique functionalities of the code) that others will not. However, it is expected that, just like two persons will use and understand the same words and syntax for the most common topics, codes will share the same language for common definitions and tasks.
For example, it is expected that most PIC codes can share the same syntax to define a grid, a commonly-used field solver, a set of particles, etc. On the other hand, only a subset of the codes will offer, e.g. mesh refinement, field ionization, or code steering by the user. In this case, it is up to the implementation with each code to decide whether to ignore, raise a warning or an error, when an undefined statement is encountered. For more flexibility and robustness, conditional statements are available to the user to execute or read lines of the input script, based on the targeted code.
The intent is for the standard to be agnostic of the language of implementation, which can then potentially be performed using JSON, Python, FORTRAN or other means.
The most basic components of the standard have been defined and are being refined. New components are being added.
Input scripts using part of the PICMI standard are being developed for Langmuir waves or plasma acceleration simulations for Warp and WarpX. The goal is to convert them to PICMI entirely, as the standard matures.