1.5 KiB
1.5 KiB
meanas
meanas is a Python package for finite-difference electromagnetic simulation.
It combines:
meanas.fdfdfor frequency-domain operators, sources, waveguide modes, and SCPMLmeanas.fdtdfor Yee-grid timestepping, CPML, energy/flux accounting, and phasor extractionmeanas.fdmathfor the shared discrete operators and derivations underneath both solvers
This documentation is built directly from the package docstrings. The API pages are the source of truth for the mathematical derivations and calling conventions.
Examples and API Map
For most users, the tracked examples under examples/ are the right entry
point. They show the intended combinations of tools for solving complete
problems.
The API pages are better read as a toolbox map and derivation reference:
- Use the FDTD API for time-domain stepping, CPML, and phasor extraction.
- Use the FDFD API for driven frequency-domain solves and sparse operator algebra.
- Use the Waveguide API for mode solving, port sources, and overlap windows.
- Use the fdmath API for the lower-level finite-difference operators and the shared discrete derivations underneath both solvers.
Build outputs
The docs build generates two HTML views from the same source:
- a normal multi-page site
- a print-oriented combined page under
site/print_page/
If htmlark is installed, ./make_docs.sh also writes a fully inlined
site/standalone.html.