Python API Reference
This page is generated from the Python objects exposed by HASEonGPU. It is
the reference page for signatures, class members, functions, and direct object
lookup. For workflow-oriented explanations and complete simulation examples,
start with the Python Interface Guide.
Public API
Geometry and gain media
Regular rectangular helper that generates a 2D triangular base mesh. |
|
Triangular base mesh extruded through z levels into wedge prisms. |
|
Mesh plus material/state properties required by ASE and pump models. |
|
gmsh-backed mesh data accepted by |
Spectra, pump, and ASE configuration
Absorption and emission spectra for ASE and pump calculations. |
|
Mutable low-level laser-property store. |
|
Generic pump-radiation profile consumed by pump transport solvers. |
|
Pump-beam settings used to raise the excited-state fraction |
|
Configure and run the ASE flux calculation for one gain-medium state. |
Simulation and time integration
High-level pump, ASE, fluorescence, and time-integration loop. |
|
Snapshot handed to |
|
Derivative evaluation produced during one time-integration stage. |
|
Return object from |
|
Base protocol for custom beta time-integration solvers. |
|
First-order explicit Euler beta update using one RHS evaluation. |
|
Euler source update with analytical fluorescence decay over |
|
Fourth-order beta update with one frozen ASE transport solve per step. |
|
Second-order predictor-corrector beta update using two RHS evaluations. |
|
Fixed-point implicit Euler beta update for stiff beta dynamics. |
|
Second-order midpoint beta update using a half-step RHS evaluation. |
|
Classical fourth-order Runge-Kutta beta update using four RHS evaluations. |
Pump solvers, field helpers, and utilities
Default |
|
Pump solver using z-aligned 1D traversal. |
|
Return frozen-state pump contribution using a 1D z traversal model. |
|
Physical constants used by the pump energy-to-photon conversion. |
|
Map point-centered |
|
Calculate point-shaped local small-signal gain from a |
|
Namespace of backend strings accepted by |
|
Write scalar data on a wedge mesh to a legacy ASCII VTK file. |
|
Write a |
|
Append one simulation state to an openPMD series and write a ParaView handle. |
The unitDimension namespace is exported from HASEonGPU and contains
predefined openPMD unit-dimension tuples for HASE transport variables and common
dimensions.
Compatibility helpers
Run one pump update over all transverse points and z levels. |
|
Return |
|
Return |