SpM Handbook 1.2.4
Loading...
Searching...
No Matches
spm_rhs.c File Reference
#include "common.h"

Go to the source code of this file.

Functions

SPM debug subroutines
void spmPrintRHS (const spmatrix_t *spm, int nrhs, const void *x, spm_int_t ldx, FILE *stream)
 Print a set of vector associated to an spm matrix.
 
SPM subroutines to check factorization/solve
int spmGenRHS (spm_rhstype_t type, spm_int_t nrhs, const spmatrix_t *spm, void *x, spm_int_t ldx, void *b, spm_int_t ldb)
 Generate right hand side vectors associated to a given matrix.
 
SPM subroutines to manipulate RHS
int spmExtractLocalRHS (spm_int_t nrhs, const spmatrix_t *spm, const void *bglob, spm_int_t ldbg, void *bloc, spm_int_t ldbl)
 Stores the local values of a global RHS in the local one thanks to spm distribution.
 
int spmReduceRHS (spm_int_t nrhs, const spmatrix_t *spm, void *bglob, spm_int_t ldbg, void *bloc, spm_int_t ldbl)
 Reduce an RHS thanks to spm distribution.
 
int spmGatherRHS (spm_int_t nrhs, const spmatrix_t *spm, const void *bloc, spm_int_t ldbl, int root, void *bglob, spm_int_t ldbg)
 Gather an RHS thanks to spm distribution.
 

Detailed Description

SParse Matrix package RHS main routines.

Version
1.2.4
Author
Pierre Ramet
Mathieu Faverge
Tony Delarue
Date
2024-05-29

Definition in file spm_rhs.c.