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. |
|
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 |
|
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 and utilities
Default |
|
Physical constants used by the pump energy-to-photon conversion. |
|
Map point-centered |
|
Namespace of backend strings accepted by |
|
Write HASEonGPU wedge data to a ASCII VTK file. |
|
Write a |
Lower-level compatibility helpers
Run ASE using the historical direct Python signature. |
|
Run one pump update over all transverse points and z levels. |
|
Return |
|
Return |
Module Summaries
These modules back the public API. They are documented for users who need to inspect implementation-level helpers or extension points.
Geometry, topology, and gain-medium state containers for Python users. |
|
gmsh import helpers for planar triangle meshes. |
|
Read and write legacy ASCII VTK wedge meshes for gain media. |
|
Laser spectra and pump-beam configuration used by the Python interface. |
|
Pump integration routines for evolving the excited-state fraction beta. |
|
High-level Python simulation wrapper around pump, ASE, and time stepping. |
|
Time-integration solvers for the point-level beta population arrays. |
|
|
Write HASEonGPU wedge data to a ASCII VTK file. |
|
Run ASE using the historical direct Python signature. |