#include "SystemMatrix.h"
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::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, FALSE, Paso_SystemMatrixPattern::input_distribution, 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_OFFSET1, MATRIX_FORMAT_SYM, MATRIX_FORMAT_TRILINOS_CRS, MEMALLOC, Paso_SystemMatrixPattern::mpi_info, Paso_SystemMatrix::mpi_info, Paso_SystemMatrix::normalizer, Paso_SystemMatrix::normalizer_is_valid, Paso_SparseMatrix::numCols, Paso_SparseMatrix::numRows, Paso_SystemMatrixPattern::output_distribution, Paso_checkPtr(), Paso_Coupler_alloc(), Paso_Distribution_getReference(), Paso_MPIInfo_getReference(), Paso_noError(), PASO_PASO, Paso_resetError(), Paso_setError(), Paso_SparseMatrix_alloc(), Paso_SystemMatrix_free(), Paso_SystemMatrixPattern_getReference(), Paso_SystemMatrixPattern_unrollBlocks(), Paso_TRILINOS_alloc(), Paso_SystemMatrix::pattern, PATTERN_FORMAT_DEFAULT, PATTERN_FORMAT_OFFSET1, Paso_SystemMatrix::reference_counter, 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, Paso_SystemMatrix::solver_package, Paso_SystemMatrix::trilinos_data, TRUE, Paso_SystemMatrix::type, Paso_SystemMatrixPattern::type, TYPE_ERROR, and XNOR.
Referenced by finley::MeshAdapter::newSystemMatrix(), Paso_FCTransportProblem_alloc(), Paso_FCTransportProblem_setLowOrderOperator(), Paso_SolverFCT_solve(), Paso_SystemMatrix_loadMM_toCSC(), and Paso_SystemMatrix_loadMM_toCSR().
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 | ) |
References Paso_SystemMatrix_finishColCollect().
Referenced by Paso_SystemMatrix_MatrixVector_CSR_OFFSET0().
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::col_coupleBlock, Paso_SystemMatrix::col_coupler, Paso_SystemMatrix::col_distribution, Paso_SystemMatrix::mainBlock, MEMFREE, Paso_SystemMatrix::mpi_info, Paso_SystemMatrix::normalizer, Paso_Coupler_free(), Paso_Distribution_free(), Paso_MPIInfo_free(), Paso_solve_free(), Paso_SparseMatrix_free(), Paso_SystemMatrixPattern_free(), Paso_TRILINOS_free(), Paso_SystemMatrix::pattern, Paso_SystemMatrix::reference_counter, Paso_SystemMatrix::row_coupleBlock, Paso_SystemMatrix::row_coupler, Paso_SystemMatrix::row_distribution, and Paso_SystemMatrix::trilinos_data.
Referenced by Paso_FCTransportProblem_free(), Paso_Function_LinearSystem_free(), Paso_SolverFCT_solve(), Paso_SystemMatrix_alloc(), and finley::SystemMatrixAdapter::~SystemMatrixAdapter().
dim_t Paso_SystemMatrix_getGlobalNumCols | ( | Paso_SystemMatrix * | A | ) |
dim_t Paso_SystemMatrix_getGlobalNumRows | ( | Paso_SystemMatrix * | A | ) |
dim_t Paso_SystemMatrix_getNumOutput | ( | Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrixPattern_getNumOutput(), and Paso_SystemMatrix::pattern.
Paso_SystemMatrix* Paso_SystemMatrix_getReference | ( | Paso_SystemMatrix * | in | ) |
dim_t Paso_SystemMatrix_getTotalNumCols | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix::col_block_size, Paso_SystemMatrix::mainBlock, and Paso_SparseMatrix::numCols.
Referenced by Paso_Solver().
dim_t Paso_SystemMatrix_getTotalNumRows | ( | const Paso_SystemMatrix * | A | ) |
References Paso_SystemMatrix::mainBlock, Paso_SparseMatrix::numRows, and Paso_SystemMatrix::row_block_size.
Referenced by Paso_FCT_setUp(), Paso_FCT_setUpRightHandSide(), Paso_FCTransportProblem_addCorrectedFluxes(), Paso_FCTransportProblem_alloc(), Paso_FCTransportProblem_applyPreAntiDiffusionCorrection(), Paso_FCTransportProblem_checkinSolution(), Paso_FCTransportProblem_getSafeTimeStepSize(), Paso_FCTransportProblem_getTotalNumRows(), Paso_FCTransportProblem_insertConstraint(), Paso_FCTransportProblem_setAntiDiffusionFlux(), Paso_FCTransportProblem_setLowOrderOperator(), Paso_FCTransportProblem_setRs(), Paso_FCTransportProblem_setUpConstraint(), Paso_Function_LinearSystem_alloc(), Paso_Solver(), Paso_Solver_BiCGStab(), Paso_Solver_GMRES(), Paso_Solver_MINRES(), Paso_Solver_PCG(), Paso_Solver_TFQMR(), Paso_SolverFCT_setMuPaLuPbQ(), Paso_SolverFCT_setQs(), and Paso_SolverFCT_solve().
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 | |||
) |
References Paso_SystemMatrix_startColCollect().
Referenced by Paso_SystemMatrix_MatrixVector_CSR_OFFSET0().
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().