slepc-3.15.0 2021-03-31
Report Typos and Errors


Allocates memory for internal storage or matrices in DS.


#include "slepcds.h" 
PetscErrorCode DSAllocate(DS ds,PetscInt ld)
Logically Collective on ds

Input Parameters

ds  - the direct solver context
ld  - leading dimension (maximum allowed dimension for the matrices, including the extra row if present)


If the leading dimension is different from a previously set value, then all matrices are destroyed with DSReset().

See Also

DSGetLeadingDimension(), DSSetDimensions(), DSSetExtraRow(), DSReset()

Location: src/sys/classes/ds/interface/dsbasic.c
Index of all DS routines
Table of Contents for all manual pages
Index of all manual pages