A module containing various configuration checks for an OpenMDAO Problem.

openmdao.error_checking.check_config.check_allocate_complex_ln(model, under_cs)[source]

Return True if linear vector should be complex.

This happens when a solver needs derivatives under complex step.

model : <Group>

Model to be checked, usually the root model.

under_cs : bool

Flag indicates if complex vectors were allocated in a containing Group or were force allocated in setup.


True if linear vector should be complex.

openmdao.error_checking.check_config.check_config(problem, logger=None)[source]

Perform optional error checks on a Problem.

problem : Problem

The Problem being checked.

logger : object

Logging object.