MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / finalize

Method finalize

ibtk/contrib/eigen/Eigen/src/SparseCore/SparseMatrix.h:425–441  ·  view source on GitHub ↗

\internal * Must be called after inserting a set of non zero entries using the low level compressed API. */

Source from the content-addressed store, hash-verified

423 * Must be called after inserting a set of non zero entries using the low level compressed API.
424 */
425 inline void finalize()
426 {
427 if(isCompressed())
428 {
429 StorageIndex size = internal::convert_index<StorageIndex>(m_data.size());
430 Index i = m_outerSize;
431 // find the last filled column
432 while (i>=0 && m_outerIndex[i]==0)
433 --i;
434 ++i;
435 while (i<=m_outerSize)
436 {
437 m_outerIndex[i] = size;
438 ++i;
439 }
440 }
441 }
442
443 //---
444

Callers 6

factorizeMethod · 0.45
runMethod · 0.45
assign_sparse_to_sparseFunction · 0.45
factorizeMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected