cuqipy_fenics.pde.SteadyStateLinearFEniCSPDE.gradient_wrt_parameter#
- SteadyStateLinearFEniCSPDE.gradient_wrt_parameter(direction, wrt, **kwargs)#
Compute the gradient of the PDE with respect to the parameter
Note: This implementation is largely based on the code: hippylib/hippylib
See also: Gunzburger, M. D. (2002). Perspectives in flow control and optimization. Society for Industrial and Applied Mathematics, for adjoint based derivative derivation.