finesse.cmatrix.CCSMatrix

Overview

class finesse.cmatrix.CCSMatrix(name)

Methods

CCSMatrix.__init__(self, /, \*args, \*\*kwargs)

Initialize self.

CCSMatrix.get_sub_matrix_view(self, …)

CCSMatrix.get_sub_diagonal_view(self, …)

CCSMatrix.add_diagonal_elements(self, …[, …])

Adds a submatrix to the matrix along its diagonal.

CCSMatrix.set_rhs(self, index, value)

CCSMatrix.construct(self)

Constructing the matrix involves taking the metadata submatrix positions throughout the matrix and allocating the memory and building the various CCS matrix structures.

CCSMatrix.get_matrix(self, …)

CCSMatrix.get_matrix_elements(self)

CCSMatrix.print_matrix(self)

CCSMatrix.print_rhs(self)

CCSMatrix.clear_rhs(self)