Changelog

Release · v2.2.0MarkdownLLM docs
이 페이지의 내용

See the deprecation policy for replacement and removal timelines.

This page summarizes user-visible changes: what moved, and what to change in your scripts. The repository’s CHANGELOG.md has the full detail, including the measurements behind each entry.

v2.2.0 — November 16, 2026

2.2 moves results with subpixel smoothing where dielectric bodies touch, nest, repeat a permittivity or are thinner than a cell; with coaxial ports, whose waves now refer to the line the mesh builds; with float32 Drude and Lorentz media; with waveguide S records, waveguide ports on square and 2:1 apertures, conformal PEC in waveguide S, a one-cell PEC box on a node plane, and directivity and gain on a φ grid that repeats the 0/2π seam or is uneven. Re-run any comparison that uses one of them. Several inputs that ran before are now refused: points inside the CPML pad, metal whose solved size misses its drawing by more than 1 % under strict snap, a second waveguide port in one record, a dielectric sphere or rod too small to hold a cell, an oblique plane wave over a structure that varies along the tilt axis, an oblique Bloch plane wave with subpixel smoothing, conformal PEC or pole media, a traced ring-down drive or pinned-sheet index, a lumped element on an edge a pinned-sheet layout switches, and run() with no S argument beside a microstrip or Floquet port where it forms lumped/wire S.

