Skip to content

Commit ffe985b

Browse files
committed
Add warning about invariant check to general AGB constructor
1 parent e669bd1 commit ffe985b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/AstigmaticGaussian.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ This constructor supports modeling astigmatic sources where the waists in X and
128128
- `P0`: Total power in [W].
129129
- `E0`: Optional Jones vector for polarization.
130130
- `support`: Optional vector orthogonal to `direction` to define the X axis.
131+
132+
# Additional information
133+
134+
!!! warning "Optical invariant check"
135+
When using the `solve_system!` function, the beamlet invariant will be checked for each interaction. If the invariant is violated, tracing will be stopped.
131136
"""
132137
function AstigmaticGaussianBeamlet(
133138
position::AbstractArray,

0 commit comments

Comments
 (0)