ESYS13
Revision_
|
Go to the source code of this file.
typedef struct Paso_SparseMatrix Paso_SparseMatrix |
typedef int Paso_SparseMatrixType |
void Paso_SparseMatrix_addAbsRow_CSR_OFFSET0 | ( | const Paso_SparseMatrix * | , |
double * | |||
) |
void Paso_SparseMatrix_addRow_CSR_OFFSET0 | ( | Paso_SparseMatrix * | , |
double * | |||
) |
Paso_SparseMatrix* Paso_SparseMatrix_alloc | ( | Paso_SparseMatrixType | , |
Paso_Pattern * | , | ||
dim_t | , | ||
dim_t | , | ||
const bool_t | |||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, DBLE, Esys_checkPtr(), Esys_noError(), Esys_resetError(), Esys_setError(), FALSE, Paso_Pattern::len, Paso_SparseMatrix::len, MATRIX_FORMAT_BLK1, MATRIX_FORMAT_CSC, MATRIX_FORMAT_DEFAULT, MATRIX_FORMAT_DIAGONAL_BLOCK, MATRIX_FORMAT_OFFSET1, MEMALLOC, MIN, Paso_SparseMatrix::numCols, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, PASO_PASO, Paso_Pattern_getReference(), Paso_Pattern_unrollBlocks(), Paso_SparseMatrix_free(), Paso_SparseMatrix_setValues(), Paso_SparseMatrix::pattern, Paso_SparseMatrix::reference_counter, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::solver_p, Paso_SparseMatrix::solver_package, Paso_Pattern::type, Paso_SparseMatrix::type, TYPE_ERROR, Paso_SparseMatrix::val, and XNOR.
Referenced by Paso_MergedSolver_mergeSystemMatrix(), Paso_Preconditioner_AMG_extendB(), Paso_Preconditioner_LocalAMG_getProlongation(), Paso_Solver_getAMLI(), Paso_SparseMatrix_getBlock(), Paso_SparseMatrix_getSubmatrix(), Paso_SparseMatrix_getTranspose(), Paso_SparseMatrix_loadMM_toCSR(), Paso_SparseMatrix_MatrixMatrix(), Paso_SparseMatrix_MatrixMatrixTranspose(), Paso_SparseMatrix_unroll(), Paso_SystemMatrix_alloc(), and Paso_SystemMatrix_copyRemoteCoupleBlock().
void Paso_SparseMatrix_applyBlockMatrix | ( | Paso_SparseMatrix * | A_p, |
double * | block_diag, | ||
int * | pivot, | ||
double * | x, | ||
double * | b | ||
) |
void Paso_SparseMatrix_applyDiagonal_CSR_OFFSET0 | ( | Paso_SparseMatrix * | A, |
const double * | left, | ||
const double * | right | ||
) |
References Paso_Pattern_borrowColoringPointer(), and Paso_SparseMatrix::pattern.
References Paso_Pattern_borrowMainDiagonalPointer(), and Paso_SparseMatrix::pattern.
Referenced by Paso_Preconditioner_AMG_setClassicProlongation(), Paso_Preconditioner_AMG_setClassicProlongation_Block(), Paso_Preconditioner_LocalAMG_setClassicProlongation(), Paso_Preconditioner_LocalAMG_setClassicProlongation_Block(), Paso_Preconditioner_LocalSmoother_Sweep_colored(), Paso_Preconditioner_LocalSmoother_Sweep_sequential(), Paso_Solver_getILU(), Paso_Solver_solveILU(), Paso_SparseMatrix_copyBlockFromMainDiagonal(), Paso_SparseMatrix_copyBlockToMainDiagonal(), Paso_SparseMatrix_copyFromMainDiagonal(), Paso_SparseMatrix_copyToMainDiagonal(), and Paso_SystemMatrix_borrowMainDiagonalPointer().
void Paso_SparseMatrix_copy | ( | Paso_SparseMatrix * | , |
double * | |||
) |
void Paso_SparseMatrix_copyBlockFromMainDiagonal | ( | Paso_SparseMatrix * | A_p, |
double * | out | ||
) |
void Paso_SparseMatrix_copyBlockToMainDiagonal | ( | Paso_SparseMatrix * | A_p, |
const double * | in | ||
) |
void Paso_SparseMatrix_copyFromMainDiagonal | ( | Paso_SparseMatrix * | A_p, |
double * | out | ||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, MIN, Paso_Pattern::numOutput, Paso_SparseMatrix_borrowMainDiagonalPointer(), Paso_SparseMatrix::pattern, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_copyFromMainDiagonal().
void Paso_SparseMatrix_copyToMainDiagonal | ( | Paso_SparseMatrix * | A_p, |
const double * | in | ||
) |
void Paso_SparseMatrix_free | ( | Paso_SparseMatrix * | ) |
References MEMFREE, PASO_MKL, Paso_MKL_free(), Paso_Pattern_free(), Paso_Preconditioner_LocalSmoother_free(), PASO_SMOOTHER, PASO_UMFPACK, Paso_UMFPACK_free(), Paso_SparseMatrix::pattern, Paso_SparseMatrix::reference_counter, Paso_SparseMatrix::solver_p, Paso_SparseMatrix::solver_package, and Paso_SparseMatrix::val.
Referenced by Paso_MergedSolver_alloc(), Paso_MergedSolver_free(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_extendB(), Paso_Preconditioner_AMG_getRestriction(), Paso_Preconditioner_LocalAMG_alloc(), Paso_Preconditioner_LocalAMG_free(), Paso_Preconditioner_LocalAMG_getProlongation(), Paso_Solver_AMLI_free(), Paso_Solver_AMLI_System_free(), Paso_Solver_getAMLI(), Paso_Solver_getRILU(), Paso_Solver_GSMPI_free(), Paso_Solver_RILU_free(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix_MatrixMatrix(), Paso_SparseMatrix_MatrixMatrixTranspose(), Paso_SystemMatrix_copyRemoteCoupleBlock(), and Paso_SystemMatrix_free().
Paso_SparseMatrix* Paso_SparseMatrix_getBlock | ( | Paso_SparseMatrix * | A, |
int | blockid | ||
) |
References Paso_Pattern_getNumColors(), and Paso_SparseMatrix::pattern.
dim_t Paso_SparseMatrix_getNumCols | ( | const Paso_SparseMatrix * | A | ) |
References Paso_SparseMatrix::numCols.
Referenced by Paso_SparseMatrix_saveMM().
dim_t Paso_SparseMatrix_getNumRows | ( | const Paso_SparseMatrix * | A | ) |
References Paso_SparseMatrix::numRows.
Referenced by Paso_SparseMatrix_saveMM().
References Paso_SparseMatrix::reference_counter.
Referenced by Paso_Solver_getAMLI().
double Paso_SparseMatrix_getSize | ( | const Paso_SparseMatrix * | A | ) |
References DBLE, and Paso_SparseMatrix::len.
Referenced by Paso_SparseMatrix_getSparsity(), and Paso_SystemMatrix_getGlobalSize().
double Paso_SparseMatrix_getSparsity | ( | const Paso_SparseMatrix * | A | ) |
Paso_SparseMatrix* Paso_SparseMatrix_getSubmatrix | ( | Paso_SparseMatrix * | A, |
dim_t | , | ||
dim_t | , | ||
index_t * | , | ||
index_t * | |||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Esys_noError(), Esys_resetError(), Esys_setError(), Paso_Pattern::index, MATRIX_FORMAT_CSC, MATRIX_FORMAT_OFFSET1, Paso_copyShortDouble, Paso_Pattern_free(), Paso_Pattern_getSubpattern(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, TRUE, Paso_SparseMatrix::type, TYPE_ERROR, and Paso_SparseMatrix::val.
Referenced by Paso_MergedSolver_mergeSystemMatrix(), Paso_Solver_getAMLI(), and Paso_Solver_getRILU().
dim_t Paso_SparseMatrix_getTotalNumCols | ( | const Paso_SparseMatrix * | A | ) |
References Paso_SparseMatrix::col_block_size, and Paso_SparseMatrix::numCols.
Referenced by Paso_SparseMatrix_getSparsity().
dim_t Paso_SparseMatrix_getTotalNumRows | ( | const Paso_SparseMatrix * | A | ) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, FALSE, Paso_Pattern::index, MATRIX_FORMAT_DIAGONAL_BLOCK, Paso_SparseMatrix::numCols, Paso_SparseMatrix::numRows, Paso_comparIndex(), Paso_IndexListArray_alloc(), Paso_IndexListArray_free(), Paso_IndexListArray_insertIndex, Paso_Pattern_free(), Paso_Pattern_fromIndexListArray(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, and Paso_SparseMatrix::val.
Referenced by Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_getRestriction(), and Paso_Preconditioner_LocalAMG_alloc().
void Paso_SparseMatrix_invMain | ( | Paso_SparseMatrix * | A_p, |
double * | inv_diag, | ||
int * | pivot | ||
) |
References ABS, Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Esys_noError(), Esys_setError(), Paso_SparseMatrix::numRows, Paso_BlockOps_Cpy_N, Paso_BlockOps_invM_2, Paso_BlockOps_invM_3, Paso_BlockOps_invM_N, Paso_Pattern_borrowMainDiagonalPointer(), Paso_SparseMatrix::pattern, Paso_SparseMatrix::row_block_size, TYPE_ERROR, Paso_SparseMatrix::val, and ZERO_DIVISION_ERROR.
Referenced by Paso_Preconditioner_LocalSmoother_alloc().
Paso_SparseMatrix* Paso_SparseMatrix_loadMM_toCSR | ( | char * | fileName_p | ) |
References Esys_resetError(), Esys_setError(), IO_ERROR, M, MATRIX_FORMAT_DEFAULT, MEMALLOC, MEMFREE, MEMORY_ERROR, mm_is_general, mm_is_real, mm_is_sparse, mm_read_banner(), mm_read_mtx_crd_size(), N, nz, Paso_Pattern_alloc(), Paso_Pattern_free(), Paso_SparseMatrix_alloc(), q_sort(), TRUE, TYPE_ERROR, and Paso_SparseMatrix::val.
Paso_SparseMatrix* Paso_SparseMatrix_MatrixMatrix | ( | const Paso_SparseMatrix * | A, |
const Paso_SparseMatrix * | B | ||
) |
References Paso_SparseMatrix::col_block_size, Esys_noError(), Esys_setError(), FALSE, MATRIX_FORMAT_BLK1, MATRIX_FORMAT_DEFAULT, MATRIX_FORMAT_DIAGONAL_BLOCK, Paso_SparseMatrix::numCols, Paso_SparseMatrix::numRows, Paso_Pattern_free(), Paso_Pattern_multiply(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix_free(), Paso_SparseMatrix_MatrixMatrix_BB(), Paso_SparseMatrix_MatrixMatrix_BD(), Paso_SparseMatrix_MatrixMatrix_DB(), Paso_SparseMatrix_MatrixMatrix_DD(), Paso_SparseMatrix::pattern, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, and TYPE_ERROR.
Referenced by Paso_Preconditioner_LocalAMG_alloc().
void Paso_SparseMatrix_MatrixMatrix_BB | ( | Paso_SparseMatrix * | C, |
const Paso_SparseMatrix * | A, | ||
const Paso_SparseMatrix * | B | ||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, Paso_SparseMatrix::numRows, Paso_comparIndex(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_SparseMatrix_MatrixMatrix().
void Paso_SparseMatrix_MatrixMatrix_BD | ( | Paso_SparseMatrix * | C, |
const Paso_SparseMatrix * | A, | ||
const Paso_SparseMatrix * | B | ||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, Paso_SparseMatrix::numRows, Paso_comparIndex(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_SparseMatrix_MatrixMatrix().
void Paso_SparseMatrix_MatrixMatrix_DB | ( | Paso_SparseMatrix * | C, |
const Paso_SparseMatrix * | A, | ||
const Paso_SparseMatrix * | B | ||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, Paso_SparseMatrix::numRows, Paso_comparIndex(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_SparseMatrix_MatrixMatrix().
void Paso_SparseMatrix_MatrixMatrix_DD | ( | Paso_SparseMatrix * | C, |
const Paso_SparseMatrix * | A, | ||
const Paso_SparseMatrix * | B | ||
) |
Paso_SparseMatrix* Paso_SparseMatrix_MatrixMatrixTranspose | ( | const Paso_SparseMatrix * | A, |
const Paso_SparseMatrix * | B, | ||
const Paso_SparseMatrix * | T | ||
) |
References Paso_SparseMatrix::col_block_size, Esys_noError(), Esys_setError(), FALSE, MATRIX_FORMAT_BLK1, MATRIX_FORMAT_DEFAULT, MATRIX_FORMAT_DIAGONAL_BLOCK, Paso_SparseMatrix::numCols, Paso_SparseMatrix::numRows, Paso_Pattern_free(), Paso_Pattern_multiply(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix_free(), Paso_SparseMatrix_MatrixMatrixTranspose_BB(), Paso_SparseMatrix_MatrixMatrixTranspose_BD(), Paso_SparseMatrix_MatrixMatrixTranspose_DB(), Paso_SparseMatrix_MatrixMatrixTranspose_DD(), Paso_SparseMatrix::pattern, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, and TYPE_ERROR.
Referenced by Paso_Preconditioner_LocalAMG_alloc().
void Paso_SparseMatrix_MatrixMatrixTranspose_BB | ( | Paso_SparseMatrix * | C, |
const Paso_SparseMatrix * | A, | ||
const Paso_SparseMatrix * | B, | ||
const Paso_SparseMatrix * | T | ||
) |
void Paso_SparseMatrix_MatrixMatrixTranspose_BD | ( | Paso_SparseMatrix * | C, |
const Paso_SparseMatrix * | A, | ||
const Paso_SparseMatrix * | B, | ||
const Paso_SparseMatrix * | T | ||
) |
void Paso_SparseMatrix_MatrixMatrixTranspose_DB | ( | Paso_SparseMatrix * | C, |
const Paso_SparseMatrix * | A, | ||
const Paso_SparseMatrix * | B, | ||
const Paso_SparseMatrix * | T | ||
) |
void Paso_SparseMatrix_MatrixMatrixTranspose_DD | ( | Paso_SparseMatrix * | C, |
const Paso_SparseMatrix * | A, | ||
const Paso_SparseMatrix * | B, | ||
const Paso_SparseMatrix * | T | ||
) |
void Paso_SparseMatrix_MatrixVector_CSC_OFFSET0 | ( | const double | alpha, |
const Paso_SparseMatrix * | A, | ||
const double * | in, | ||
const double | beta, | ||
double * | out | ||
) |
References ABS, Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, Paso_Pattern_isEmpty(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_MatrixVector().
void Paso_SparseMatrix_MatrixVector_CSC_OFFSET1 | ( | const double | alpha, |
const Paso_SparseMatrix * | A, | ||
const double * | in, | ||
const double | beta, | ||
double * | out | ||
) |
References ABS, Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_MatrixVector().
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0 | ( | const double | alpha, |
const Paso_SparseMatrix * | A, | ||
const double * | in, | ||
const double | beta, | ||
double * | out | ||
) |
References Paso_SparseMatrix::col_block_size, Paso_Pattern::index, MAX, MIN, Paso_SparseMatrix::numRows, omp_get_max_threads, Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_stripe(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_Preconditioner_LocalAMG_solve(), Paso_Preconditioner_LocalSmoother_solve(), Paso_Solver_solveAMLI(), Paso_Solver_solveGSMPI(), Paso_Solver_solveRILU(), and Paso_SystemMatrix_MatrixVector_CSR_OFFSET0().
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_DIAG | ( | const double | alpha, |
const Paso_SparseMatrix * | A, | ||
const double * | in, | ||
const double | beta, | ||
double * | out | ||
) |
References ABS, Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_Preconditioner_LocalAMG_solve(), and Paso_SystemMatrix_MatrixVector_CSR_OFFSET0().
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_stripe | ( | const double | alpha, |
const dim_t | nRows, | ||
const dim_t | row_block_size, | ||
const dim_t | col_block_size, | ||
const index_t * | ptr, | ||
const index_t * | index, | ||
const double * | val, | ||
const double * | in, | ||
const double | beta, | ||
double * | out | ||
) |
References ABS.
Referenced by Paso_SparseMatrix_MatrixVector_CSR_OFFSET0().
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET1 | ( | const double | alpha, |
const Paso_SparseMatrix * | A, | ||
const double * | in, | ||
const double | beta, | ||
double * | out | ||
) |
References ABS, Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_MatrixVector().
void Paso_SparseMatrix_maxAbsRow_CSR_OFFSET0 | ( | const Paso_SparseMatrix * | , |
double * | |||
) |
References Paso_Pattern_maxDeg(), and Paso_SparseMatrix::pattern.
void Paso_SparseMatrix_nullifyRows_CSR | ( | Paso_SparseMatrix * | , |
double * | , | ||
double | |||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, MATRIX_FORMAT_OFFSET1, Paso_Pattern::numOutput, Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_nullifyRows().
void Paso_SparseMatrix_nullifyRows_CSR_BLK1 | ( | Paso_SparseMatrix * | A, |
double * | mask_row, | ||
double | main_diagonal_value | ||
) |
void Paso_SparseMatrix_nullifyRowsAndCols_CSC | ( | Paso_SparseMatrix * | A, |
double * | mask_row, | ||
double * | mask_col, | ||
double | main_diagonal_value | ||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, MATRIX_FORMAT_OFFSET1, Paso_Pattern::numOutput, Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_nullifyRowsAndCols().
void Paso_SparseMatrix_nullifyRowsAndCols_CSC_BLK1 | ( | Paso_SparseMatrix * | A, |
double * | mask_row, | ||
double * | mask_col, | ||
double | main_diagonal_value | ||
) |
void Paso_SparseMatrix_nullifyRowsAndCols_CSR | ( | Paso_SparseMatrix * | A, |
double * | mask_row, | ||
double * | mask_col, | ||
double | main_diagonal_value | ||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, MATRIX_FORMAT_OFFSET1, Paso_Pattern::numOutput, Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_nullifyRowsAndCols().
void Paso_SparseMatrix_nullifyRowsAndCols_CSR_BLK1 | ( | Paso_SparseMatrix * | A, |
double * | mask_row, | ||
double * | mask_col, | ||
double | main_diagonal_value | ||
) |
void Paso_SparseMatrix_saveHB_CSC | ( | Paso_SparseMatrix * | , |
FILE * | |||
) |
References Paso_SparseMatrix::col_block_size, Esys_setError(), generate_HB(), Paso_Pattern::index, Paso_SparseMatrix::len, M, MATRIX_FORMAT_OFFSET1, MEMALLOC, MEMFREE, N, Paso_SparseMatrix::numCols, Paso_Pattern::numOutput, Paso_SparseMatrix::numRows, nz, Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, TYPE_ERROR, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_saveHB().
void Paso_SparseMatrix_saveMM | ( | Paso_SparseMatrix * | A_p, |
char * | fileName_p | ||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Esys_setError(), Paso_Pattern::index, IO_ERROR, M, MATRIX_FORMAT_CSC, MATRIX_FORMAT_DIAGONAL_BLOCK, MATRIX_FORMAT_OFFSET1, mm_initialize_typecode, mm_set_coordinate, mm_set_matrix, mm_set_real, mm_write_banner(), mm_write_mtx_crd_size(), N, Paso_SparseMatrix_getNumCols(), Paso_SparseMatrix_getNumRows(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, TYPE_ERROR, and Paso_SparseMatrix::val.
Referenced by Paso_SystemMatrix_saveMM().
void Paso_SparseMatrix_saveMM_CSC | ( | Paso_SparseMatrix * | , |
FILE * | |||
) |
void Paso_SparseMatrix_setValues | ( | Paso_SparseMatrix * | , |
double | |||
) |
Paso_SparseMatrix* Paso_SparseMatrix_unroll | ( | const Paso_SparseMatrixType | type, |
const Paso_SparseMatrix * | A | ||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Esys_noError(), FALSE, Paso_Pattern::index, MATRIX_FORMAT_BLK1, MATRIX_FORMAT_CSC, MATRIX_FORMAT_OFFSET1, Paso_SparseMatrix::numRows, Paso_comparIndex(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix::pattern, Paso_Pattern::ptr, Paso_SparseMatrix::row_block_size, Paso_SparseMatrix::type, and Paso_SparseMatrix::val.
Referenced by Paso_MergedSolver_alloc(), and Paso_Preconditioner_LocalAMG_alloc().