PaStiX Handbook  6.2.1
Factorization step

This group describes all the routines of the internal block CSC and the solver matrix structure before applying the numerical factorization step. More...

Modules

 Sparse matrix blocked CSC structure
 Describe all the internals routines to manipulate the internal block csc.
 
 Solver matrix coefficient structure
 
 Factorization kernels
 
 PaRSEC support for the numerical factorization
 
 StarPU support for the numerical factorization
 

Functions

int pastix_subtask_spm2bcsc (pastix_data_t *pastix_data, spmatrix_t *spm)
 Fill the internal block CSC structure. More...
 
int pastix_subtask_bcsc2ctab (pastix_data_t *pastix_data)
 Fill the internal solver matrix structure. More...
 
int pastix_subtask_sopalin (pastix_data_t *pastix_data)
 Factorize the given problem using Cholesky or LU decomposition. More...
 

Detailed Description

This group describes all the routines of the internal block CSC and the solver matrix structure before applying the numerical factorization step.

Function Documentation

◆ pastix_subtask_spm2bcsc()

int pastix_subtask_spm2bcsc ( pastix_data_t *  pastix_data,
spmatrix_t *  spm 
)

Fill the internal block CSC structure.

This internal block CSC can be used by the refinement step with or without the preconditioner obtained by the numerical factorization.

This routine is affected by the following parameters: IPARM_VERBOSE.

Parameters
[in,out]pastix_dataThe pastix_data structure that describes the solver instance. On exit, the internal block CSC is filled with entries from the spm matrix.
[in,out]spmThe sparse matrix descriptor that describes problem instance. On exit, if IPARM_FREE_CSCUSER is set, the spm is freed.
Return values
PASTIX_SUCCESSon successful exit,
PASTIX_ERR_BADPARAMETERif one parameter is incorrect,
PASTIX_ERR_OUTOFMEMORYif one allocation failed.

Definition at line 85 of file pastix_task_sopalin.c.

References PASTIX_ERR_BADPARAMETER.

◆ pastix_subtask_bcsc2ctab()

int pastix_subtask_bcsc2ctab ( pastix_data_t *  pastix_data)

Fill the internal solver matrix structure.

This step is linked with the pastix_subtask_sopalin() since this structure is only used during the numerical factorization.

This routine is affected by the following parameters: IPARM_VERBOSE, [IPARM_FACTORIZATION.

Parameters
[in,out]pastix_dataThe pastix_data structure that describes the solver instance. On exit, the internal solver structure is filled with entries from the internal block CSC matrix.
Return values
PASTIX_SUCCESSon successful exit,
PASTIX_ERR_BADPARAMETERif one parameter is incorrect,
PASTIX_ERR_OUTOFMEMORYif one allocation failed.

Definition at line 197 of file pastix_task_sopalin.c.

References PASTIX_ERR_BADPARAMETER.

◆ pastix_subtask_sopalin()

int pastix_subtask_sopalin ( pastix_data_t *  pastix_data)

Factorize the given problem using Cholesky or LU decomposition.

The user can call the pastix_task_solve() to obtain the solution.

This routine is affected by the following parameters: IPARM_VERBOSE, IPARM_FACTORIZATION, IPARM_COMPRESS_WHEN.

Parameters
[in,out]pastix_dataThe pastix_data structure that describes the solver instance. On exit, the solver matrix structure stores the factorization of the given problem.
Return values
PASTIX_SUCCESSon successful exit,
PASTIX_ERR_BADPARAMETERif one parameter is incorrect,
PASTIX_ERR_OUTOFMEMORYif one allocation failed.

Definition at line 376 of file pastix_task_sopalin.c.

References PASTIX_ERR_BADPARAMETER.