StateType
Definition: Solver.h:159
@ BlockMatrix
Definition: Solver.h:159
@ ConMatrix
Definition: Solver.h:159
@ BlockConMatrix
Definition: Solver.h:159
int ds_DefineConnectivity(SD_MATRIX_DATA *const pMat0, const int &nEq, int Eq[], const int &nEl, const int &Dim)
This function assemble the element connnectivity for one or more elements in order to build a sparse ...
Definition: Solver.cc:1862
int ds_Initialize(const int &MatDim, SD_MATRIX_DATA **ppMat)
This is the first function to be called prior to begin to work with any matrix. The user must gives t...
Definition: Solver.cc:423
SD_MATRIX_WHAT
Definition: Solver.h:175
@ NumericFactorize
Definition: Solver.h:188
@ SymbolicFactorize
Definition: Solver.h:181
@ ResetMatrixData
Definition: Solver.h:205
@ BackForwardSubst
Definition: Solver.h:193
@ ComputeSolution
Definition: Solver.h:199
@ ReleaseMatrixData
Definition: Solver.h:210
int ReleaseConMatrix(SD_CON_MATRIX_DATA *pMat)
Definition: Solver.cc:408
int ds_AssembleMatrix(SD_MATRIX_DATA *pMat0, const int &nEq, int Eq[], const int &Dim, const double *ElMat)
This function assemble the element square matrix [ElMat] for one element with nEq*M x nEq*M real coef...
Definition: Solver.cc:619
int ReleaseBlockMatrix(SD_BLOCK_MATRIX_DATA *pMat)
Release all the data allocated for the numerical factorization algorithm.
Definition: Solver.cc:1849
bool ds_Solve(const SD_MATRIX_WHAT &Code, SD_MATRIX_DATA *pMat, double *pX)
This function calls the solver itself.
Definition: Solver.cc:547
int SizeBlockJump
Definition: Solver.h:84
int * pBlockJump
Definition: Solver.h:85
int * pPerm
Definition: Solver.h:78
double * pUpper
Definition: Solver.h:87
int nRowBlock
Definition: Solver.h:79
int * pSizeColBlock
Definition: Solver.h:83
int nColBlock
Definition: Solver.h:81
int SizeUpper
Definition: Solver.h:86
SD_ROW_BLOCK_DATA * pRowBlock
Definition: Solver.h:80
int Dim
Definition: Solver.h:77
int * pFirstColBlock
Definition: Solver.h:82
The CHUNK_DATA is used to keep track of allocated memory chunks ( block of memory )....
Definition: Solver.h:58
int TotChunkSize
Definition: Solver.h:62
int nChunks
Definition: Solver.h:59
int pChunksSize
Definition: Solver.h:60
char ** pChunks
Definition: Solver.h:61
int Col1
Definition: Solver.h:118
int Col0
Definition: Solver.h:118
struct SD_COL_BLOCK_DATA * Next
Definition: Solver.h:119
struct SD_COL_DATA * Next
Definition: Solver.h:93
int Col
Definition: Solver.h:92
SD_CHUNK_DATA PoolCol
Definition: Solver.h:110
int nRow
Definition: Solver.h:103
int * pPerm
Definition: Solver.h:104
int nFreeCol
Definition: Solver.h:112
SD_ROW_DATA * pRow
Definition: Solver.h:109
int nCol
Definition: Solver.h:113
int * pPermInv
Definition: Solver.h:105
int nSupernode
Definition: Solver.h:106
SD_COL_DATA * FreeCol
Definition: Solver.h:111
int * pSupernode
Definition: Solver.h:107
When the user define a matrix, the software return a pointer to an opaque type i.e....
Definition: Solver.h:162
StateType State
Definition: Solver.h:166
SD_TMP_CON_MATRIX_DATA TmpCon
Definition: Solver.h:169
SD_BLOCK_MATRIX_DATA Block
Definition: Solver.h:170
int nEq
Definition: Solver.h:163
SD_CON_MATRIX_DATA Con
Definition: Solver.h:168
int nDeletedEq
Definition: Solver.h:164
The data structure to store the matrix for numerical factorization is a simple one....
Definition: Solver.h:66
int nColBlock
Definition: Solver.h:70
int nCol
Definition: Solver.h:69
int Row0
Definition: Solver.h:67
int iColBlock
Definition: Solver.h:71
int Row1
Definition: Solver.h:68
int iFloat
Definition: Solver.h:72
SD_COL_DATA * Col
Definition: Solver.h:98
int nRow
Definition: Solver.h:140
int nColBlock
Definition: Solver.h:145
int nRowBlock
Definition: Solver.h:143
int * pPerm
Definition: Solver.h:141
SD_TMP_ROW_BLOCK_DATA * pRowBlock
Definition: Solver.h:144
SD_COL_BLOCK_DATA * FreeColBlock
Definition: Solver.h:147
SD_CHUNK_DATA PoolColBlock
Definition: Solver.h:146
SD_COL_BLOCK_DATA * ColBlock
Definition: Solver.h:134
int Row0
Definition: Solver.h:127
int Row1
Definition: Solver.h:128
SD_ROW_BLOCK_DATA UnusedData
Definition: Solver.h:124