The theory behind sensitivity analysis as presented above (under Theory for Stationary Sensitivity Analysis) assumes that constraints on the multiphysics problem are handled in the same way as with any other equations. This is indeed the case for
weak constraints, which are implemented as a part of the main system of equations. Standard pointwise constraints are instead eliminated from the discretized equations at an early stage in the solution process. This elimination is not visible to the sensitivity solver, which therefore may miss some symbolic derivative terms necessary for computing a correct sensitivity.