For the Dirichlet Problem, the boundary values are prescribed at the boundary degrees of freedom . Let denote the interior DOFs. Partition the system :
Elimination (symmetric). Solve . The reduced matrix is symmetric positive definite, so CG applies.
Row/column replacement (same size). Keep the full system but, for each , zero out row and column , set the diagonal to , set , and move the eliminated column contributions to the right-hand side. This keeps the matrix size and symmetry and is equivalent to elimination. Zeroing only the rows is simpler, but it destroys symmetry.
Penalty / Nitsche. Add with a large penalty. This is approximate unless the symmetric Nitsche terms are included.
Measured quantity. In the Dirichlet setting one measures the boundary current . The consistent discrete way to obtain it is the residual of the unconstrained boundary rows, . By the weak form, , so the nodal current density follows from (see Boundary Mass and Stiffness Matrices). This variational flux recovery is more accurate than differentiating numerically.
References
- A. Ern, J.-L. Guermond (2004). Theory and Practice of Finite Elements. Springer. doi:10.1007/978-1-4757-4355-5
- S. C. Brenner, L. R. Scott (2008). The Mathematical Theory of Finite Element Methods, 3rd ed. Springer. doi:10.1007/978-0-387-75934-0