slepc-3.15.2 2021-09-20
Report Typos and Errors

# BVSetBufferVec

Attach a vector object to be used as buffer space for several operations.

### Synopsis

    #include "slepcbv.h"
    PetscErrorCode BVSetBufferVec(BV bv,Vec buffer)

Collective on bv

### Input Parameters

| bv | - the basis vectors context)
| buffer | - the vector

### Notes

Use BVGetBufferVec() to retrieve the vector (for example, to free it at the end of the computations).

The vector must be sequential of length (nc+m)*m, where m is the number of columns of bv and nc is the number of constraints.

### See Also

BVGetBufferVec(), BVSetSizes(), BVGetNumConstraints()

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