# M67. Modes between walls, by iteration **Package:** A7, its third part, with what F2 and A8 left between walls: an eigenproblem on a box whose modes are no products of the modes of its axes. A plate, an operator with a mixed derivative, a medium, a potential that does not separate. The lowest modes come from an iteration on the stationary solve of the same operator. ## What was built - **`bounded_inverse_modes`.** An eigenproblem $H u = E\,\rho\,u$ on a box with walls or on a round domain that the product modes do not hold is read as the stationary problem $(H - \sigma\rho)u = \rho f$, with a shift below every eigenvalue. A block of functions is iterated on with the solve of that problem, and the small eigenproblem of the block gives the modes. - **Solves for many sources.** The iteration of milestone 63 and the plate solve of milestone 66 are prepared once on a grid and applied to one source after another. The matrix of the faces of a plate is factorized once. - **The method `collocation_inverse_modes`**, and the steps and the residual of the iteration among the diagnostics. - **A planner that stops** where the modes have a singularity in the corners, as the stationary planner does. - **Two repairs on the way**, which the rebuild of the documentation had found: the planner judged a mixed derivative by the second derivatives of the solution and ran to its finest grid, and the note of a grid that is not resolved was no English. ## What it reaches On the unit square, unless another domain is named: | Problem | Modes | Grid | Steps | Checked against | Time | |---|---|---|---|---|---| | A plate that rests on its sides | 4 | $24^2$ | 19 | $\pi^4(m^2+n^2)^2$, to $10^{-6}$ | 0.04 s | | A clamped plate | 6 | $64^2$ | 23 | the books: $\sqrt{E} = 35.9852$, $73.3938$, $108.2165$, $131.5808$ | 0.5 s | | $-\nabla^2 u + 50xy\,u = E u$ | 6 | $32^2$ | 40 | spectral elements, to $10^{-11}$ | 1.0 s | | $-\nabla\cdot((1 + xy)\nabla u) = E u$ | 6 | $32^2$ | 38 | spectral elements, to $10^{-9}$ | 1.7 s | | $-\nabla^2 u = E\,(1 + x)\,u$ | 6 | $32^2$ | 37 | spectral elements, to $3\cdot10^{-9}$ | 0.7 s | | $-\nabla^2 u - 0.8\,u_{xy} = E u$, periodic along $y$ | 5 | $32^2$ | | its formula, to $10^{-7}$ | 1.1 s | | The unit disk, $-\nabla^2 u + 20\,r\cos\varphi\,u = E u$ | 4 | $24\times48$ | | spectral elements, to $10^{-8}$ | 2 s | | The unit cube, $-\nabla^2 u + 50xyz\,u = E u$ | 3 | $32^3$ | 46 | | 7 s | The tests check the plates and beams against their formulas and the books, a strip with a mixed derivative against its formula, and three ground states that are made to be known: a potential that is no sum, with walls that hold and with walls that let nothing through, where the eigenvalue is $-3$, and a medium with a density. From Python the same problems are solved as a box and as a region, by two methods that share nothing. ## Decisions ### D67.1. The modes from the solve, with a general small eigenproblem *Developer, 2026-11-20.* The stationary solve exists for each of these operators, and its eigenfunctions are those of the eigenproblem. On a region the block iteration of milestone 55 runs on that solve (decision D58.1). It asks for a symmetric operator, which spectral elements give and collocation does not. So here a block is iterated on plainly: the solve is applied, and the block with its image gives a small matrix whose eigenvectors, those of a general matrix, combine the block. The error falls by the ratio of the eigenvalues at the two ends of the block, with no acceleration: forty steps for six modes. That was taken, because each step is cheap between walls. ### D67.2. A shift that is known, and conditions that are refused *Developer, 2026-11-20.* The lowest modes are the largest of the solve only if the shift lies below every eigenvalue. It is placed as in decision D58.2: at the lowest value of the potential over the density, less the energy of a wave as long as the domain, and for a plate under compression less what compression takes. A condition through which a wall feeds the modes has no such bound, and is refused, as is any mix within a condition of a plate. On a region the shift is found by trying (milestone 62). Here a try is a solve that fails slowly, and the refusal was kept. ### D67.3. Product modes first *Developer, 2026-11-20.* An eigenproblem is read as before, and its modes are sorted where they are products: that takes milliseconds and is exact. Only what that reading refuses is read again for the iteration. A potential that is a sum along the axes therefore never meets it. ### D67.4. What comes next *Owner, 2026-11-20.* Asked what comes after this milestone, the owner set the order: "Dann sollst Du mit Meilenstein 67 weitermachen und danach die kleinen Paketfehler aus dem Doku-Umbau und dann A10. Dann H3." So P3, the defects that the rebuild of the documentation found, then A10, then H3. What is left of A7 waits. ### D67.5. A mixed derivative is judged by its solution *Developer, 2026-11-20.* The planner of milestone 63 judges a grid by the remainder of the solution too, in which coefficients that vary show where they matter. For a mixed derivative with a constant in front the remainder is the mixed second derivative of the solution, which has nothing of a coefficient in it and falls more slowly than the solution at a corner that is singular. The planner ran to 256 points for a solution that had settled at 64. The remainder now counts only where a coefficient varies. ## What is left - A shift near the eigenvalues that are asked for, and an acceleration of the iteration. - A coefficient from an array, and a medium on a round domain. - A condition that feeds the modes. - Of A7: the mixed derivative in time and on a round domain, the plate in time, its free edge, and an equation without a second derivative along a bounded direction.