Repository navigation
FAQ
In most atomic configurations, ELSEPA solves the Dirac partial-wave equations within a few seconds. However, non-zero ion charges (
This occurs because the long-range
The interface displays an explicit warning when this parameter combination is selected. During simulation, you can click the red Cancel button next to the elapsed-time indicator to immediately terminate the Web Worker without freezing the application.
The application accepts kinetic energies of 10 eV and above. ELSEPA 2021 itself stops below 5 eV; the application keeps the 10 eV limit used throughout its validation.
This limit is imposed directly by ELSEPA's Fortran source code:
-
Maximum limit (999 points): Subroutine
EFIELDinelsepa2020.freadsdensity.usrusing an internal array dimension ofNDIN = 1000. If it reads 1000 lines without reaching the end of the file, it aborts execution with the error message'File is too large'. Consequently, user density tables must contain at most 999 radial points. - Minimum limit (5 points): the application rejects shorter tables, which are too coarse to describe a density.
Yes. The simulator is designed as a Progressive Web App (PWA).
When you first load the application, the Service Worker (public/sw.js) precaches the frontend interface, styles, icons, and the complete ELSEPA WebAssembly package (elsepa.js, elsepa.wasm, and elsepa.data). Once cached, all simulations execute locally on your device within browser Web Workers, requiring no active network connection.
- Application Code: The code authored specifically for this project (React interface, TypeScript logic, Express server, build scripts) is licensed under the permissive MIT License.
-
ELSEPA Physics Engine: The official ELSEPA Fortran 90 sources in
fortran/, atomic data tables indata/, and compiled WebAssembly binaries inpublic/elsepa/are authored by F. Salvat, A. Jablonski, and C. J. Powell and are licensed under Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0).
Therefore, commercial use of the ELSEPA components or services derived from them is strictly prohibited. Use is permitted for non-commercial research, academic, and educational activities with proper citation.
All standard calculations are produced by the authentic, official ELSEPA 2021 Fortran 90 physics engine (Salvat, Jablonski, and Powell), either compiled to WebAssembly via f2c and Emscripten or compiled natively via gfortran.
The application never silently substitutes an approximate model for ELSEPA:
- If a native Fortran binary fails or is missing, the server returns an explicit HTTP 500 error, and the client executes the genuine WebAssembly ELSEPA engine.
- The repository includes a simplified TypeScript Dirac model ("TS Approximation"), but it is strictly opt-in, selectable only from the engine dropdown in the header, and always displays a prominent "Approximate result" warning banner. It is intended solely for qualitative demonstration when WebAssembly is unavailable.
At the explicit request of the original ELSEPA authors (Francesc Salvat, Aleksander Jablonski, and Cedric J. Powell), the earlier (2005) version of the code is no longer distributed with this software. The simulator runs the updated 2021 release (package elsepa-2020 with the RADIAL wave library; Comput. Phys. Commun. 261 (2021) 107704).
Application licensed under MIT; ELSEPA 2021 licensed under CC BY-NC 3.0. Found an issue? Report it on GitHub.