SKILL.md
Single-mode cavity workflows (MaxwellLink)
Use for fast prototyping
- Use
mxl.SingleModeSimulationwhen a 1-mode cavity surrogate is sufficient and Meep is too heavy.
Configure
- Set
dtau,frequencyau,dampingau,couplingstrength, andcoupling_axis. - Optional physics knobs used in strong-coupling workflows:
include_dse. - Drive routing knobs:
exciteph(defaultTrue) sends thedriveterm to the cavity EOM;excitemol(defaultFalse) adds thedriveterm to the effective electric field acting on the molecules alongcoupling_axis. Enabling both at once is allowed but emits a warning. - Thermal knobs:
temperatureau(a.u., default0.0) sets the thermal scale. Addinitializer="maxwellboltzmann"to seed initialqc/pcfrom a Maxwell-Boltzmann distribution, overriding any user-providedqcinitial/pcinitial. Addlangevintauau(Langevin relaxation time, a.u.) to thermostat the cavity momentum every step; leavelangevintauau=Nonefor NVE dynamics. Userandom_seedfor reproducible sampling/kicks. - Attach molecules in embedded or socket mode (same
Moleculeinterface as elsewhere).
Prefer templates
- Template:
skills/mxl-project-scaffold/assets/templates/singlemode-tls-socket-tcp
References
- Recipes:
skills/mxl-singlemode/references/singlemoderunrecipes.md - Docs:
docs/source/emsolvers/singlemode_cavity.rst