Skip to content
Projects

Collections

The equations of simgeometry.collection, declared on the code that implements them and checked by the tests.

GeometryCollection

classsource

Named objects; last listed object wins labels in overlaps.

labels
ℓ(p)=max⁡{k:p∈Sk},ℓ(p)=0 outside every object\ell(p) = \max\{k : p \in S_k\}, \qquad \ell(p) = 0 \text{ outside every object}
level set
ϕ(p)=min⁡kϕk(p)\phi(p) = \min_k \phi_k(p)
dirichlet
V(p,t)=Vℓ(p)(t),NaN where ℓ(p)=0 or the object has no voltageV(p, t) = V_{\ell(p)}(t), \qquad \text{NaN where } \ell(p) = 0 \text{ or the object has no voltage}
Assumes
  • objects S1,…,SNS_1, \dots, S_N in insertion order: the last listed object wins overlaps, also one without a voltage
  • the level set, when every object has one, is that of the union: a bound on the distance