PaStiX Handbook
6.2.1
|
Functions | |
void | pastixSetSchurUnknownList (pastix_data_t *pastix_data, pastix_int_t n, const pastix_int_t *list) |
Set the list of unknowns that belongs to the schur complement. More... | |
int | pastixGetSchur (const pastix_data_t *pastix_data, void *S, pastix_int_t lds) |
Return the Schur complement. More... | |
void pastixSetSchurUnknownList | ( | pastix_data_t * | pastix_data, |
pastix_int_t | n, | ||
const pastix_int_t * | list | ||
) |
Set the list of unknowns that belongs to the schur complement.
[in,out] | pastix_data | The pastix data structure of the solver to store the list of Schur unknowns. |
[in] | n | The number of unknowns in the Schur complement. |
[in] | list | Array of integer of size n. The list of unknowns belonging to the Schur complement with the same baseval as the associated spm. |
int pastixGetSchur | ( | const pastix_data_t * | pastix_data, |
void * | S, | ||
pastix_int_t | lds | ||
) |
Return the Schur complement.
The Schur complement is returned in the column major layout used by the classic linear algebra libraries such as Blas or Lapack.
[in] | pastix_data | The pastix data structure of the problem solved. |
[in,out] | S | Array of size spm->n -by- lds of arithmetic spm->flttype, where spm is the spm of the original problem. On exit, the array contains the Schur complement of the factorized matrix. |
[in] | lds | The leading dimension of the S array. |
PASTIX_SUCCESS | on successful exit, |
PASTIX_ERR_BADPARAMETER | if one parameter is incorrect. |
Definition at line 89 of file schur.c.
References PASTIX_ERR_BADPARAMETER.