petsc-3.8.4 2018-03-24
Report Typos and Errors

MatMPIAIJSetValuesBatch

Set multiple blocks of values into a matrix

Synopsis

#include "petscmat.h" 
PetscErrorCode MatSetValuesBatch_MPIAIJCUSP(Mat J, PetscInt Ne, PetscInt Nl, PetscInt *elemRows, const PetscScalar *elemMats)
Not collective

Input Parameters

J - the assembled Mat object
Ne - the number of blocks (elements)
Nl - the block size (number of dof per element)
elemRows - List of block row indices, in bunches of length Nl
elemMats - List of block values, in bunches of Nl*Nl

See Also

MatSetValues()

Level:advanced
Location:
src/mat/impls/aij/mpi/mpicusp/mpiaijAssemble.cu
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages