:orphan: # MATPREALLOCATOR MATPREALLOCATOR = "preallocator" - A matrix type to be used for computing a matrix preallocation. ## Operations Provided ```none MatSetValues() ``` ## Options Database Keys - ***-mat_type preallocator -*** sets the matrix type to `MATPREALLOCATOR` during a call to `MatSetFromOptions()` ## See Also `MATPREALLOCATOR`, `Mat`, `MatPreallocatorPreallocate()` ## Level advanced ## Location src/mat/impls/preallocator/matpreallocator.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/preallocator/matpreallocator.c) [Index of all Mat routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)