GEOS
Namespaces | Functions
ReverseCutHillMcKeeOrdering.hpp File Reference
#include "common/DataTypes.hpp"

Go to the source code of this file.

Namespaces

 geos
 

Functions

void geos::reverseCutHillMcKeeOrdering::computePermutation (localIndex const *const offsets, globalIndex const *const columns, localIndex const rankOffset, arrayView1d< localIndex > const perm)
 This function actually does the RCM ordering of a symmetric csr matrix (entire) The original implementation can be found in src/parcsr_ls/par_ilu.c in hypre. More...
 

Function Documentation

◆ computePermutation()

void geos::reverseCutHillMcKeeOrdering::computePermutation ( localIndex const *const  offsets,
globalIndex const *const  columns,
localIndex const  rankOffset,
arrayView1d< localIndex > const  perm 
)

This function actually does the RCM ordering of a symmetric csr matrix (entire) The original implementation can be found in src/parcsr_ls/par_ilu.c in hypre.

Parameters
[in]offsetsrow offsets in the matrix to reorder
[in]columnscolumn indices in the matrix to reorder
[in]rankOffsetoffset of this rank (assuming numComps = 1)
[out]permthe permutation array