Changed

  • A dielectric Sphere, or a Cylinder crossed through its radius, too small to hold a cell is refused at every position (#2703): a body that is not PEC whose radius is below half the diagonal of the cell containing its centre (0.866 of the cell on a uniform mesh; 0.707 for a Cylinder’s cross-section). Before, it ran at some positions and was refused at others, so a position sweep or gradient could cross from a result to a refusal. preflight() warns for a dielectric body under three cells across; such a body is over-polarized (see known limitations).
  • A probe, point source or port inside the CPML pad is refused (#2517). It was a warning. Set allow_in_absorber=True on the individual add_* call to keep the position; the attenuation warning remains. A position beyond the grid is always refused. On a graded grid the opt-in now uses the padded node index; these points used to move to the interior edge.
  • Off-grid metal whose solved size misses its drawing by more than 1 % is refused under strict snap and warns under declared snap (#2439). Material volumes warn in either mode, with the extent and centroid differences in one message per volume. Conductors a port builds (wire-port wires, the coax pin and shell) are judged by the port instead.
  • subpixel_smoothing="kottke_pec" with a PEC volume warns that it is experimental and not recommended for metal (#2403); see the known limitation “A metal face resting on a dielectric between grid nodes”.
  • Resonance lists use the ring-down matrix pencil (#2478). rfx.matrix_pencil, Result.find_resonances and matrix_pencil_from_probe give the same frequencies and Q on decaying modes to float64 rounding. Records with a peak below about 1e-27 now return their modes, and an all-NaN record returns an empty list instead of raising LinAlgError. On a lossless record the reported Q can change; the frequency does not.
  • Multi-device uniform runs use the one-device time step on each slab (#2355, #2413), closed-box TF/SF included. Results are bit-identical. Multi-device graded runs no longer copy the whole Ez slab each step (#2428): about 3 % faster on two GPUs, with gradients on the exchanged row moving by float32 rounding.
  • Each run carries one measurement plan built from its own grid, conductors and periodic flags (#2424, #2459, #2499, #2525, #2572). One-device runs record probes, ports, DFT planes, flux, far-field boxes and current moments from it. Results are bit-identical, except that waveguide V/I records may move by float32 rounding of the aperture sum. A traced probe, plane, flux or NTFF position is refused before the first step with TracedStructureRefusal.
  • Internal modules moved; public imports are unchanged. Private modules live in rfx._internal (#2333); the S-parameter calculators are split into private stages (#2387, #2388, #2389, #2399); far field, probes, S-parameter helpers and coax records are built in rfx.measurement (#2493, #2606, #2617, #2642); coax, lumped and wire stamping and Debye coefficients are built in rfx.model (#2578, #2591, #2597). Every old public import path gives the same object; the private paths rfx._realized and its siblings are gone.
  • Docstrings state what the code does without tracker numbers, dates or attributions (#2310, #2648). No executable code changed.

Added

  • Simulation.add_wall_loss: conductor loss on PEC solids and domain faces (#2566, #2615). Declare a frozen-frequency loss with sigma_bulk, f0 and a shape or faces. A 30 × 12 × 24 mm cavity’s TE101 Q matches the closed form per wall pair within 1 % on a 1.5 mm mesh and 0.22 % on 0.75 mm. Paths that do not carry the declaration refuse it by name.
  • Spatial Drude and Lorentz pole maps (#2658): one pole whose strength and damping are functions of the cell-centre coordinates (LorentzPoleMap, drude_pole_map, lorentz_pole_map), on uniform and graded meshes. A map with one value everywhere gives the scalar pole’s fields bit for bit. Multi-device, subgridded runs and design export refuse maps by name.
  • rfx.RelativeStrength(reference, value) for a Lorentz or Drude strength (#2581), so its float32 reverse gradient no longer flushes to zero. drude_pole(..., density=...) and lorentz_pole(..., relative=True) accept the dimensionless form.
  • precision="float64" on single-device graded Yee meshes (#2538): run(), forward(), the waveguide S-matrix and the wire/lumped S calculator. Uniform float64 CPML now forms its coefficients in float64.
  • Lumped RLC elements and wire ports with a radius on several devices (#2243, #2590), uniform and graded, through run(devices=...) and forward(distributed=True), using the one-device element and radius models.
  • Differentiable ring-down poles (#2494, #2634). forward(ringdown=...) returns poles for both windows; select a resonance with pole(f_target) to differentiate its frequency and 1/Q. gradient_witness(..., against= "longer_record", pole_target=f) compares the pole selection of the two records and returns judged=False when it cannot judge.
  • Uniform forward() and lumped/wire S scans carry the default conformal PEC that run() uses (#2595). Material and source parameters may be differentiated; traced PEC geometry stays refused.
  • A realized-geometry table on run and forward results (#2353): declared and solved spans, misses in cells and percent, and placement shifts. Preflight findings name the affected objects by their realization labels and carry grid bounds (#2470).
  • Coax one-port settling (#2506): reflection results carry settling_db and settling_witness for short, open and matched loads, with the two-port’s −40 dB check.
  • Preflight warns where an f0 surface-impedance sheet loses its conductor loss (#2504): conductors on both sides, or edges shared with PEC. An f0 sheet on a PEC domain face is refused.
  • A warning on Linux hosts whose vm.max_map_count is below 262,144 (#2432), with remedies for compiling many distinct grids.

Fixed

  • Subpixel smoothing reads touching, nested, thin and repeated dielectric bodies as declared. Re-run any smoothed model with touching or thin dielectrics.
    • Touching volumes of different permittivity use both bulk values (#2386): in a PEC cavity with touching εr 3.38 and 10.2 layers, the 0.5 mm mesh’s TM resonance error goes from +1.5171 % to −0.0571 %. Touching shapes of one permittivity read its bulk value at the shared face (#2392).
    • A later shape whose εr repeats an earlier one is painted in declared order (#2567). An εr 4 Box nested in an εr 10.2 Box read 10.2 inside when another εr 4 shape was declared first.
    • A dielectric gap thinner than half a cell is seen (#2623): two εr 4 Boxes with a 0.1 mm gap on 0.5 mm cells read 2.5 across it instead of 4.0.
    • A Box, or a Cylinder cut cap to cap, thinner than a cell reads its own thickness and the medium on both sides (#2659): on a uniform mesh an εr 4 slab 0.3 of a cell thick reads Ez 1.290, the series average (it read 1.429). A thin Sphere keeps the earlier rule (known limitations).
    • "full_tensor" no longer jumps at a Box edge on a grid node (#2497). With a Box in the scene, a traced shape coordinate or mesh profile is now refused by name under "full_tensor".
    • The lumped/wire S-matrix scan and rfx.runners.run_uniform, called directly with boundary="upml" and "full_tensor", applied only the tensor’s diagonal (#2751): S moved by up to 2.9e-3 on an εr 4 sphere. They now refuse it by name, as run() and forward() do, and the direct scan refuses a traced eps_r under "full_tensor".
    • Beside a periodic seam, conformal PEC and dielectric smoothing read the nearest image (#2600).
    • jax.grad, jax.jit and jax.vmap over eps_r pass through smoothing (#2462); they stopped with TypeError: unhashable type. "full_tensor" refuses a traced eps_r by name.
  • Coaxial ports refer their waves to the line the mesh builds (#2490). The 50-ohm S parameters use the built line impedance (40–44 ohm for a drawn 48.6 ohm on the tested meshes), and line_impedances reports it. A matched coax through-line now reads a 50-ohm |S11| of up to about 0.14, from the staircased line, not the port. Coax matched sheets keep the line’s dielectric (#2589): the matched reflection reads −31.9 dB at 0.4 mm, where it read −40.2 dB.
  • Float32 Drude and Lorentz media no longer grow without bound or shift ε below the plasma frequency (#2582). A Drude-filled PEC box resonates within 3.5e-7 of the closed form; the float64 workaround is no longer needed.
  • A float64 run with UPML or an oblique Bloch TF/SF source is refused (#2630); it stepped in float32. Use boundary="cpml", normal incidence or precision="float32".
  • Waveguide ports.
    • On an aperture where the requested mode shares its discrete cutoff with another (TE10 and TE01 on a square guide, TE01 and TE20 on a guide twice as wide as high, in whole cells), the default port profile was a mix chosen by the eigensolver, 0.707/0.707 on a square guide, and could differ between machines (#2730). The port now launches and reads the requested mode itself; every other aperture is unchanged bit for bit.
    • An N-step run’s waveguide V/I record holds N samples (#2510). On a settled 40-period WR-90 record S moved by at most 1.9e-5; a record that ends with field still in the guide moves more (1.6e-2 on a 4-period WR-90 record).
    • Modes at or below cutoff report NaN for every affected S entry, with one warning (#2676); before, |S| could reach 7.5e25.
    • A second waveguide port in one forward() or graded run is refused (#2488); each port’s S11 included the other’s drive. Use compute_waveguide_s_matrix() for multiport S.
    • With f0 omitted on a graded mesh, the port is driven at the centre of its measurement band, as on a uniform mesh (#2465, #2475). It was driven at freq_max/2: 6.2 GHz for freq_max=12.4 GHz, below the WR-90 TE10 cutoff.
    • Waveguide S with conformal PEC uses one metal model (#2580): on a WR-90 PEC sphere, |S11| falls by 1.85–4.32 dB depending on the mesh.
    • Preflight uses the solver’s side order and cutoff (#2552).
    • A low-level waveguide port whose aperture includes the node row beyond a high electric wall is refused against a uniform Grid, with the cell span to use (#2696); its second-mode S entries could be wrong by more than their size. Built from a scalar dx or a graded grid, it warns.
    • compute_waveguide_s_matrix refuses a waveguide port declared with amplitude 0.0 (#2727); it could return an all-zero S column. Every port it drives needs a nonzero amplitude.
  • A one-cell-thick PEC box on a node plane is kept (#2580). run() dropped it: behind such a short the Ez energy relative to the front was 1.0003; it is now 0.
  • Low-level runs whose pec_axes withholds a face’s PEC (#2615). A face with neither a wall nor an absorber now ends as a magnetic wall half a cell outside it, so resonances move: a 24 mm cube with pec_axes="" goes from 5.09 to 8.48 GHz. A low-level WaveguidePort given the whole node plane drives and reads the row outside the high wall: in a two-mode test its second-mode S entries move by 11 % of the largest flux-extracted entry; this port change does not reach Simulation ports. A uniform-mesh Simulation without wall loss moves too: four of the 20 shipped examples, all with a CPML, move. Three gradient examples move at rounding level (losses by 5e-7 to 3e-6 relative), and the far-field example’s printed ring-down settling level moves from -66.8 to -80.2 dB, a change of the pole fit behind that level and not of the field, while its directivity stays 1.761 dBi: the probe’s field moves by at most 1.1e-5 of its peak, the fit over the main window no longer returns a slow non-oscillating pole (the tail’s share of the 8 GHz transform falls from 4.6e-4 to 9.8e-5), and the fit over the check window returns it before and after (5.1046e-4 against 5.1053e-4; #1687).
  • Microstrip ports. A mode="uniform" port on a graded grid gets the uniform feed (#2641): uniform and graded runs give equal S on identical cells. compute_coax_msl_transition refuses MSL modes other than "laplace" (#2646).
  • Wire ports. With reference_plane_cells on every wire port, run() returns S between the planes in one wave definition (#2509): |S11| of a 16 mm thru is 0.0005–0.0025. run() refuses the option when fewer than two wire ports are in the S solve, and a partial opt-in. forward() refuses reference_plane_cells, which it ignored (#2492). The radius advisory names the finest mesh of a refinement ladder (#2479, #2678), and a YAML config’s wire port accepts radius (#2536).
  • run() with no S argument refuses what compute_s_params=True refuses (#2764). Beside a microstrip or Floquet port it formed lumped/wire S from a record that port also drove: a wire port beside an excited microstrip port on one line read |S11| up to 0.89 off over 1.51–3.44 GHz, with a false match of 0.027 at 2.34 GHz where the port driven alone reads 0.26. Where it forms lumped/wire S, such a model is now refused before stepping, whether or not the other port drives, and so is a periodic axis. A waveguide port beside an excited microstrip port is refused in run() and forward(), also when the waveguide port is passive. Use compute_mixed_s_matrix() for lumped/wire with microstrip S, or run(compute_s_params=False) for fields.
  • Directivity and gain on a φ grid that repeats the 0/2π seam or is unevenly spaced (#2639) read low, and antenna_efficiency() read high. They now use periodic weights that sum to 2π. A repeated seam on N samples read low by 10·log10(N/(N−1)) dB: 0.09 dB on 49 samples. On φ = [0, 1, 2, 5] rad a Hertzian dipole reads 1.7609 dBi, where it read 1.2917 dBi. A θ grid may now stop up to 0.02 rad short of a pole beyond its end sample’s cell.
  • Far-field gradients keep one NTFF face’s phase factor at a time (#2448), so their memory falls to about 0.13 of the full phase array. Split and unsplit calls agree to float rounding, no longer to the bit. On a flat NTFF box the transform is slower: 0.7 s to 2.1 s for the far-field step alone on a 64×64×6-cell box, and 1.22–1.24× for a whole differentiated run at 200 steps.
  • Plane waves. The default TF/SF pulse starts without a jump (#1952), so run(until_decay=) stops on an empty open box; results normalized by the incident spectrum move by about 5e-5. A graded-mesh plane wave with "full_tensor" smoothing is admitted when nothing varies across it (#2433). An oblique plane wave over a structure that varies along the tilt axis, with absorbing side faces, is refused (#2705): it was solved as an array of the padded period, 2.3–3.5 dB off in transmission on a 16 mm-period bar at 1 mm cells. For one scatterer use add_tfsf_source(closed_box=True, theta_deg=...) with CPML on all six faces; for an array, declare that axis periodic. A plane wave at 0 < |angle_deg| ≤ 0.01°, which the source launches at normal incidence, is now judged as at 0° (#2720): on the graded mesh a structure finite along the tilt axis is refused, where it ran unchecked, and compute_rcs takes its normal-incidence route. An oblique Bloch plane wave is refused with subpixel smoothing, conformal PEC, a Kottke PEC occupancy override, Debye or Lorentz poles, or an anisotropic tensor given to the low-level run (#2736): their electric-field updates do not apply the Bloch phase. On a 24 mm εr 4 slab at 30°, smoothing gave |T| 0.832 against the Airy value 0.749 (+0.91 dB), and pole media stopped with a raw TypeError. Use normal incidence, or turn that input off.
  • until_decay in a closed box on the uniform mesh stops on the after-drive energy (#2420), as on the graded mesh; a lossy cube stopped at step 400 with 98.4 % of its after-drive energy left. A lossless closed box runs to decay_max_steps with a cap warning instead of stopping on a quiet sample. decay_monitor_component and decay_monitor_position raise a DeprecationWarning.
  • Admission and setup.
    • topology_optimize() and multiport run() S admit a CPML domain that forward() admits (#2483).
    • A soft point source is no longer listed as a lumped port (#2444); add_port and add_msl_port refuse a non-finite impedance.
    • A shape crossing the absorber on two axes gets a finding for each (#2553).
    • Settling checks drop channels at a voltage null (#2507).
    • A float32 graded profile whose end cells equal the boundary width within float32 resolution is admitted (#2460).
    • On the graded mesh, forward(pinned_sheet_layout=...) refuses every lumped RLC element on an edge the layout switches, at every layout value (#2763). A parallel R, C or R–C element there was shorted while the sheet was on, and the run returned the board without the element and no warning. Move the element or the layout switch off that edge.
  • Speed and memory.
    • A watertight imported mesh’s occupancy is counted per grid line (#2612): a 20,480-triangle sphere took 9 min and 34 GiB, now 0.06 s.
    • Graded setup no longer spends 0.5 ms per declared point (#2680).
    • Preflight’s cached products are released before the solve (#2265); Simulation.clear_inspection_cache() frees them.
  • Multi-device under jax.jit and jax.grad. Constant Lorentz materials run under a caller’s jax.jit on several devices (#1844); such a run holds more setup constants on each device (known limitations). A gradient over one packed parameter array on the graded multi-device path returns instead of raising Received incompatible devices (#2412).
  • Ring-down completion and pinned sheets refuse traced inputs they mishandled (#1961). Under jax.grad, jax.jit or jax.vmap, forward(ringdown=...), run(ringdown=...) and until_identified=True skipped the source-off check for a drive with a traced waveform, so a drive still at full strength inside the identification window completed with finite S. Such a drive is refused: declare the waveform with concrete values (S does not depend on the drive’s amplitude), or pin dt= on a traced mesh. A gradient through add_pinned_sheet’s node indices was exactly zero; a traced index is refused, and the sheet moves continuously when the cell widths around a fixed index are traced. A forward(ringdown=...) completion whose checks fail still warns nothing; read report.ok (known limitations).

v2.1.0 — November 3, 2026

2.1 moves results with conformal PEC, subpixel smoothing on non-cubic or graded cells, dielectric Box faces that lie between mesh nodes, waveguide S with normalize=True, Floquet reflection, and the default waveguide port bins on uniform forward() and graded runs. Re-run any comparison that uses one of them. The ADI solver is removed. Several S-parameter exits now warn when the returned S is not passive.

Removed

  • solver="adi" is removed (#2331). It raises ValueError. Its absorber did not match, its interfaces were off by half a cell and an interior PEC was unstable, which outweighed its larger time step. Use solver="yee" on a graded mesh for thin layers, or local refinement where it is supported. adi_cfl_factor still exists for one release and refuses any value. The public ADI names ADIState2D, ADIState3D, thomas_solve, adi_step_2d, adi_step_3d, run_adi_2d and run_adi_3d are gone too: rfx.<name> raises AttributeError with the same message, and from rfx import <name> raises ImportError.

Changed

  • A waveguide port’s default frequency bins changed on uniform forward() and graded run()/forward() (#2347). A port that declares neither freqs nor n_freqs gets 50 bins from freq_max/10 to freq_max, as uniform run() already did; these paths used 20 bins from freq_max/2. n_freqs is honoured on every path, and ports whose bins differ are refused there. On a graded mesh, compute_waveguide_s_matrix now computes S on the declared bins; before, it used 20 fixed bins and labelled them with the declared ones.
  • A waveguide port beside a lumped, wire or passive port, a point source or a TF/SF source is refused on uniform forward() and graded run()/forward(), as on uniform run() (#2348).
  • On a traced mesh, conductors near an absorber need nominal_profiles (#2312, #2372). When a mesh profile is differentiated or compiled, a Box volume or an axial Cylinder continues through an absorbing face as on a concrete mesh, decided on the declared nominal profile. A run-time check refuses a changed outermost-layer occupancy or a pad beyond the continuation: re-declare nominal_profiles at the current design, or keep the axis concrete. Refused before stepping: a conductor with a finite extent on a traced axis with an absorber and no nominal_profiles for it, and a continuation that depends on the lattice.
  • The Kottke PEC occupancy model is a Simulation option: Simulation(..., pec_occupancy_model="kottke") (#2284). The environment variable RFX_PEC_OCC_KOTTKE now raises at construction. A graded forward(pec_occupancy_override=...) with "kottke" raises instead of running the default model.
  • Lossless design-box gradients without checkpointing use half the memory for the per-step field history (#2217).
  • An in-plane graded mesh is validated up to an adjacent cell ratio of 1.4, as dz_profile already was (#2229). The grading warning fires above 1.4 on x and y; smooth_grading still builds meshes at 1.3.
  • topology_optimize no longer needs optax (#2287). Iterates differ from the optax version by float32 rounding only.
  • The seven rfx.materials names that moved (MaterialArrays, init_materials, DebyePole, DebyeCoeffs, DebyeState, init_debye, update_e_debye) warn with DeprecationWarning and name the new import path (#2281).
  • Public functions and Simulation methods carry type annotations (#2295). No signature or behaviour changed.
  • Graded runs with concrete thin PEC sheets can be called under jax.jit (#1432).

Added

  • run(conformal_pec="cut_cell_floor") on a uniform Yee mesh, with Simulation(dt=q * Grid.courant_dt(dx)) for q = 0.5 or 0.25 (#2306). It keeps the true edge lengths and floors the cut-face area at q². On the measured PEC sphere the radius offset falls to about 1/9 of the default at q = 0.5, where it still converges first order, and to about 1/100 at q = 0.25; these runs take two and four times the steps.
  • A waveguide S gradient with respect to cell widths along the guide: compute_waveguide_s_matrix(normalize="flux") on a graded mesh differentiates S with respect to a declared window of x cells, nominal_profiles={"x": NominalProfile(cells, traced_cells=(i0, i1))} (#2230). On a WR-90 slab the derivative of |S21| agrees with central differences within 1 % of its largest value over 8.4–11.6 GHz.

Fixed

  • Conformal PEC places a metal wall where it is drawn (#2240). Cut-cell operands replace the eps/w skin that enlarged curved bodies. A flat PEC wall off a node line now sits at its drawn plane within 0.01 cell (it was up to 2.7 cells off); a 9 mm PEC sphere solves 0.19 cell large in radius (the previous model about 1.1), with backscatter errors of 0.28–0.56 dB (previously 1.7–4.5 dB). Curved-body error still falls only first order. Newly refused under conformal PEC: PEC shapes with no signed distance (they fell back to a staircase silently), a body holding no grid node, a zero-thickness PEC sheet off the node lattice, and conformal_min_weight other than 0.1.
  • Subpixel smoothing on non-cubic and graded cells used the cube root of the cell volume as the length across an interface (#2307). On a flat εr 4 slab the interface permittivity was off the closed form by up to 9.2 % on constant non-cubic cells and 13.4 % on graded cells; it now matches. Uniform cubic meshes are unchanged.
  • A dielectric, magnetic, lossy or dispersive Box face between nodes goes to the nearest node, as a PEC face does; before, it moved up to one cell toward + (#2349). A patch whose substrate top lay 0.3 cell above a node resonated 1.2–1.8 % low. A material layer with no cell centre inside it is now refused: refine until one lies inside, or use add_thin_conductor for a conducting sheet. Also from this change: a volume Box drawn to the declared domain’s high face fills the last cell when the grid is one cell longer than the domain; interface_eps='dual_average' gives the same coefficients as the default; and a mix of Box and non-Box shapes in one CSG body samples each shape as it would alone, so it may now be refused.
  • Waveguide normalize=True returns one scattering matrix (#2340). Transmission now divides by the driven port’s incident wave, like reflection. On a lossless εr 4 slab the largest singular value of S falls from up to 1.41 to at most 1.0011, and |S| moves by at most 0.21 %. S21 now rotates with the declared planes and keeps the one-way grid dispersion between them, as with normalize=False; for the old insertion ratio, divide S21 by the empty guide’s S21 at the same planes. An empty guide no longer reads |S21| = 1 by construction, so an unsettled record or a band outside the source spectrum now shows.
  • Floquet reflection reads E and H at the same position and time (#2354). The worst empty-cell |S11| falls from 0.060 to 0.0022, and a PEC sheet’s |S11| from up to 1.045 to at most 1.0032.
  • Non-passive S now warns (#2314, #2330, #2345). Coaxial, waveguide, mixed and lumped/wire S, distributed, graded, subgridded and ring-down S, and the coaxial one-port reflection give one AccuracyWarning naming the bins where the largest singular value of S exceeds 1.01. run() and forward() warn when a waveguide port’s returned |s11| exceeds 1.01. S itself is unchanged, and the microstrip driver’s warning is as before. Expect the warning on a strong reflector such as a PEC short with normalize=False, which reads |S11| about 3 % above 1 from the grid’s impedance mismatch; normalize="flux" corrects it.
  • The settling check no longer lets a pole it cannot resolve set the horizon (#2327); such poles get a tail bound of either sign, and their unbounded tails are left out of completed spectra.
  • run() under a user jax.jit sets up the model as forward() does (#2322). The one-lumped and one-wire port S of run() under jax.jit is refused with a message naming forward(port_s11_freqs=...), and a multi-device closed-box TF/SF call under jax.jit is refused with a message naming a plain call. Warnings from run() and forward() name the user’s calling line.
  • MSL and mixed-port S runs no longer keep a per-step copy of every user DFT plane (#2304); 8 user planes of 5,329 cells had added 2.8 GB from 2,000 to 8,000 steps.
  • The MSL, mixed and waveguide S calculators no longer modify the caller’s Simulation while they run (#2315).
  • Preflight sees a mesh profile edited in place after a first preflight (#2276).
  • x64 runs no longer crash in closed-box incident spectra, oblique open TF/SF and uniform multi-device runs (#2273).
  • register_msl_wave_probes raises ValueError for a direction other than “+x” or “-x”, also under python -O (#2279).
  • Preflight checks, advisories and diagnostic records no longer skip silently on an unexpected error, and a timeout is no longer swallowed (#2277, #2320, #2339). The NTFF inverse-design check raises on malformed frequencies.

v2.0.0 — October 31, 2026

2.0 changes how conductors are built, how several ports read their S-parameters, and how the absorber reflects. Expect results with conductors, lumped or coaxial ports, or open boundaries to move. Re-run anything you compare against a 1.x number.

Breaking

  • The coaxial calculators absorb on all three axes (#1218). compute_coaxial_line_reflection and compute_coaxial_two_port now use cpml_axes="xyz", the only accepted value; cpml_axes="z" raises. With absorbers on z only the line sat in a closed metal can, so an open end read |S11| above 1. Every coaxial S moves slightly, and a line whose outer wall comes within one cell of a side absorber is refused.
  • A conductor is a volume, a sheet or a wire, and your declaration says which. sim.add(shape, material="pec") is a volume, with walls at both drawn faces, so its realized thickness equals its drawn thickness. sim.add_thin_conductor(...), or a zero-thickness Box, is a sheet on one grid plane that owns no cell. A PolylineWire is a wire. See How conductors land on the lattice. Recipes that drew a conductor one cell longer to make up for a missing face are no longer needed. Models without conductors give the same results as 1.x.
  • The two_plane=True keyword on sim.add() is removed, with no deprecation period. Passing it raises TypeError; the volume rule now gives every PEC body both faces. Design documents move to IR v2, and a v1 document carrying two_plane is refused with a message.
  • Thin PEC shapes are checked against the grid. When the grid is built, a PEC shape thinner than one cell (but not zero), a shape that rasterizes to no cell, a Box with two or three zero-length sides, and an add_thin_conductor shape thicker than one cell all raise. Declare a sheet or resolve the thickness.
  • run() refuses arguments its path does not implement (#1297). The graded-mesh, multi-device, subgridded and ADI paths used to warn and run without until_decay, snapshots, conformal walls, subpixel smoothing or checkpointing. They now raise NotImplementedError before the first step. Boundary(conformal=True) raises in forward() and optimize().
  • A driven lumped port reads S11 from its terminal voltage and current (#1162). The old reading returned the reciprocal of the physical reflection. Every lumped-port |S11|, and every lumped multi-port off-diagonal, changes. A one-cell lumped port and a one-cell wire port now return the same S-matrix.
  • compute_msl_s_matrix returns the raw extracted S (#1154). The passivity projection is opt-in with enforce_passivity=True. The new sigma_max_excess field reports any passivity breach, and a warning names it.
  • The coaxial lanes build the pin and outer conductor as PEC, with the outer wall at the declared outer radius (#1169). Every coaxial S-parameter moves. The wall is min(1 mm, clearance to the nearest absorber − 1 cell) thick, and a line with less than one cell of room raises.
  • compute_coaxial_s_matrix is removed, with add_coaxial_matched_load, add_coaxial_open_termination and add_coaxial_pec_end_cap (#1212). Use compute_coaxial_line_reflection for one port, compute_coaxial_two_port for a through line, or compute_s_matrix(lane=...).
  • compute_coax_msl_transition refuses a non-passive S by default (#838). Pass strict_passivity=False to get the diagnostic matrix and a warning, as before.
  • A far-field (NTFF) box must sit at least one cell inside the grid on every axis, and a far-field box in a 2-D run raises (#1159). With an absorber, nothing changes.
  • rfx Studio, the experiment service, the agent tools and their CLI commands leave the package (#1150). rfx run, rfx plot and rfx export-geometry stay; the studio and agent extras are gone.

Removed

  • The jax.pmap multi-device runner (#1296). Calling rfx.runners.distributed.run_distributed raises RuntimeError. Use sim.run(devices=[...]), which never used it.
  • The scripts in validation/crossval/ and its manifest (#1156, #1157, #1160, #1165, #1168, #1170, #1175, #1315); the RT/Duroid 5880 patch case became tests/crossval/rt5880_patch. Structures with a closed form are now compared with it by the analytic tests in tests/oracle/, and comparisons with other solvers run against frozen reference records in tests/crossval/. See Benchmarks.

Changed

  • Multi-device runs accept only exchange_interval=1 (#1185). They now send only the four field faces the update reads, which makes the time loop several times faster across nodes (#1222, #1252), and they pass material arrays to the time loop as arguments, so no device keeps whole-domain copies (#1211, #1217).
  • run(ringdown=...) judges its completion against a window that starts twice as early (#1254). Some short records that read ok before now read not ok; the completed S-parameters themselves are unchanged.
  • The ring-down W0 check reads the summed port accumulators at 1e-4 of each array’s peak instead of a count of float rounding steps, so a jitted forward() is no longer reported as not completed (#1318). run(ringdown=...)’s completed S can change in its last bits.

Added

  • Phase-referenced complex scattering: compute_rcs(..., phase_reference=(x, y, z), subtract_incident_reference=True) returns a ScatteringResponse with complex F_theta / F_phi in metres (#1327). Normal +x incidence on a uniform 3-D grid with symmetric CPML for now; existing calls still return RCSResult.
  • A design box can contain its own feed port with forward(design_box_holds_ports=True) (#1319). The port’s edges keep the drawn materials and the 50 Ω load, their gradient is zero, and ForwardResult.design_box_held_edges lists them. Without the option, a box holding a lumped or wire port still raises.
  • run(..., ringdown=RingdownSpec()) completes a wire port’s S-parameters when the record ends while the structure still rings (#1254). result.ringdown.report holds the fitted poles and the witnesses; none of them is an error bound.
  • forward(..., ringdown=RingdownSpec()) puts the same completion inside the differentiable program, so jax.grad differentiates the ringing a short record has not reached (#1318). rfx.ringdown.gradient_witness compares the gradients from two completion windows; a failure makes the value and the gradient NaN. Refused with distributed=True and stencil_order=4, as well as wherever run(ringdown=...) is refused.
  • Mesh lines that follow sheet edges: rfx.mesh_edges.edge_aware_profile and edge_aware_profiles (#1138). A new preflight advisory, sheet_effective_size, reports a sheet solved more than 1 % off its drawn size.
  • rfx.gradient_record_length_witness checks that a gradient does not change when the record is doubled, the gradient counterpart of the −40 dB settling check (#1186).
  • Design-box gradients. forward(design_box=..., design_eps_override=...) differentiates the permittivity in one box without putting the whole grid on the AD tape (#1179). It also runs on graded meshes and takes a conductor occupancy (#1183), and design_sigma_override takes one conductivity per E component, so a design sheet is a sheet (#1216).
  • Simulation.add_pinned_sheet declares a sheet by grid node lines, so the mesh itself can be a design variable (#1199). A 50 Ω wire port runs on a traced mesh, and Simulation(dt=..., dt_min_cell=...) pins one time step across a family of deformed meshes (#1207).
  • forward(distributed=True) runs across several processes and takes its design variables as sharded arrays (#1247).
  • Simulation.boundary_model() reports each face’s declared kind and plane (#1223).
  • result.snapshot_axes gives the position and time of every snapshot sample (#1258).

Fixed

  • A current source in material supplied by eps_override / sigma_override on the distributed graded forward() was driven through the permittivity as drawn, and its permittivity gradient missed the drive’s own derivative (#1317). It now uses the materials the field is stepped with, as the single-device lane does.

  • The CPML reflects far less (#1012). Its magnetic half now reads the loss profile at the magnetic field’s own position. Every result that depends on an absorber moves. A thin absorber (4–6 layers) close to a source now holds low-frequency field longer; use 8 or more layers there.

  • A conductor that reaches an absorbing boundary continues through the absorber, as dielectrics already did (#801). A port ends the conductor you name with terminates=, and preflight names any conductor that runs into the absorber unterminated.

  • Each E component averages the permittivity and conductivity of its four neighbouring cells (#1210). A conductivity-defined volume’s faces now sit where they were drawn, and dielectric interfaces converge at second order.

  • Lumped elements load only their own edge, not all three E components at their node (#1236). A series R+C, R+L or R+L+C now realizes its declared resistance and no longer drives low-resistance runs to NaN (#1163). A lumped inductor no longer carries a spurious series resistance (#1245).

  • Far fields. The near-to-far-field transform is second order in the cell size and stamps E at the right time, so directivities and RCS values move slightly (#1159). Normal-incidence compute_rcs read every σ about 1.1 dB low (#820). A far-field box that does not enclose the plane-wave injection region is refused instead of returning a wrong cross section (#1176).

  • Snapshots. SnapshotSpec(interval=m) records every m-th step, as documented, instead of every step, and run(until_decay=...) records snapshots (#1258). With stencil_order=4, result.dt is the step the solver actually took.

  • Closed boxes and magnetic walls. forward() on a closed PEC box applies the walls (#1193). A magnetic-wall face is no longer shorted by a PEC wall on the uniform and graded-mesh paths (#1164). The Kottke PEC occupancy lane places the conductor where the occupancy is (#1197).

  • Graded meshes. A port’s drive includes its own load (#1256) and sees eps_override / sigma_override (#1267). With a Debye or Lorentz material present, ports terminate instead of acting as open circuits (#1283). A waveguide port inside a refined band injects at its own cell (#810), and a microstrip port’s automatic probe ladder has the right length (#1278). Preflight checks read the cells at their own site (#1209). A 2-D mode on a graded mesh is refused instead of returning zero fields (#1148).

  • add_refinement is refused where it used to be ignored: on a graded mesh, and by forward(), optimize() and the S-parameter calculators (#1282).

  • Tracing. A graded-mesh run can be traced as a whole (#1188), and jax.jit(jax.value_and_grad(...)) over forward() traces for wire-port boards, so rfx.optimize(jit=True) compiles once per call (#1225).

  • Multi-device runs refuse features they do not implement instead of dropping them: lumped RLC elements, MSL ports, refinements, Kerr materials, periodic axes, passive ports, flux monitors and far-field boxes (#1039, #1214, #1241). They also use far less memory on the first device (#1208, #1214, #1227) and return full results across processes (#1202).

  • Smaller fixes. The microstrip Z0 guard and preflight agree on probe clearance (#726), the microstrip beta estimate no longer wobbles with its scan grid (#830), a boundary-touching dielectric continues into the waveguide lane’s absorber (#1066), a rounding excess in domain / dx no longer adds an empty cell at an absorber face (#1070), and eval_lorentz evaluates a Drude pole correctly (#1158).

v1.8.0 — September 6, 2026

  • The rectangular-waveguide S-matrix closed its chain of checks for uniform single-mode guides on the normalize=False and normalize="flux" lanes. normalize="flux" now follows JAX_ENABLE_X64, and normalize=True rejects a traced eps_override up front.
  • The wire-port current carries the Yee half-step phase, so wire-port S-parameters rotate slightly in phase.
  • Finite-region add_flux_monitor(size=...) runs on graded meshes.
  • A face-touching dispersive material no longer gets an absorber surround that carries its static permittivity without its poles (#808).
  • Realized geometry no longer depends on JAX_ENABLE_X64 or the solver path (#802, #807).
  • A dz_profile-only simulation reaches the graded-mesh waveguide S-matrix path instead of solving on a uniform grid (#811).
  • add_port(reference_plane_cells=N) rejects reference planes outside the uniform line or inside a microstrip port’s probe ladder.
  • At this release, the amplitude_kind plan deferred the required argument to 1.9. The shipped 2.0 behavior resolves omission and None to 'current' (#1442; tests/unit/sources/test_source_amplitude_kind.py).

v1.7.0 — September 1, 2026

  • Long solves can report step count, elapsed time, rate, and ETA with report_every=N on supported uniform and single-device non-uniform runs. Reporting is off by default and the reported and unreported results are byte-identity locked.
  • Simulation.fidelity_report() audits declared geometry against the cells and material realization the solver will use, before a run. It reports rasterization and realization only; it does not predict RF error.
  • add_msl_port(direction=...) supports "+x", "-x", "+y", and "-y" for the Laplace/quasi-TEM path. The eigenmode path remains x-only and outside the public support envelope.
  • add_thin_conductor(..., surface_impedance_f0=...) accepts patterned shapes that rasterize to exactly one cell layer and at least one cell, including CAD-backed MeshShape objects. (Superseded at 2.0: a sheet is one node plane, not one cell layer.) Unsupported sheet realizations and execution lanes fail explicitly.
  • The uniform single-device solver offers precision="float64" when JAX x64 is enabled. precision="mixed" works with CPML, but its float16 field storage raises the absorber residual floor and is not a substitute for float32 in low-reflection or S-parameter work.
  • compute_far_field_jax(..., max_phase_bytes=...) bounds the NTFF phase-array allocation by splitting the theta grid. The split is exact and avoids materializing the full direction-by-surface array at once.
  • S-parameter settling warnings use the same -40 dB rule in compute_msl_s_matrix, compute_waveguide_s_matrix, compute_mixed_s_matrix, compute_coaxial_two_port, and compute_coax_msl_transition.
  • Multi-band graded-z meshes now preserve declared blocks through smoothing, with a measured z-axis adjacent-cell ratio cap of 1.4 and explicit preflight advisories outside the validated envelope.
  • New rasterized-slice and stack-profile views show the cells and material layers the solver actually builds.
  • Wire-port decomposition, MSL probe extraction, CPML material padding, graded-mesh NTFF integration, mesh import containment, and preflight diagnostics received correctness fixes without widening their documented validation envelopes.
  • MSL internal DFT planes now store only the extractor’s required crop, reducing accumulator cells without changing the extracted matrix.
  • Differentiable forward(...) objectives are now safe to wrap in an outer jax.jit: both jax.jit(loss) and jax.jit(jax.grad(loss)) over forward(eps_override=...) are regression-locked against the eager path. This fixes a tracer crash in material assembly without changing eager results.
  • optimize(...) gained default-off robustness knobs for difficult proxy losses: n_starts, best_iterate, step_clamp, and seed. The default single-start Adam path remains byte-identical.
  • add_lumped_rlc(...) elements now participate in the differentiable uniform forward(...) lane. Use forward(rlc_values_override={...}) when R/L/C values themselves are scalar design variables; this is still a lumped circuit element, not a Z0-referenced port.
  • Waveguide S-matrix extraction now emits a soft advisory for passive normalize=False results whose column power is above the documented single-run over-unity envelope but below the hard unreliability limit. The physics and hard pass/fail thresholds are unchanged.
  • RCS and inverse-design docs now pin recent footguns: RCS validation is monostatic-only unless additional evidence is supplied, and a finite-difference gradient check does not prove an empty observation window is physically meaningful.
  • A standalone real multi-device witness (scripts/diagnostics/distributed_witness/multigpu_witness.py) now compares single-device and sharded PEC/CPML/lumped-port runs on machines with two or more JAX devices; it is a distributed-runner identity check, not a new physics-validation envelope.
  • AD memory-planning docs now tag each artifact with an evidence class — static estimate, conservative budget-fit plan, or explainability breakdown — so a planning estimate is never read as a runtime profiler measurement, a peak-memory guarantee, or RF validation evidence. The compiled-executable check reports the JAX compiler’s memory estimate, not a runtime peak.
  • Differentiable-design guidance was tightened: it separates JAX-traced objectives and finite-difference gradient checks from the final port/resonance/far-field physics validation.
  • Non-uniform mesh guidance now frames graded-z meshes as a bounded workflow for thin layered structures, stating the unsupported combinations and the caller’s validation responsibilities up front.

v1.6.7 — July 2026

  • Open-domain oblique RCS is available through compute_rcs(theta_inc != 0) for its documented uniform-grid, ez-polarized Method-B TFSF envelope; unsupported combinations fail explicitly.
  • The opt-in plane-wave design lane adds complex-Bloch TFSF in run(), uniform forward() support, differentiable mu_r_override, and compute_rcs_jax.
  • rfx.MeshShape imports voxelized STL, OBJ, and PLY geometry; STEP support is available with the cad extra. Mesh import is not differentiable.
  • rfx.interop can emit a validated design document and a runnable openEMS script for representable simulations.
  • run(until_decay=..., radiated_flux_box=...) can stop on radiated-energy flux, and MSL extraction now resolves automatic probe offsets against both documented clearances. Returned MSL S-matrices enforce passivity by default while retaining raw results in S_raw.

v1.6.6 — June 2026

  • Maintenance-only release: a behavior-preserving rectangular-waveguide mode-solver refactor and shipped-documentation hygiene. There was no public API or user-visible behavior change.

v1.6.5 — June 2026

  • Validation reporting is stricter: a promoted port-family result now requires magnitude evidence, a phase-consistency witness, an AD-vs-finite-difference check where gradients are part of the claim, and committed (reproducible) artifacts.
  • Port-family support wording is clearer: users should match each source or port family to its documented calculator and evidence envelope instead of treating any S-parameter helper as universal.
  • compute_msl_s_matrix now reports a positive characteristic impedance on both ports. This fixes reported metadata while leaving the S-parameter calculation invariant.
  • Non-uniform mesh accuracy coverage now includes an analytic gated cavity case whose resonance frequency depends on the graded axis.
  • Public guides and support pages were tightened around maintained workflows, validation boundaries, and device-count-adaptive test behavior.

v1.6.4 — June 2026

  • Rectangular waveguide-port evidence now covers WR-band empty-guide, PEC-short, and dielectric-slab cases with analytic and external-reference comparisons.
  • preflight() and preflight_sparameters() now expose coded report objects for automation while preserving older list/string behavior.
  • Run/forward results, S-matrix calculators, sweeps, and optimizers now surface finite-data, passivity, setup, and NaN-gradient issues earlier.
  • compute_coaxial_line_reflection(...) is the current coaxial line-reflection path inside its documented transmission-line envelope.
  • compute_waveguide_s_matrix(checkpoint_segments=...) adds segmented checkpointing for uniform waveguide AD-heavy runs.
  • Finite-size flux monitors are regression-locked against the matching full-plane integrand window; the old finite-size instability caveat is superseded.
  • The directivity objective gained a log-ratio option for sign-correct gradients when design variables change total radiated power.

v1.6 line

  • Advanced the differentiable design loops and validation-boundary reporting.
  • Added feature-boundary wording so repository code outside the documented support scope is not presented as the default public path.
  • Improved port and observable APIs for RF workflows.

v1.5 line

  • Expanded the public guide structure for examples, API surfaces, and validation/support boundaries.
  • Added RF examples and clearer routing for patch, waveguide, and microstrip workflows.

Earlier releases

Earlier releases introduced the core JAX FDTD solver, material/geometry helpers, sources, probes, ports, far-field utilities, and inverse-design workflows. See the Git history and package releases for full implementation detail.

Back to top