Varying the weak Lagrangian
in the multiplier, , and letting :
This is exactly the weak forward problem. The state equation is the forward problem.
Recovering the strong form (two-stage argument).
- Test with , which vanishes near the boundary, and integrate by parts. This gives in .
- Subtract the interior identity and allow with arbitrary trace. This gives the natural boundary condition on (Neumann case). In the Dirichlet case the condition is built into the trial space.
Testing with gives the compatibility condition .
Solving the state equations for all Current Patterns already gives the objective value . The gradient additionally needs the Adjoint Equation.
In ModularEIT.jl: forward_neumann, AdjointStateObjective.
References
- M. Hinze, R. Pinnau, M. Ulbrich, S. Ulbrich (2009). Optimization with PDE Constraints. Springer. doi:10.1007/978-1-4020-8839-1
- L. C. Evans (2010). Partial Differential Equations, 2nd ed. AMS GSM 19. doi:10.1090/gsm/019