DAE.store_sparse_ijv#
- DAE.store_sparse_ijv(name, row, col, val)[source]#
Store the sparse pattern triplets.
This function is to be called by System after building the complete sparsity pattern for each Jacobian matrix.
- Parameters
- namestr
sparse Jacobian matrix name
- rownp.ndarray
all row indices
- colnp.ndarray
all col indices
- valnp.ndarray
all values