SparseConectivityMtxII Class Reference

This is a dynamic sparse matrix format There is full set of rows but in each row are stored only nonzeros. More...

#include <SparseConectivityMtx.h>

Inheritance diagram for SparseConectivityMtxII:
TraceableMatrix IConectMatrix IMatrix

List of all members.

Public Member Functions

void AddGrow (long i, long j)
long ColumnLength (long i)
IntArrayListDetachIndexesAboveDiagonalInColumn (long j)
OrderingGenerateAMD (IntArrayList *fixed=NULL)
OrderingGenerateAMD_AA (IntArrayList *fixed=NULL)
void GenerateFillInPresorted (Ordering *ord)
OrderingGenerateMD (IntArrayList *fixed=NULL)
OrderingGet_ColAMD ()
OrderingGet_Cuthill_McKee ()
OrderingGet_MetisDiSection ()
OrderingGet_RecursiveBiSection ()
OrderingGet_Reverse_Cuthill_McKee ()
OrderingGet_Unity ()
void GetCmpRows (long *&adr, long *&ci)
IntArrayListGetIndexesAboveDiagonalInColumn (long j)
IntArrayListGetOrder_Cuthill_McKee2 ()
OrderingGetOrdering (Ordering::Type ord)
OrderingGetPermutationAndPattern (Ordering::Type ord, IntArrayList *fixed=NULL)
long N () const
long Nonzeros () const
 SparseConectivityMtxII (const SparseConectivityMtxII &mtx)
 SparseConectivityMtxII (SparseConectivityMtxII &mtx, Ordering *order)
 SparseConectivityMtxII (const SparseMatrixF &sm, Ordering *node_order, char block_size)
 SparseConectivityMtxII (const SparseMatrixF &sm, char block_size)
virtual ~SparseConectivityMtxII ()

Public Attributes

IntArrayList ** ColumnsIndexes
long n
long nonzeros

Detailed Description

This is a dynamic sparse matrix format There is full set of rows but in each row are stored only nonzeros.

Definition at line 19 of file SparseConectivityMtx.h.


Constructor & Destructor Documentation

SparseConectivityMtxII ( const SparseMatrixF sm,
char  block_size 
)
SparseConectivityMtxII ( const SparseMatrixF sm,
Ordering node_order,
char  block_size 
)

Definition at line 209 of file SparseConectivityMtx.cpp.

References ColumnsIndexes, N(), n, Nonzeros(), and nonzeros.

~SparseConectivityMtxII (  )  [virtual]

Definition at line 220 of file SparseConectivityMtx.cpp.

References ColumnsIndexes, and n.


Member Function Documentation

void AddGrow ( long  i,
long  j 
)
long ColumnLength ( long  i  ) 

Definition at line 246 of file SparseConectivityMtx.cpp.

References ColumnsIndexes, and IntArrayList::Count.

Referenced by CMcKee::FindFirstNode(), and GetOrder_Cuthill_McKee2().

IntArrayList * DetachIndexesAboveDiagonalInColumn ( long  j  )  [virtual]

Implements IConectMatrix.

Definition at line 524 of file SparseConectivityMtx.cpp.

References ColumnsIndexes.

Ordering * GenerateAMD ( IntArrayList fixed = NULL  ) 

Definition at line 343 of file SparseConectivityMtx.cpp.

References MD_Qqraph::GenerateMD().

Referenced by GetOrdering(), and GetPermutationAndPattern().

Ordering * GenerateAMD_AA ( IntArrayList fixed = NULL  ) 
void GenerateFillInPresorted ( Ordering ord  ) 
Ordering * GenerateMD ( IntArrayList fixed = NULL  ) 

Definition at line 337 of file SparseConectivityMtx.cpp.

References MD_Qqraph::GenerateMD().

Referenced by GetOrdering(), and GetPermutationAndPattern().

Ordering * Get_ColAMD (  ) 
Ordering * Get_Cuthill_McKee (  ) 

Definition at line 356 of file SparseConectivityMtx.cpp.

References GetOrder_Cuthill_McKee2().

Referenced by GetOrdering(), and GetPermutationAndPattern().

Ordering * Get_MetisDiSection (  ) 
Ordering * Get_RecursiveBiSection (  ) 

Definition at line 375 of file SparseConectivityMtx.cpp.

References IntArrayList::InitIdentity(), and n.

Referenced by GetPermutationAndPattern().

Ordering * Get_Reverse_Cuthill_McKee (  ) 
Ordering * Get_Unity (  ) 

Definition at line 368 of file SparseConectivityMtx.cpp.

References IntArrayList::InitIdentity(), and n.

Referenced by GetOrdering(), and GetPermutationAndPattern().

void GetCmpRows ( long *&  adr,
long *&  ci 
)
IntArrayList * GetIndexesAboveDiagonalInColumn ( long  j  )  [virtual]

Implements IConectMatrix.

Definition at line 519 of file SparseConectivityMtx.cpp.

References ColumnsIndexes.

Referenced by GetCmpRows().

IntArrayList * GetOrder_Cuthill_McKee2 (  ) 
Ordering * GetOrdering ( Ordering::Type  ord  ) 
Ordering * GetPermutationAndPattern ( Ordering::Type  ord,
IntArrayList fixed = NULL 
)
long N (  )  const [inline, virtual]
long Nonzeros (  )  const [inline, virtual]

Implements IMatrix.

Definition at line 30 of file SparseConectivityMtx.h.

References nonzeros.

Referenced by DSSolver::CreateNewSparseGridMtx(), and SparseConectivityMtxII().


Member Data Documentation

long n
long nonzeros

Definition at line 26 of file SparseConectivityMtx.h.

Referenced by AddGrow(), Nonzeros(), and SparseConectivityMtxII().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2