Support

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

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

StatusMeaning
supportedDocumented for routine use within the stated limits.
limitedDocumented only for the geometry, mode, mesh or observable stated. Outside that, you have to validate it yourself.
experimentalRuns and has regression tests, but it has not been compared with references enough to rely on the numbers.
not documentedCode exists, but there is no public workflow.
unsupportedRefused with an error.
refusedThe 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_refinement on a uniform mesh) is refused by default. validation="research" runs it with an ExperimentalSubgridWarning. Use a graded mesh for local resolution.

Features

FeatureStatusLimit
Uniform Cartesian Yee gridsupportedThe baseline. Each source and observable still has its own limits.
boundary="cpml" / "pec"supportedUse 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"limitedIt 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"supportedThe 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 materialssupportedDispersive models within their tested subsets. A Kerr (χ³) material is solved on a single-device uniform mesh only.
Metal sheets (add_thin_conductor)supportedA lossless sheet on one grid plane.
Lossy sheets and films (surface_impedance_f0=, sigma_bulk below the metal threshold)limitedA 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 monitorssupportedOn a uniform grid. See graded meshes.
Resonances (find_resonances)supportedA 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)limitedThe cases in Far field and RCS.
Plane wave (add_tfsf_source)limitedPropagation along x, in 3-D or 2-D (TMz/TEz), with CPML. Oblique incidence only in the plane set by the polarization.
Graded mesheslimited by featureSee graded meshes.
Multi-device runs (devices=)supportedWithin 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 documentedRefused by default; see solver paths.
Floquet / Bloch portsexperimentalNormal 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.

PortCalculatorStatusLimit
lumped add_port(...)run(compute_s_params=True)limitedA 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)limitedA 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 / wireforward(port_s11_freqs=...)limitedS11 at the requested frequencies, uniform or graded mesh, on one device or several.
add_msl_port(...)compute_msl_s_matrix()limitedQuasi-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()limitedSingle-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_sparamslimitedPer-port diagnostic, not the full matrix.
add_coaxial_port(...)compute_coaxial_line_reflection(...)limitedOne face="top" port, a line the calculator builds itself, float32, uniform mesh, CPML on every face.
add_coaxial_port(...)compute_coaxial_two_port(...)limitedOne through-line family.
lumped/wire + microstripcompute_mixed_s_matrix()experimentalMagnitude not validated; the default passivity projection changes the diagonal (the measured values are in S_raw).
coax + microstripcompute_coax_msl_transition()experimentalDiagnostic only. The matrix is not passive and is refused by default (strict_passivity=True).
add_floquet_port(...)noneexperimentalDiagnostic helpers only.
sources, plane wave, probes, DFT planes, flux monitorsnonenot a portNo 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.

CombinationStatusLimit
Multi-band graded profile (rfx.make_band_profile), adjacent cell ratio ≤ 1.4 on every axislimitedSolver-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 zlimitedOne 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 meshlimitedThe elements take part in the update. Component-value gradients are not documented.
Lumped and wire-port S11 + graded meshlimitedforward(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 meshexperimentalRuns; no general accuracy statement.
Plane wave + graded meshexperimentalNormal 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 meshexperimentalSingle 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 meshexperimentalmode="laplace" / "uniform"; regression checks only. mode="eigenmode" is refused.
Coaxial port + graded meshunsupportedRefused.
boundary="upml" + graded meshunsupportedRefused. Use CPML.
Periodic axis + graded meshexperimentalOne 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 meshunsupportedRefused.

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.

Back to top