Working with Derivatives#

Using Finite Difference or Complex Step#

Providing Analytic Partial Derivatives#

Verifying Partial Derivatives are Correct#

Computing Total Derivatives Across a Model#

Reducing the Cost of Total Derivative Solves Using Advanced Features#

There are a number of special cases where a model has a particular structure that can be exploited to reduce the cost of linear solves used to compute total derivatives. You can learn details of how to determine if your problem has the necessary structure to use one of these features, or how to restructure your problem to make use of them in the Theory Manual entry on how OpenMDAO computes total derivatives`