slepc-3.16.1 2021-11-17
Report Typos and Errors


Change the number of columns.


#include "slepcbv.h" 
PetscErrorCode BVResize(BV bv,PetscInt m,PetscBool copy)
Collective on bv

Input Parameters

bv  - the basis vectors
m  - the new number of columns
copy  - a flag indicating whether current values should be kept


Internal storage is reallocated. If the copy flag is set to true, then the contents are copied to the leading part of the new space.

See Also

BVSetSizes(), BVSetSizesFromVec()

Location: src/sys/classes/bv/interface/bvbasic.c
Index of all BV routines
Table of Contents for all manual pages
Index of all manual pages