gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
sparsityPattern Class Reference

#include <sparsityPattern.h>

Public Member Functions

void insertEntry (int i, int j)
 
const int * getRow (int line, int &size) const
 
void clear ()
 
 sparsityPattern ()
 
 ~sparsityPattern ()
 
int getNbRows ()
 

Private Attributes

int * _nByRow
 
int * _nAllocByRow
 
int ** _rowsj
 
int _nRows
 
int _nRowsAlloc
 

Detailed Description

Definition at line 13 of file sparsityPattern.h.

Constructor & Destructor Documentation

◆ sparsityPattern()

sparsityPattern::sparsityPattern ( )

Definition at line 93 of file sparsityPattern.cpp.

◆ ~sparsityPattern()

sparsityPattern::~sparsityPattern ( )

Definition at line 19 of file sparsityPattern.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ clear()

void sparsityPattern::clear ( )

Definition at line 21 of file sparsityPattern.cpp.

Referenced by ~sparsityPattern().

Here is the caller graph for this function:

◆ getNbRows()

int sparsityPattern::getNbRows ( )
inline

Definition at line 24 of file sparsityPattern.h.

◆ getRow()

const int * sparsityPattern::getRow ( int  line,
int &  size 
) const

Definition at line 102 of file sparsityPattern.cpp.

◆ insertEntry()

void sparsityPattern::insertEntry ( int  i,
int  j 
)

Definition at line 36 of file sparsityPattern.cpp.

Referenced by linearSystemCSR< scalar >::insertInSparsityPattern().

Here is the caller graph for this function:

Member Data Documentation

◆ _nAllocByRow

int * sparsityPattern::_nAllocByRow
private

Definition at line 14 of file sparsityPattern.h.

Referenced by clear(), insertEntry(), and sparsityPattern().

◆ _nByRow

int* sparsityPattern::_nByRow
private

Definition at line 14 of file sparsityPattern.h.

Referenced by clear(), getRow(), insertEntry(), and sparsityPattern().

◆ _nRows

int sparsityPattern::_nRows
private

Definition at line 16 of file sparsityPattern.h.

Referenced by clear(), getNbRows(), getRow(), insertEntry(), and sparsityPattern().

◆ _nRowsAlloc

int sparsityPattern::_nRowsAlloc
private

Definition at line 16 of file sparsityPattern.h.

Referenced by clear(), insertEntry(), and sparsityPattern().

◆ _rowsj

int** sparsityPattern::_rowsj
private

Definition at line 15 of file sparsityPattern.h.

Referenced by clear(), getRow(), insertEntry(), and sparsityPattern().


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