The equations of patchwork.spaces.faces, declared on the code that implements them and checked by the tests.
The faces of the leaf cells of a 2D or 3D hierarchy, and the operators on them.
- divergence
- (Df)K=a∑(fK,a,upper−fK,a,lower)
- curl
- (Ce)F=eb(at lower c)+ec(at upper b)−eb(at upper c)−ec(at lower b),(a,b,c) cyclic
- hanging faces
- (T2f)g=(sFsg)d−1fFfor a fine face g of span sg in a coarse face F
- exact
- CG=0,DC=0,CT1=T2CT1
- whitney
- Ba=∏i=ahi(1−ξa)flower+ξafupper
- Assumes
- 2D and 3D Cartesian; faces addressed on the finest lattice like the edges
- a coarse face and the fine faces that tile it are different faces; the fine ones hang
- cells are the leaf cells of
CompositeNodes, in the order of its cell_corners
- References
- Built from
The face mass matrix M2: f^T M2 f is the integral of |B|^2.
- energy
- f⊤M2f=∫∣B∣2dV
- lumped
- Mgg=K∋g∑2∣g∣h⊥
- Assumes
- lumped: the vertex quadrature along the normal, diagonal
- consistent: the exact integral of the linear normal profiles
- for a field on hanging faces use T2⊤M2T2
- Built from