SpM Handbook 1.2.4
|
#include "common.h"
Go to the source code of this file.
Functions | |
static void | spm_ucf_variadic_shm (spmatrix_t *spm) |
Compute the expended field for variadic dof in the shared memory case. | |
static void | spm_ucf_variadic_mpi_csx (spmatrix_t *spm, const spm_int_t *colptr, const spm_int_t *rowptr) |
Compute the expended field for variadic dof in the distributed case for CSC/CSR formats. | |
static void | spm_ucf_variadic_mpi_ijv (spmatrix_t *spm) |
Compute the expended field for variadic dof in the distributed case for IJV format. | |
static void | spm_ucf_variadic_mpi (spmatrix_t *spm) |
Compute the expended field for variadic dof in the distributed case. | |
SPM basic subroutines | |
void | spmUpdateComputedFields (spmatrix_t *spm) |
Update all the computed fields based on the static values stored. | |
SPM routine to update the computed fields in the data structure.
Definition in file spm_update_compute_fields.c.
|
static |
Compute the expended field for variadic dof in the shared memory case.
[in,out] | spm | The sparse matrix for which nexp and nnzexp must be computed. |
Definition at line 34 of file spm_update_compute_fields.c.
References spmatrix_s::baseval, spmatrix_s::colptr, spmatrix_s::dofs, spmatrix_s::fmttype, spmatrix_s::loc2glob, spmatrix_s::n, spmatrix_s::nexp, spmatrix_s::nnz, spmatrix_s::nnzexp, spmatrix_s::replicated, spmatrix_s::rowptr, SpmCSC, SpmCSR, and SpmIJV.
Referenced by spmUpdateComputedFields().
|
static |
Compute the expended field for variadic dof in the distributed case for CSC/CSR formats.
[in,out] | spm | The sparse matrix for which nexp and nnzexp must be computed. |
[in] | colptr | The colptr/rowptr array to adapt to the CSC computations |
[in] | rowptr | The rowptr/colptr array to adapt to the CSC computations |
Definition at line 104 of file spm_update_compute_fields.c.
References spmatrix_s::baseval, spmatrix_s::dofs, spmatrix_s::loc2glob, spmatrix_s::n, spmatrix_s::nexp, and spmatrix_s::nnzexp.
Referenced by spm_ucf_variadic_mpi().
|
static |
Compute the expended field for variadic dof in the distributed case for IJV format.
[in,out] | spm | The sparse matrix for which nexp and nnzexp must be computed. |
Definition at line 147 of file spm_update_compute_fields.c.
References spmatrix_s::baseval, spmatrix_s::colptr, spmatrix_s::dofs, spmatrix_s::loc2glob, spmatrix_s::n, spmatrix_s::nexp, spmatrix_s::nnz, spmatrix_s::nnzexp, and spmatrix_s::rowptr.
Referenced by spm_ucf_variadic_mpi().
|
static |
Compute the expended field for variadic dof in the distributed case.
[in,out] | spm | The sparse matrix for which nexp and nnzexp must be computed. |
Definition at line 190 of file spm_update_compute_fields.c.
References spmatrix_s::colptr, spmatrix_s::dofs, spmatrix_s::fmttype, spmatrix_s::loc2glob, spmatrix_s::nexp, spmatrix_s::nnzexp, spmatrix_s::rowptr, spm_ucf_variadic_mpi_csx(), spm_ucf_variadic_mpi_ijv(), SpmCSC, SpmCSR, and SpmIJV.
Referenced by spmUpdateComputedFields().