csr_matrix.py

Define the CSRmatrix class.

class openmdao.matrices.csr_matrix.CSRMatrix(comm)[source]

Bases: openmdao.matrices.coo_matrix.COOMatrix

Sparse matrix in Compressed Row Storage format.

__init__(comm)

Initialize all attributes.

Parameters:
comm : MPI.Comm or <FakeComm>

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