The equations of patchwork.solvers.poisson, declared on the code that implements them and checked by the tests.
Solve -laplace(phi) = rhs on the composite 2D mesh.
- balance
- faces f of i∑κf(ϕi−ϕj(f))=∣Ki∣fi
- conductance
- κf=21(ha+hb)ℓoverlap (between leaf cells),κf=h/2ℓfree (to the boundary value)
- covered
- ϕc=r21f⊂c∑ϕf
- Assumes
- 2D, one constant Dirichlet value on the whole boundary (the rectangle's faces and the inner edges)
- the solve is replicated on every rank
- the legacy solve:
CellOperator has variable coefficients, other conditions and 1D