ESYS13
Revision_
|
Go to the source code of this file.
typedef struct Paso_Pattern Paso_Pattern |
PASO_DLL_API int Paso_comparIndex | ( | const void * | , |
const void * | |||
) |
Referenced by how_many(), Paso_Pattern_alloc(), Paso_Pattern_borrowMainDiagonalPointer(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_CIJPCoarsening(), Paso_Preconditioner_AMG_getRestriction(), Paso_Preconditioner_AMG_setClassicProlongation(), Paso_Preconditioner_AMG_setClassicProlongation_Block(), Paso_Preconditioner_AMG_setDirectProlongation(), Paso_Preconditioner_AMG_setDirectProlongation_Block(), Paso_Preconditioner_LocalAMG_enforceFFConnectivity(), Paso_Preconditioner_LocalAMG_setClassicProlongation(), Paso_Preconditioner_LocalAMG_setClassicProlongation_Block(), Paso_Preconditioner_LocalAMG_setDirectProlongation(), Paso_Preconditioner_LocalAMG_setDirectProlongation_Block(), Paso_Solver_getAMLI(), Paso_Solver_getRILU(), Paso_Solver_updateIncompleteSchurComplement(), Paso_SparseMatrix_getTranspose(), Paso_SparseMatrix_MatrixMatrix_BB(), Paso_SparseMatrix_MatrixMatrix_BD(), Paso_SparseMatrix_MatrixMatrix_DB(), Paso_SparseMatrix_MatrixMatrix_DD(), Paso_SparseMatrix_unroll(), and Paso_SystemMatrix_extendedRowsForST().
PASO_DLL_API Paso_Pattern* Paso_Pattern_alloc | ( | int | type, |
dim_t | numOutput, | ||
dim_t | numInput, | ||
index_t * | ptr, | ||
index_t * | index | ||
) |
References Paso_Pattern::coloring, Esys_checkPtr(), Esys_resetError(), Esys_setError(), Paso_Pattern::index, Paso_Pattern::len, Paso_Pattern::main_iptr, MATRIX_FORMAT_OFFSET1, MAX, MEMALLOC, MIN, Paso_Pattern::numColors, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_comparIndex(), Paso_Pattern::ptr, Paso_Pattern::reference_counter, Paso_Pattern::type, and TYPE_ERROR.
Referenced by Dudley_IndexList_createPattern(), Finley_IndexList_createPattern(), Paso_MergedSolver_mergeSystemMatrix(), Paso_Pattern_fromIndexListArray(), Paso_Pattern_getSubpattern(), Paso_Pattern_unrollBlocks(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_extendB(), Paso_Preconditioner_AMG_getProlongation(), Paso_Preconditioner_AMG_getRestriction(), Paso_Preconditioner_LocalAMG_getProlongation(), Paso_SparseMatrix_loadMM_toCSR(), Paso_SystemMatrix_copyRemoteCoupleBlock(), Paso_SystemMatrix_loadMM_toCSC(), and Paso_SystemMatrix_loadMM_toCSR().
PASO_DLL_API Paso_Pattern* Paso_Pattern_binop | ( | int | type, |
Paso_Pattern * | A, | ||
Paso_Pattern * | B | ||
) |
References Paso_Pattern::coloring, Esys_checkPtr(), Esys_noError(), MEMALLOC, MEMFREE, Paso_Pattern::numColors, Paso_Pattern::numInput, and Paso_Pattern_color().
Referenced by Paso_Pattern_getNumColors(), Paso_Preconditioner_LocalSmoother_Sweep_colored(), Paso_Solver_getILU(), Paso_Solver_solveILU(), and Paso_SparseMatrix_borrowColoringPointer().
References Esys_checkPtr(), Paso_Pattern::index, Paso_Pattern::main_iptr, MEMALLOC, MEMFREE, Paso_Pattern::numOutput, Paso_comparIndex(), and Paso_Pattern::ptr.
Referenced by Paso_SparseMatrix_borrowMainDiagonalPointer(), and Paso_SparseMatrix_invMain().
PASO_DLL_API void Paso_Pattern_color | ( | Paso_Pattern * | patter, |
index_t * | num_colors, | ||
index_t * | colorOf | ||
) |
References Esys_checkPtr(), Esys_noError(), Paso_Pattern::numOutput, Paso_Pattern_mis(), Paso_Util_isAny(), TMPMEMALLOC, and TMPMEMFREE.
Referenced by Paso_Pattern_borrowColoringPointer().
PASO_DLL_API void Paso_Pattern_free | ( | Paso_Pattern * | ) |
References Paso_Pattern::coloring, Paso_Pattern::index, Paso_Pattern::main_iptr, MEMFREE, Paso_Pattern::ptr, and Paso_Pattern::reference_counter.
Referenced by Dudley_IndexList_createPattern(), Dudley_makePattern(), Dudley_Mesh_optimizeDOFDistribution(), Dudley_Mesh_optimizeDOFLabeling(), Finley_IndexList_createPattern(), Finley_makePattern(), Finley_Mesh_optimizeDOFDistribution(), Finley_Mesh_optimizeDOFLabeling(), Paso_Coarsening_Local_Standard_Block(), Paso_MergedSolver_mergeSystemMatrix(), Paso_Pattern_fromIndexListArray(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_extendB(), Paso_Preconditioner_AMG_getProlongation(), Paso_Preconditioner_AMG_getRestriction(), Paso_Preconditioner_LocalAMG_getProlongation(), Paso_Solver_getAMLI(), Paso_Solver_GSMPI_free(), Paso_SparseMatrix_free(), Paso_SparseMatrix_getSubmatrix(), Paso_SparseMatrix_getTranspose(), Paso_SparseMatrix_loadMM_toCSR(), Paso_SparseMatrix_MatrixMatrix(), Paso_SparseMatrix_MatrixMatrixTranspose(), Paso_SystemMatrix_copyRemoteCoupleBlock(), Paso_SystemMatrix_loadMM_toCSC(), Paso_SystemMatrix_loadMM_toCSR(), Paso_SystemMatrixPattern_free(), and Paso_SystemMatrixPattern_unrollBlocks().
PASO_DLL_API Paso_Pattern* Paso_Pattern_fromIndexListArray | ( | dim_t | n0, |
Paso_IndexListArray * | index_list_array, | ||
index_t | range_min, | ||
index_t | range_max, | ||
index_t | index_offset | ||
) |
References Esys_checkPtr(), Esys_noError(), Paso_IndexListArray::index_list, MATRIX_FORMAT_DEFAULT, MEMALLOC, MEMFREE, Paso_IndexListArray::n, Paso_IndexList_count(), Paso_IndexList_toArray(), Paso_Pattern_alloc(), and Paso_Pattern_free().
Referenced by Paso_Coarsening_Local_getTranspose(), Paso_Coarsening_Local_Standard_Block(), Paso_Pattern_binop(), Paso_Pattern_multiply(), and Paso_SparseMatrix_getTranspose().
References Paso_Pattern::reference_counter.
Referenced by Paso_Pattern_unrollBlocks(), Paso_SparseMatrix_alloc(), and Paso_SystemMatrixPattern_alloc().
PASO_DLL_API Paso_Pattern* Paso_Pattern_getSubpattern | ( | Paso_Pattern * | , |
dim_t | , | ||
dim_t | , | ||
index_t * | , | ||
index_t * | |||
) |
References Esys_checkPtr(), Esys_noError(), Esys_resetError(), Paso_Pattern::index, MATRIX_FORMAT_OFFSET1, MEMALLOC, MEMFREE, Paso_Pattern_alloc(), Paso_Util_cumsum(), Paso_Pattern::ptr, and Paso_Pattern::type.
Referenced by Paso_SparseMatrix_getSubmatrix().
References FALSE, Paso_Pattern::index, Paso_Pattern::ptr, and TRUE.
Referenced by Paso_SparseMatrix_MatrixVector_CSC_OFFSET0(), and Paso_SparseMatrix_setValues().
References MAX, Paso_Pattern::numInput, and Paso_Pattern::ptr.
Referenced by Paso_SparseMatrix_maxDeg().
PASO_DLL_API void Paso_Pattern_mis | ( | Paso_Pattern * | pattern_p, |
index_t * | mis_marker | ||
) |
References Esys_checkPtr(), Esys_setError(), Paso_Pattern::index, IS_AVAILABLE, IS_CONNECTED_TO_MIS, IS_IN_MIS, IS_IN_MIS_NOW, MATRIX_FORMAT_OFFSET1, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_Pattern_mis_seed, Paso_Util_isAny(), Paso_Pattern::ptr, TMPMEMALLOC, TMPMEMFREE, Paso_Pattern::type, and VALUE_ERROR.
Referenced by Paso_Pattern_color(), and Paso_Solver_getRILU().
Paso_Pattern* Paso_Pattern_multiply | ( | int | type, |
Paso_Pattern * | A, | ||
Paso_Pattern * | B | ||
) |
References Paso_Pattern::index, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_IndexListArray_alloc(), Paso_IndexListArray_free(), Paso_IndexListArray_insertIndex, Paso_Pattern_fromIndexListArray(), and Paso_Pattern::ptr.
Referenced by Paso_Solver_getAMLI(), Paso_SparseMatrix_MatrixMatrix(), and Paso_SparseMatrix_MatrixMatrixTranspose().
PASO_DLL_API void Paso_Pattern_reduceBandwidth | ( | Paso_Pattern * | self, |
index_t * | oldToNew | ||
) |
References Paso_DegreeAndIdx::deg, Esys_checkPtr(), Esys_setError(), Paso_DegreeAndIdx::idx, MAX, N, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_comparDegreeAndIdx(), Paso_Pattern_dropTree(), Paso_Pattern_getBandwidth(), Paso_Pattern::ptr, TMPMEMALLOC, TMPMEMFREE, and VALUE_ERROR.
Referenced by Dudley_Mesh_optimizeDOFLabeling(), and Finley_Mesh_optimizeDOFLabeling().
PASO_DLL_API Paso_Pattern* Paso_Pattern_unrollBlocks | ( | Paso_Pattern * | , |
int | , | ||
dim_t | , | ||
dim_t | |||
) |
References Esys_checkPtr(), Esys_noError(), Esys_resetError(), Paso_Pattern::index, Paso_Pattern::len, MATRIX_FORMAT_OFFSET1, MEMALLOC, MEMFREE, Paso_Pattern::numInput, Paso_Pattern::numOutput, Paso_Pattern_alloc(), Paso_Pattern_getReference(), Paso_Pattern::ptr, and Paso_Pattern::type.
Referenced by Paso_SparseMatrix_alloc(), and Paso_SystemMatrixPattern_unrollBlocks().