This page says what rfx supports today, feature by feature and port family by port family. Its source is the support matrix in the repository. That file also carries the full list of refused inputs, per solver path, written from the code’s own per-path table. Defects you can hit inside these limits are on Known limitations.
Status words
| Status | Meaning |
|---|---|
| supported | Documented for routine use within the stated limits. |
| limited | Documented only for the geometry, mode, mesh or observable stated. Outside that, you have to validate it yourself. |
| experimental | Runs and has regression tests, but it has not been compared with references enough to rely on the numbers. |
| not documented | Code exists, but there is no public workflow. |
| unsupported | Refused with an error. |
| refused | The code raises before the first time step, with a message that says what to do instead. |
A clean preflight or a completed run does not move a feature up this scale.
Solver paths
A model runs on one of these solver paths: run() or forward() on a uniform
mesh or on a graded mesh (dx_profile / dy_profile / dz_profile), on one
device or on several (run(devices=...), forward(distributed=True)). Some
calculators, such as compute_waveguide_s_matrix(...), build and run a model
themselves. A feature can be solved on one path and refused on another; the
refused inputs
tables in the support matrix give the answer for each input and each path, with
what to do instead.
Subgridding is outside the 2.0 supported scope:
- Subgridding (
add_refinementon a uniform mesh) is refused by default.validation="research"runs it with anExperimentalSubgridWarning. Use a graded mesh for local resolution.
Features
| Feature | Status | Limit |
|---|---|---|
| Uniform Cartesian Yee grid | supported | The baseline. Each source and observable still has its own limits. |
boundary="cpml" / "pec" | supported | Use CPML for open domains. Its plane-wave reflection is measured per face, depth and frequency (tests/unit/boundaries/test_cpml_reflection_coefficient.py). |
boundary="upml" | limited | It absorbs, but its plane-wave reflection is not measured in this repository. Refused on a graded mesh and on several devices. Prefer CPML. |
precision="float32" | supported | The default. |
precision="float64" / "mixed" | limited | "float64": one device, uniform or graded mesh; refused unless JAX 64-bit mode is on. "mixed": uniform mesh, one device. "mixed" stores fields in float16 and raises the CPML reflection floor; do not use it for S-parameters. |
| Isotropic, conductive and Debye/Lorentz materials | supported | Dispersive models within their tested subsets. A Kerr (χ³) material is solved on a single-device uniform mesh only. |
Metal sheets (add_thin_conductor) | supported | A lossless sheet on one grid plane. |
Lossy sheets and films (surface_impedance_f0=, sigma_bulk below the metal threshold) | limited | A sheet on one node plane, no thicker than one cell, on uniform and graded meshes. A lossy film is also solved on several devices. Not a general dispersive conductor model. |
| Probes and flux monitors | supported | On a uniform grid. See graded meshes. |
Resonances (find_resonances) | supported | A matrix pencil fit of a probe signal. The signal must have decayed after the source ends, and the structure needs some loss. |
| Far field / RCS (NTFF) | limited | The cases in Far field and RCS. |
Plane wave (add_tfsf_source) | limited | Propagation along x, in 3-D or 2-D (TMz/TEz), with CPML. Oblique incidence only in the plane set by the polarization. |
| Graded meshes | limited by feature | See graded meshes. |
Multi-device runs (devices=) | supported | Within the limits of the support matrix. Each record is compared with a one-device run of the same model. Inputs a multi-device run does not carry are refused by name, never dropped: lumped RLC elements, surface-impedance sheets, waveguide, microstrip, coaxial and Floquet ports, periodic axes, Kerr materials, an open-slab plane wave on a uniform mesh and any plane wave on a graded mesh. See the refused-input tables. |
Subgridding (add_refinement) | not documented | Refused by default; see solver paths. |
| Floquet / Bloch ports | experimental | Normal incidence on a single-device uniform mesh. No high-level S-parameter API. |
Port families and S-parameters
Each port family has one calculator. run(compute_s_params=True) handles
lumped and wire ports only. sim.compute_s_matrix() picks the calculator for
you, except for a model with only lumped or wire ports, which it refuses (call
run(compute_s_params=True)); see
Sources & Ports.
| Port | Calculator | Status | Limit |
|---|---|---|---|
lumped add_port(...) | run(compute_s_params=True) | limited | A one-cell feed model, not a calibrated transmission-line mode. Refused together with a plain source or a 0 Ω port. |
wire add_port(..., extent=...) | run(compute_s_params=True) | limited | A pin radius (radius=) is accepted up to 0.2 of the transverse cell; a larger one is refused (tests/unit/ports/test_wire_port_radius.py). |
| lumped / wire | forward(port_s11_freqs=...) | limited | S11 at the requested frequencies, uniform or graded mesh, on one device or several. |
add_msl_port(...) | compute_msl_s_matrix() | limited | Quasi-TEM (mode="laplace"), directions ±x and ±y. The strip is a zero-thickness sheet. A strip drawn behind a port is an open stub; it is refused when its quarter-wave resonance falls near the band. Graded mesh experimental; mode="eigenmode" outside scope. |
add_waveguide_port(...) | compute_waveguide_s_matrix() | limited | Single-mode magnitude on a uniform mesh is tested on the WR-90 chain (tests/oracle/test_waveguide_chain_battery_v18_close.py); phase, junctions and multimode are checked less. A full-aperture port needs PEC transverse walls. S is a power-wave S only when all ports share one cross-section. Graded mesh experimental. |
add_waveguide_port(...) | run(...) → waveguide_sparams | limited | Per-port diagnostic, not the full matrix. |
add_coaxial_port(...) | compute_coaxial_line_reflection(...) | limited | One face="top" port, a line the calculator builds itself, float32, uniform mesh, CPML on every face. |
add_coaxial_port(...) | compute_coaxial_two_port(...) | limited | One through-line family. |
| lumped/wire + microstrip | compute_mixed_s_matrix() | experimental | Magnitude not validated; the default passivity projection changes the diagonal (the measured values are in S_raw). |
| coax + microstrip | compute_coax_msl_transition() | experimental | Diagnostic only. The matrix is not passive and is refused by default (strict_passivity=True). |
add_floquet_port(...) | none | experimental | Diagnostic helpers only. |
| sources, plane wave, probes, DFT planes, flux monitors | none | not a port | No reference impedance or reference plane, so no S-parameters. |
Graded meshes
Support on a graded mesh is decided per combination. A graded run that completes says nothing about whether its S-parameters, flux or far field are accurate.
| Combination | Status | Limit |
|---|---|---|
Multi-band graded profile (rfx.make_band_profile), adjacent cell ratio ≤ 1.4 on every axis | limited | Solver-level checks only (energy, transition reflection, order, gradients). Keep grading out of the absorber. Not a port, flux or far-field validation. |
| Far field (NTFF) + graded z | limited | One short-dipole directivity case on one mesh (tests/unit/farfield/test_farfield_nonuniform.py). Other cases need their own validation. |
| Lumped R/L/C + graded mesh | limited | The elements take part in the update. Component-value gradients are not documented. |
| Lumped and wire-port S11 + graded mesh | limited | forward(port_s11_freqs=...), on one device or several; run(compute_s_params=True) forms lumped S, and by default when every port is lumped and exactly one is driven. |
| DFT plane or flux monitor + graded mesh | experimental | Runs; no general accuracy statement. |
| Plane wave + graded mesh | experimental | Normal incidence along ±x, through run() and forward(); x may be graded. Oblique incidence, incidence along ±z, a closed box and a CustomWaveform are refused. |
| Waveguide S-matrix + graded mesh | experimental | Single mode, normalize=True or "flux". With boundary omitted a full-aperture guide is refused; declare the walls. A reference-plane shift across cells of more than one size is refused. |
| Microstrip S-matrix + graded mesh | experimental | mode="laplace" / "uniform"; regression checks only. mode="eigenmode" is refused. |
| Coaxial port + graded mesh | unsupported | Refused. |
boundary="upml" + graded mesh | unsupported | Refused. Use CPML. |
| Periodic axis + graded mesh | experimental | One device, run() and forward(), with one cell size along the periodic axis. A graded profile along it, a plane wave, interface_eps='dual_average' and Bloch phases are refused. |
| Floquet port + graded mesh | unsupported | Refused. |
Refused inputs
rfx refuses an input it would not solve, before the first time step, so a model it cannot solve does not come back as a wrong number. The refused inputs section of the support matrix lists each one: a table per topic (materials, conductors, sources and ports, boundaries, mesh, observers, run settings) with the answer on each solver path, and a table of refused combinations with the test that pins each refusal. Every refusal message names what to do instead.
Reporting a result
Exported files (Touchstone, HDF5, CSV, JSON, plots) record what a run produced. They do not change its status. When you report a number, state the API and port family, the mesh (uniform or graded, cell size), the frequency range, the normalization, the rfx version and the comparison you made. Outside a listed range, run a convergence study and compare against an analytic or independent reference first.
