The `check_partials` function in the Python `openmdao.api.Problem` class is used to verify the partial derivative values computed by a component against analytical derivatives. It compares the computed derivatives with a finite-difference approximation of the derivatives, which provides a way to validate the accuracy of the computed values. This function helps in identifying any potential errors in the implementation of the derivatives and allows for debugging and optimization of the component's derivatives.
Python Problem.check_partials - 60 examples found. These are the top rated real world Python examples of openmdao.api.Problem.check_partials extracted from open source projects. You can rate examples to help us improve the quality of examples.