Mass matrices
The equations of patchwork.spaces.mass, declared on the code that implements them and checked by the tests.
edge_cross_blocks
functionsourceThe coupling of every cell's edges along two different axes, (m, 2**(d-1), 2**(d-1)).
- cross
- Assumes
- an edge value is the line integral of the field along it (Whitney edges)
- the same for the lumped and the consistent mass along and : the vertex quadrature of a product of a hat and a constant is exact
- a tensor-product (box) cell; Cartesian measure
edge_mass_blocks
functionsourceThe mass block of every cell's edges along axis, (m, 2**(d-1), 2**(d-1)).
- edges
- lumped edges
- Assumes
- an edge value is the line integral of the field along it (Whitney edges)
- a tensor-product (box) cell; Cartesian measure
face_mass_blocks
functionsourceThe mass block of every cell's two faces normal to axis, (m, 2, 2).
- faces
- lumped faces
- Assumes
- a face value is the flux through it (Raviart–Thomas faces): the normal component varies linearly between the cell's two faces normal to the axis
- a tensor-product (box) cell; Cartesian measure
node_mass_blocks
functionsourceThe node mass block of every cell, (m, 2**d, 2**d), in corner order.
- nodes
- lumped nodes
- Assumes
- a tensor-product (box) cell; Cartesian measure
stiffness_blocks
functionsourceThe nodal stiffness block G^T M1(K) G of every cell, (m, 2**d, 2**d).
- stiffness
- edges
- energy
- Assumes
- the corner differences along the cell's edges on axis (the local discrete gradient)
- a symmetric coefficient per cell; with the lumped mass the vertex quadrature of , positive for a positive definite
- a coefficient per edge scales the edge's rows and columns by : on the lumped (diagonal) blocks the edge's conductance times
- Built from