#include "Paso.h"
#include "SparseMatrix.h"
#include "PasoUtil.h"
Functions | |
Paso_SparseMatrix * | Paso_SparseMatrix_getSubmatrix (Paso_SparseMatrix *A, int n_row_sub, int n_col_sub, index_t *row_list, index_t *new_col_index) |
Paso_SparseMatrix* Paso_SparseMatrix_getSubmatrix | ( | Paso_SparseMatrix * | A, | |
int | n_row_sub, | |||
int | n_col_sub, | |||
index_t * | row_list, | |||
index_t * | new_col_index | |||
) |
References Paso_SparseMatrix::block_size, Paso_SparseMatrix::col_block_size, Paso_Pattern::index, MATRIX_FORMAT_CSC, MATRIX_FORMAT_OFFSET1, Paso_copyShortDouble, Paso_noError(), Paso_Pattern_free(), Paso_Pattern_getSubpattern(), Paso_resetError(), Paso_setError(), 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_Solver_getAMG(), and Paso_Solver_getRILU().