Define the DenseMatrix class.

class openmdao.matrices.dense_matrix.DenseMatrix(comm)[source]

Bases: openmdao.matrices.coo_matrix.COOMatrix

Dense global matrix.

__init__(self, comm)

Initialize all attributes.

commMPI.Comm or <FakeComm>

communicator of the top-level system that owns the <Jacobian>.

set_complex_step_mode(self, active)

Turn on or off complex stepping mode.

When turned on, the value in each subjac is cast as complex, and when turned off, they are returned to real values.


Complex mode flag; set to True prior to commencing complex step.