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

Method off_diagonal_offsets

cpp/dolfinx/la/SparsityPattern.cpp:430–435  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

428}
429//-----------------------------------------------------------------------------
430std::span<const std::int32_t> SparsityPattern::off_diagonal_offsets() const
431{
432 if (_offsets.empty())
433 throw std::runtime_error("Sparsity pattern has not be finalized.");
434 return _off_diagonal_offsets;
435}
436//-----------------------------------------------------------------------------
437MPI_Comm SparsityPattern::comm() const { return _comm.comm(); }
438//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected