int MatAssemblyBegin(Mat mat,MatAssemblyType type)Collective on Mat
mat | - the matrix |
type | - type of assembly, either MAT_FLUSH_ASSEMBLY or MAT_FINAL_ASSEMBLY Notes: MatSetValues() generally caches the values. The matrix is ready to use only after MatAssemblyBegin() and MatAssemblyEnd() have been called. Use MAT_FLUSH_ASSEMBLY when switching between ADD_VALUES and INSERT_VALUES in MatSetValues(); use MAT_FINAL_ASSEMBLY for the final assembly before using the matrix. |
Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents