PaStiX Handbook
6.3.2
|
Data Structures | |
struct | cost_matrix_s |
Arrays of double to store the cost of each element in the matrix. More... | |
Typedefs | |
typedef struct cost_matrix_s | CostMatrix |
Arrays of double to store the cost of each element in the matrix. | |
Functions | |
void | costMatrixInit (CostMatrix *costmtx) |
Initialize the cost matrix structure. More... | |
void | costMatrixExit (CostMatrix *costmtx) |
Free the cost matrix structure. More... | |
CostMatrix * | costMatrixBuild (const symbol_matrix_t *symbmtx, pastix_coeftype_t flttype, pastix_factotype_t factotype) |
Build the cost matrix structure from the symbol matrix structure. More... | |
This module contains all subroutines to initialize the cost arrays for a single matrix that will be used in the proportionnal mapping algorithm, as well as the simulation of the numerical factorization that defines the final mapping.
struct cost_matrix_s |
void costMatrixInit | ( | CostMatrix * | costmtx | ) |
Initialize the cost matrix structure.
[in,out] | costmtx | The cost matrix structure to initialize. |
Definition at line 38 of file cost.c.
References cost_matrix_s::blokcost, and cost_matrix_s::cblkcost.
Referenced by costMatrixBuild().
void costMatrixExit | ( | CostMatrix * | costmtx | ) |
Free the cost matrix structure.
[in,out] | costmtx | The cost matrix structure to free. |
Definition at line 57 of file cost.c.
References cost_matrix_s::blokcost, and cost_matrix_s::cblkcost.
Referenced by pastix_subtask_blend(), and splitSymbol().
CostMatrix * costMatrixBuild | ( | const symbol_matrix_t * | symbmtx, |
pastix_coeftype_t | flttype, | ||
pastix_factotype_t | factotype | ||
) |
Build the cost matrix structure from the symbol matrix structure.
[in] | symbmtx | The symbol matrix structure. |
[in] | flttype | The floating point arithmetic that will be used to adapt the cost models. |
[in] | factotype | The factorization that will be appplied to adapt the cost models. |
Definition at line 91 of file cost.c.
References cost_matrix_s::blokcost, symbol_matrix_s::bloknbr, cost_matrix_s::cblkcost, symbol_matrix_s::cblknbr, costMatrixInit(), and pastixSymbolGetTimes().
Referenced by pastix_subtask_blend(), and splitSymbol().