MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / graph

Method graph

cpp/dolfinx/la/SparsityPattern.cpp:422–428  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected