You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Rename has_diagonal into augmented_graph
* Fix a typo in postprocessing.jl
* Update src/graph.jl
Co-authored-by: Guillaume Dalle <[email protected]>
---------
Co-authored-by: Guillaume Dalle <[email protected]>
- `S::SparsityPatternCSC{T}`: Underlying sparsity pattern, whose diagonal is empty whenever `has_diagonal` is `false`
220
+
- `S::SparsityPatternCSC{T}`: Underlying sparsity pattern, which represents an augmented graph whenever `augmented_graph` is `true`. Here, "augmented graph" means the sparsity pattern of the augmented matrix `H = [0 Jᵀ; J 0]`.
221
221
- `edge_to_index::Vector{T}`: A vector mapping each nonzero of `S` to a unique edge index (ignoring diagonal and accounting for symmetry, so that `(i, j)` and `(j, i)` get the same index)
222
222
223
223
# References
224
224
225
225
> [_What Color Is Your Jacobian? SparsityPatternCSC Coloring for Computing Derivatives_](https://epubs.siam.org/doi/10.1137/S0036144504444711), Gebremedhin et al. (2005)
226
226
"""
227
-
struct AdjacencyGraph{T<:Integer,has_diagonal}
227
+
struct AdjacencyGraph{T<:Integer,augmented_graph}
228
228
S::SparsityPatternCSC{T}
229
229
edge_to_index::Vector{T}
230
230
end
@@ -234,24 +234,24 @@ Base.eltype(::AdjacencyGraph{T}) where {T} = T
0 commit comments