-----------------------------------------------------------------------------
| 420 | } |
| 421 | //----------------------------------------------------------------------------- |
| 422 | std::pair<std::span<const std::int32_t>, std::span<const std::int64_t>> |
| 423 | SparsityPattern::graph() const |
| 424 | { |
| 425 | if (_offsets.empty()) |
| 426 | throw std::runtime_error("Sparsity pattern has not been finalized."); |
| 427 | return {_edges, _offsets}; |
| 428 | } |
| 429 | //----------------------------------------------------------------------------- |
| 430 | std::span<const std::int32_t> SparsityPattern::off_diagonal_offsets() const |
| 431 | { |
nothing calls this directly
no outgoing calls
no test coverage detected