STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
|
Set of iterative solvers. More...
Functions | |
int | starsh_itersolvers__dcg_omp (STARSH_blrm *matrix, int nrhs, double *B, int ldb, double *X, int ldx, double tol, double *work) |
Conjugate gradient method for STARSH_blrm object. More... | |
int | starsh_itersolvers__dcg_mpi (STARSH_blrm *matrix, int nrhs, double *B, int ldb, double *X, int ldx, double tol, double *work) |
Conjugate gradient method for STARSH_blrm object on MPI nodes. More... | |
Set of iterative solvers.
/ *
int starsh_itersolvers__dcg_mpi | ( | STARSH_blrm * | matrix, |
int | nrhs, | ||
double * | B, | ||
int | ldb, | ||
double * | X, | ||
int | ldx, | ||
double | tol, | ||
double * | work | ||
) |
Conjugate gradient method for STARSH_blrm object on MPI nodes.
[in] | matrix | Block-wise low-rank matrix. |
[in] | nrhs | Number of right havd sides. |
[in] | B | Right hand side. |
[in] | ldb | Leading dimension of B . |
[in,out] | X | Initial solution as input, total solution as output. |
[in] | ldx | Leading dimension of X . |
[in] | tol | Relative error threshold for residual. |
[out] | work | Temporary array of size 3*n . |
int starsh_itersolvers__dcg_omp | ( | STARSH_blrm * | matrix, |
int | nrhs, | ||
double * | B, | ||
int | ldb, | ||
double * | X, | ||
int | ldx, | ||
double | tol, | ||
double * | work | ||
) |
Conjugate gradient method for STARSH_blrm object.
[in] | matrix | Block-wise low-rank matrix. |
[in] | nrhs | Number of right havd sides. |
[in] | B | Right hand side. |
[in] | ldb | Leading dimension of B . |
[in,out] | X | Initial solution as input, total solution as output. |
[in] | ldx | Leading dimension of X . |
[in] | tol | Relative error threshold for residual. |
[out] | work | Temporary array of size 3*n . |