slepc-main 2024-12-17
Report Typos and Errors

DSReallocate

Reallocates memory for internal storage or matrices in DS, keeping the previously set data.

Synopsis

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

Input Parameters

ds  - the direct solver context
ld  - new leading dimension

Notes

The new leading dimension must be larger than the previous one. The relevant data previously set is copied over to the new data structures.

This operation is not available in all DS types.

See Also

DSAllocate()

Level

developer

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