Generator

Convergence factor against the strength threshold, ε = 0.01

One function in the amg library, called 7 times across 2 essays. Below: what it draws at its defaults, what it draws at every value an essay asks for, the 5 claims it put to the test while drawing them, and where it stands against the rule this site is named for.

At its defaults it draws convergence factor against the strength threshold, ε = 0.01. A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.

threshold-switch is one function in lib/figures/amg.js — algebraic multigrid — a hierarchy with no grid behind it, and what it costs. Everything below came out of it during this build, at arguments taken from the essays rather than invented for this page. A figure here is the figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.

Convergence factor against the strength threshold, ε = 0.01A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.10⁻³10⁻²10⁻¹00.20.40.60.8strength threshold θresidual reduction per cycleθ = εsemi-coarseningkept whole rowsfull coarseningone parameter, two methodsbest factor above ε0.047best factor below ε0.46the ratio across the switch9.731×31 anisotropic operatora switch, not a dial

A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.

eps: 0.005

The arguments are the ones A hierarchy with no grid behind it passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

Convergence factor against the strength threshold, ε = 0.005A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.10⁻³10⁻²10⁻¹00.20.40.60.8strength threshold θresidual reduction per cycleθ = εsemi-coarseningkept whole rowsfull coarseningone parameter, two methodsbest factor above ε0.048best factor below ε0.47the ratio across the switch9.731×31 anisotropic operatora switch, not a dial

A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.

eps: 0.25

The arguments are the ones The switch does not know which side is better passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

Convergence factor against the strength threshold, ε = 0.25A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.10⁻¹100.20.40.60.8strength threshold θresidual reduction per cycleθ = εsemi-coarseningkept whole rowsfull coarseningone parameter, two methodsbest factor above ε0.053best factor below ε0.1the ratio across the switch231×31 anisotropic operatora switch, not a dial

A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.

eps: 0.02

The arguments are the ones The switch does not know which side is better passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

Convergence factor against the strength threshold, ε = 0.02A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.10⁻²10⁻¹100.20.40.60.8strength threshold θresidual reduction per cycleθ = εsemi-coarseningkept whole rowsfull coarseningone parameter, two methodsbest factor above ε0.046best factor below ε0.44the ratio across the switch9.731×31 anisotropic operatora switch, not a dial

A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.

eps: 0.15

The arguments are the ones The switch does not know which side is better passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

Convergence factor against the strength threshold, ε = 0.15A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.10⁻²10⁻¹00.20.40.60.8strength threshold θresidual reduction per cycleθ = εsemi-coarseningkept whole rowsfull coarseningone parameter, two methodsbest factor above ε0.084best factor below ε0.13the ratio across the switch1.531×31 anisotropic operatora switch, not a dial

A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.

eps: 0.3

The arguments are the ones The switch does not know which side is better passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.

Convergence factor against the strength threshold, ε = 0.3A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.10⁻¹100.20.40.60.8strength threshold θresidual reduction per cycleθ = εsemi-coarseningkept whole rowsfull coarseningone parameter, two methodsbest factor above ε0.082best factor below ε0.09the ratio across the switch1.131×31 anisotropic operatora switch, not a dial

A curve of convergence factor against the strength threshold on a logarithmic axis. It is flat at a high value to the left of a marked position and flat at a low value to the right of it.

What it checked while drawing

Every figure above checked its own claims on the way to being drawn, and a claim that failed would have stopped the picture rather than shipped a wrong one. Those checks used to leave no trace at all: a passing one returned true and the only evidence the figure had checked anything was that nothing crashed. The list below is what they actually said, collected by running this generator with an observer installed — not a description of what it is believed to check.

5 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.

and above it the coarsening is semi-coarsening

and at a mild one full coarsening is perfectly good

at a real anisotropy the semi-coarsened side converges far faster

below ε the coarsening is full

the scan straddles ε

Against the rule

It draws a decomposition and prints its residual. It calls amgSolve, and every figure above carries the badge — which residualcheck verifies by looking for it in the emitted SVG rather than by finding the call that builds one. A badge that is constructed and then left out of the body is the failure that check exists for.

Across the library: the rule bites on 217 of 397 generators — 199 print a residual and 18 are exempt with a published reason; 180 factorise nothing. Read from lib/residual-rule.js, which is the same body the gate enforces from, and the gate's last check fails the build if this page and it disagree about any generator.

Where it is called

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

The whole library · All essays · What must fail