Mentions légales du service

Skip to content
Snippets Groups Projects

7 - Dist/spmExpand

Closed Tony Delarue requested to merge tdelarue/spm:dist/Expand into master
23 files
+ 1860
452
Compare changes
  • Side-by-side
  • Inline
Files
23
+ 14
1
@@ -77,7 +77,7 @@ typedef struct spmatrix_s {
spm_int_t *colptr; /**< List of indirections to rows for each vertex [+baseval] */
spm_int_t *rowptr; /**< List of edges for each vertex [+baseval] */
spm_int_t *loc2glob;/**< Corresponding numbering from local to global [+baseval] */
spm_int_t *loc2glob;/**< Corresponding numbering from local to global */
void *values; /**< Values stored in the matrix */
int clustnum;/**< Rank of the MPI node */
@@ -100,6 +100,18 @@ int spmConvert( int ofmttype, spmatrix_t *ospm );
void spmUpdateComputedFields( spmatrix_t *spm );
void spmGenFakeValues( spmatrix_t *spm );
/**
* @}
* @name SPM distribution subroutines
* @{
*/
spmatrix_t *spmScatter( const spmatrix_t *spm,
spm_int_t *loc2glob,
spm_int_t n,
spm_int_t loc2globByColumn,
SPM_Comm comm );
spmatrix_t *spmGather ( const spmatrix_t *spm );
/**
* @}
* @name SPM BLAS subroutines
@@ -193,6 +205,7 @@ void spmPrint( const spmatrix_t *spm, FILE *f );
void spmPrintInfo( const spmatrix_t *spm, FILE *f );
void spmExpand( const spmatrix_t *spm_in, spmatrix_t *spm_out );
spmatrix_t *spmDofExtend( const spmatrix_t *spm, const int type, const int dof );
void spmPrintRHS( const spmatrix_t *spm, const void *rhs, int nrhs, FILE *stream );
/**
* @}
Loading