Skip to content
Golam Kuadir Khan Prince edited this page Nov 19, 2026 · 1 revision

Frequently Asked Questions (FAQ)


Why does a simulation run slowly or appear to hang?

In most atomic configurations, ELSEPA solves the Dirac partial-wave equations within a few seconds. However, non-zero ion charges ($q \neq 0$) combined with correlation-polarization models converge very slowly in official ELSEPA 2021 (>15 minutes in benchmark tests).

This occurs because the long-range $r^{-4}$ polarization potential superimposed on the unscreened Coulomb tail of an ion requires matching partial waves out to exceptionally large radial distances.

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.


What is the minimum projectile energy accepted?

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.


Why is there a 999-point limit on user-supplied electron densities?

This limit is imposed directly by ELSEPA's Fortran source code:

  • Maximum limit (999 points): Subroutine EFIELD in elsepa2020.f reads density.usr using an internal array dimension of NDIN = 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.

Can I use the simulator offline without an internet connection?

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.


Can I use this software for commercial purposes?

  • 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 in data/, and compiled WebAssembly binaries in public/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.


Where do the calculation results come from? Are approximations used?

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.

Why is the 2005 version of ELSEPA no longer included?

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).

Clone this wiki locally