Varying the weak Lagrangian in the conductivity, :
enters the weak Lagrangian linearly and in a single term, so this is exact. No integration by parts is needed, no boundary terms arise, and no assumption on is required.
Evaluated at the solutions of the State Equation and of the Adjoint Equation, this is the derivative of the reduced functional (see Adjoint State Method). Its representative is
For several current patterns, sum over the patterns: . Each term is the sensitivity kernel contracted with the residual.
Discrete version. With the derivative with respect to the coefficients is
assembled cell by cell with quadrature (see Numerical Quadrature and Assembly). For conductivities this is simply . The vector is a covector. Turning it into a function in the -space requires the Riesz map, for example the L2 Projection with the mass matrix (see Gradient Representation and the Riesz Map).
Adding a regulariser. If the objective contains , the gradient becomes . The state and adjoint equations do not change.
In ModularEIT.jl: value_and_gradient!, tensor_gradient!.
References
- M. Hinze, R. Pinnau, M. Ulbrich, S. Ulbrich (2009). Optimization with PDE Constraints. Springer. doi:10.1007/978-1-4020-8839-1
- R.-E. Plessix (2006). A review of the adjoint-state method for computing the gradient of a functional with geophysical applications. Geophys. J. Int. 167(2), 495–503. doi:10.1111/j.1365-246X.2006.02978.x
- F. J. Margotti (2015). On Inexact Newton Methods for Inverse Problems in Banach Spaces. PhD thesis, KIT. doi:10.5445/IR/1000048606