ESYS13
Revision_
|
Paso_SystemMatrix* Paso_SystemMatrix_alloc | ( | Paso_SystemMatrixType | type, |
Paso_SystemMatrixPattern * | pattern, | ||
int | row_block_size, | ||
int | col_block_size, | ||
const bool_t | patternIsUnrolled | ||
) |
References Paso_SystemMatrix::balance_vector, Paso_SystemMatrix::block_size, Paso_SystemMatrix::col_block_size, Paso_SystemMatrixPattern::col_connector, Paso_SystemMatrix::col_coupleBlock, Paso_SystemMatrixPattern::col_couplePattern, Paso_SystemMatrix::col_coupler, Paso_SystemMatrix::col_distribution, Esys_checkPtr(), Esys_MPIInfo_getReference(), Esys_noError(), Esys_resetError(), Esys_setError(), FALSE, Paso_SystemMatrix::global_id, Paso_SystemMatrixPattern::input_distribution, Paso_SystemMatrix::is_balanced, Paso_SystemMatrix::logical_col_block_size, Paso_SystemMatrix::logical_row_block_size, Paso_SystemMatrix::mainBlock, Paso_SystemMatrixPattern::mainPattern, MATRIX_FORMAT_BLK1, MATRIX_FORMAT_CSC, MATRIX_FORMAT_DEFAULT, MATRIX_FORMAT_DIAGONAL_BLOCK, MATRIX_FORMAT_OFFSET1, MATRIX_FORMAT_TRILINOS_CRS, MAX, MEMALLOC, MIN, Paso_SystemMatrixPattern::mpi_info, Paso_SystemMatrix::mpi_info, Paso_SparseMatrix::numCols, Paso_SparseMatrix::numRows, Paso_SystemMatrixPattern::output_distribution, Paso_Coupler_alloc(), Paso_Distribution_getReference(), PASO_PASO, Paso_SparseMatrix_alloc(), Paso_SystemMatrix_free(), Paso_SystemMatrixPattern_getReference(), Paso_SystemMatrixPattern_unrollBlocks(), Paso_TRILINOS_alloc(), Paso_SystemMatrix::pattern, Paso_SystemMatrix::reference_counter, Paso_SystemMatrix::remote_coupleBlock, Paso_SystemMatrix::row_block_size, Paso_SystemMatrixPattern::row_connector, Paso_SystemMatrix::row_coupleBlock, Paso_SystemMatrixPattern::row_couplePattern, Paso_SystemMatrix::row_coupler, Paso_SystemMatrix::row_distribution, Paso_SystemMatrix::solver_p, Paso_SystemMatrix::solver_package, Paso_SystemMatrix::trilinos_data, TRUE, Paso_SystemMatrixPattern::type, Paso_SystemMatrix::type, TYPE_ERROR, and XNOR.
Referenced by dudley::MeshAdapter::newSystemMatrix(), finley::MeshAdapter::newSystemMatrix(), Paso_FCT_FluxLimiter_alloc(), Paso_FCT_setLowOrderOperator(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_getProlongation(), Paso_Preconditioner_AMG_getRestriction(), Paso_SystemMatrix_loadMM_toCSC(), Paso_SystemMatrix_loadMM_toCSR(), and Paso_TransportProblem_alloc().
void Paso_SystemMatrix_copyBlockFromMainDiagonal | ( | Paso_SystemMatrix * | A_p, |
double * | out | ||
) |
void Paso_SystemMatrix_copyBlockToMainDiagonal | ( | Paso_SystemMatrix * | A_p, |
const double * | in | ||
) |
References Paso_SystemMatrix::mainBlock, and Paso_SparseMatrix_copyBlockToMainDiagonal().
void Paso_SystemMatrix_copyFromMainDiagonal | ( | Paso_SystemMatrix * | A_p, |
double * | out | ||
) |
References Paso_SystemMatrix::mainBlock, and Paso_SparseMatrix_copyFromMainDiagonal().
Referenced by Paso_TransportProblem_getSafeTimeStepSize().
void Paso_SystemMatrix_copyToMainDiagonal | ( | Paso_SystemMatrix * | A_p, |
const double * | in | ||
) |
References Paso_SystemMatrix::mainBlock, and Paso_SparseMatrix_copyToMainDiagonal().
double* Paso_SystemMatrix_finishColCollect | ( | Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix::col_coupler, Paso_Coupler_finishCollect(), and Paso_Coupler::recv_buffer.
Referenced by Paso_SystemMatrix_finishCollect(), and Paso_SystemMatrix_nullifyRowsAndCols().
double* Paso_SystemMatrix_finishCollect | ( | Paso_SystemMatrix * | A | ) |
double* Paso_SystemMatrix_finishRowCollect | ( | Paso_SystemMatrix * | A | ) |
References Paso_Coupler_finishCollect(), Paso_Coupler::recv_buffer, and Paso_SystemMatrix::row_coupler.
Referenced by Paso_SystemMatrix_nullifyRows(), and Paso_SystemMatrix_nullifyRowsAndCols().
void Paso_SystemMatrix_free | ( | Paso_SystemMatrix * | in | ) |
References Paso_SystemMatrix::balance_vector, Paso_SystemMatrix::col_coupleBlock, Paso_SystemMatrix::col_coupler, Paso_SystemMatrix::col_distribution, Esys_MPIInfo_free(), Paso_SystemMatrix::global_id, Paso_SystemMatrix::mainBlock, MEMFREE, Paso_SystemMatrix::mpi_info, Paso_Coupler_free(), Paso_Distribution_free(), Paso_solve_free(), Paso_SparseMatrix_free(), Paso_SystemMatrixPattern_free(), Paso_TRILINOS_free(), Paso_SystemMatrix::pattern, Paso_SystemMatrix::reference_counter, Paso_SystemMatrix::remote_coupleBlock, Paso_SystemMatrix::row_coupleBlock, Paso_SystemMatrix::row_coupler, Paso_SystemMatrix::row_distribution, and Paso_SystemMatrix::trilinos_data.
Referenced by Paso_FCT_FluxLimiter_free(), Paso_Function_LinearSystem_free(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_free(), Paso_Preconditioner_AMG_getProlongation(), Paso_Preconditioner_AMG_getRestriction(), Paso_SystemMatrix_alloc(), and Paso_TransportProblem_free().
References Paso_Preconditioner_free(), and Paso_SystemMatrix::solver_p.
Referenced by Paso_Solver_free().
dim_t Paso_SystemMatrix_getColOverlap | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix::col_coupler, and Paso_Coupler_getNumOverlapComponents.
dim_t Paso_SystemMatrix_getGlobalNumCols | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrixPattern::input_distribution, MATRIX_FORMAT_CSC, Paso_SystemMatrixPattern::output_distribution, Paso_Distribution_getGlobalNumComponents(), Paso_SystemMatrix::pattern, and Paso_SystemMatrix::type.
Referenced by Paso_solve(), Paso_Solver(), Paso_SystemMatrix_balance(), and Paso_SystemMatrix_getGlobalTotalNumCols().
dim_t Paso_SystemMatrix_getGlobalNumRows | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrixPattern::input_distribution, MATRIX_FORMAT_CSC, Paso_SystemMatrixPattern::output_distribution, Paso_Distribution_getGlobalNumComponents(), Paso_SystemMatrix::pattern, and Paso_SystemMatrix::type.
Referenced by Paso_MergedSolver_alloc(), Paso_MergedSolver_mergeSystemMatrix(), Paso_Preconditioner_AMG_alloc(), Paso_solve(), Paso_Solver(), Paso_SystemMatrix_balance(), and Paso_SystemMatrix_getGlobalTotalNumRows().
double Paso_SystemMatrix_getGlobalSize | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix::col_block_size, and Paso_SystemMatrix_getGlobalNumCols().
Referenced by Paso_SystemMatrix_getSparsity().
References Paso_SystemMatrix_getGlobalNumRows(), and Paso_SystemMatrix::row_block_size.
Referenced by Paso_SystemMatrix_getSparsity().
dim_t Paso_SystemMatrix_getNumCols | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix::mainBlock, and Paso_SparseMatrix::numCols.
Referenced by Paso_SystemMatrix_fillWithGlobalCoordinates(), and Paso_SystemMatrix_getTotalNumCols().
References Paso_SystemMatrixPattern_getNumOutput(), and Paso_SystemMatrix::pattern.
dim_t Paso_SystemMatrix_getNumRows | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix::mainBlock, and Paso_SparseMatrix::numRows.
Referenced by Paso_SystemMatrix_fillWithGlobalCoordinates(), Paso_SystemMatrix_getTotalNumRows(), and Paso_SystemMatrix_print().
References Paso_SystemMatrix::reference_counter.
Referenced by Paso_Function_LinearSystem_alloc().
dim_t Paso_SystemMatrix_getRowOverlap | ( | const Paso_SystemMatrix * | A | ) |
References Paso_Coupler_getNumOverlapComponents, and Paso_SystemMatrix::row_coupler.
double Paso_SystemMatrix_getSparsity | ( | const Paso_SystemMatrix * | A | ) |
dim_t Paso_SystemMatrix_getTotalNumCols | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix::col_block_size, and Paso_SystemMatrix_getNumCols().
Referenced by Paso_Solver(), Paso_SystemMatrix_applyBalance(), and Paso_SystemMatrix_applyBalanceInPlace().
dim_t Paso_SystemMatrix_getTotalNumRows | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix_getNumRows(), and Paso_SystemMatrix::row_block_size.
Referenced by Paso_FCT_FluxLimiter_alloc(), Paso_FCT_setAntiDiffusionFlux_BE(), Paso_FCT_setAntiDiffusionFlux_CN(), Paso_FCT_setAntiDiffusionFlux_linearCN(), Paso_FCT_setLowOrderOperator(), Paso_FCT_Solver_getSafeTimeStepSize(), Paso_FCT_Solver_initialize(), Paso_FCT_Solver_setMuPaLu(), Paso_FCT_Solver_updateNL(), Paso_Function_LinearSystem_alloc(), Paso_Preconditioner_AMG_getNumCoarseUnknwons(), Paso_ReactiveSolver_getSafeTimeStepSize(), Paso_ReactiveSolver_solve(), Paso_Solver(), Paso_Solver_BiCGStab(), Paso_Solver_GMRES(), Paso_Solver_MINRES(), Paso_Solver_PCG(), Paso_Solver_TFQMR(), Paso_SystemMatrix_applyBalance(), Paso_SystemMatrix_applyBalanceInPlace(), Paso_SystemMatrix_balance(), Paso_TransportProblem_alloc(), Paso_TransportProblem_getSafeTimeStepSize(), Paso_TransportProblem_insertConstraint(), Paso_TransportProblem_reset(), Paso_TransportProblem_setUpConstraint(), and Paso_TransportProblem_solve().
void Paso_SystemMatrix_makeZeroRowSums | ( | Paso_SystemMatrix * | A_p, |
double * | left_over | ||
) |
References Paso_SystemMatrix::block_size, Paso_SystemMatrix::mainBlock, Paso_SystemMatrix_borrowMainDiagonalPointer(), Paso_SystemMatrix_rowSum(), Paso_SystemMatrixPattern_getNumOutput(), Paso_SystemMatrix::pattern, Paso_SystemMatrix::row_block_size, and Paso_SparseMatrix::val.
Referenced by Paso_TransportProblem_getSafeTimeStepSize().
void Paso_SystemMatrix_setPreconditioner | ( | Paso_SystemMatrix * | A, |
Paso_Options * | options | ||
) |
References Paso_Preconditioner_alloc(), and Paso_SystemMatrix::solver_p.
Referenced by Paso_FCT_Solver_initialize(), Paso_Function_LinearSystem_alloc(), and Paso_Solver().
void Paso_SystemMatrix_solvePreconditioner | ( | Paso_SystemMatrix * | A, |
double * | x, | ||
double * | b | ||
) |
References Paso_Preconditioner_solve(), and Paso_SystemMatrix::solver_p.
Referenced by Paso_Function_LinearSystem_call(), Paso_Solver(), Paso_Solver_BiCGStab(), Paso_Solver_GMRES(), Paso_Solver_MINRES(), Paso_Solver_PCG(), and Paso_Solver_TFQMR().
void Paso_SystemMatrix_startColCollect | ( | Paso_SystemMatrix * | A, |
const double * | in | ||
) |
References Paso_SystemMatrix::col_coupler, and Paso_Coupler_startCollect().
Referenced by Paso_SystemMatrix_nullifyRowsAndCols(), and Paso_SystemMatrix_startCollect().
void Paso_SystemMatrix_startCollect | ( | Paso_SystemMatrix * | A, |
const double * | in | ||
) |
void Paso_SystemMatrix_startRowCollect | ( | Paso_SystemMatrix * | A, |
const double * | in | ||
) |
References Paso_Coupler_startCollect(), and Paso_SystemMatrix::row_coupler.
Referenced by Paso_SystemMatrix_nullifyRows(), and Paso_SystemMatrix_nullifyRowsAndCols().