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

Method SuperLUDistMatrix

cpp/dolfinx/la/superlu_dist.cpp:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137//----------------------------------------------------------------------------
138template <typename T>
139SuperLUDistMatrix<T>::SuperLUDistMatrix(const MatrixCSR<T>& A)
140 : _comm(A.comm()), _matA_values(A.values()),
141 _cols(std::make_unique<SuperLUDistStructs::vec_int_t>(col_indices(A))),
142 _rowptr(std::make_unique<SuperLUDistStructs::vec_int_t>(row_indices(A))),
143 _supermatrix(create_supermatrix<T>(A, _matA_values, *_rowptr, *_cols))
144{
145}
146/// @brief Get MPI communicator that matrix is defined on.
147template <typename T>
148MPI_Comm SuperLUDistMatrix<T>::comm() const

Callers

nothing calls this directly

Calls 4

col_indicesFunction · 0.85
row_indicesFunction · 0.85
commMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected