Skip to content
Projects

Patch edges

The equations of carafe.spatial.patch_edges, declared on the code that implements them and checked by the tests.

PatchEdgeGrid

classsource

The edges and faces of the leaf cells of a 3D patchwork hierarchy.

hodge
Ae∗=(M1)ee Le,Lf∗=(M2)ff Af(lumped masses of the leaf cells)A^*_e = (M_1)_{ee}\, L_e, \qquad L^*_f = (M_2)_{ff}\, A_f \quad (\text{lumped masses of the leaf cells})
constraints
a=T1afree,C T1=T2 C T1,K=T1⊤(C⊤MνC+Me)T1a = T_1 a_\mathrm{free}, \qquad C\,T_1 = T_2\,C\,T_1, \qquad K = T_1^\top\big(C^\top M_\nu C + M_e\big)T_1
Assumes
  • lowest-order Whitney edges and faces of the leaf cells (patchwork's composite spaces); inside a patch the finite integration scheme of EdgeGrid
  • cut cells per patch from simgeometry's yee_fractions on the patch's own grid
References