Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
Parent class(es)
This class implements the GenericSparsityPattern interface. It is used by most linear algebra backends.
Create empty sparsity pattern
Create sparsity pattern for a generic tensor
Initialize sparsity pattern for a generic tensor
Insert non-zero entries using global indices
Insert non-zero entries using local (process-wise) indices
Return rank
Return local range for dimension dim
Return number of local nonzeros
Fill array with number of nonzeros for diagonal block in local_range for dimension 0. For matrices, fill array with number of nonzeros per local row for diagonal block
Fill array with number of nonzeros for off-diagonal block in local_range for dimension 0. For matrices, fill array with number of nonzeros per local row for off-diagonal block
Fill vector with number of nonzeros in local_range for dimension 0
Finalize sparsity pattern
Return informal string representation (pretty-print)
Return underlying sparsity pattern (diagonal). Options are ‘sorted’ and ‘unsorted’.
Return underlying sparsity pattern (off-diagonal). Options are ‘sorted’ and ‘unsorted’.