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

MatPreallocatorPreallocate

Preallocates the input matrix, optionally filling it with zeros

Synopsis

#include "petscmat.h" 
PetscErrorCode MatPreallocatorPreallocate(Mat mat, PetscBool fill, Mat A)

Input Parameter

mat - the preallocator
fill - fill the matrix with zeros

Output Parameter

A -the matrix

See Also

MATPREALLOCATOR

Level:advanced
Location:
src/mat/impls/preallocator/matpreallocator.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages