SlepcMatGetVecsTemplate

Get vectors compatible with a matrix, i.e. with the same parallel layout, and mark them as templates for contiguous storage.

Synopsis

#include "slepcvec.h" 
PetscErrorCode SlepcMatGetVecsTemplate(Mat mat,Vec *right,Vec *left)
Collective on Mat

Input Parameter

mat - the matrix

Output Parameters

right - (optional) vector that the matrix can be multiplied against
left - (optional) vector that the matrix vector product can be stored in

Options Database Keys

-slepc_non_contiguous - Disable contiguous vector storage

Notes

Use -slepc_non_contiguous to disable contiguous storage throughout SLEPc. Contiguous storage is currently also disabled in AIJCUSP matrices.

See Also

SlepcVecSetTemplate()

Location: src/vec/contiguous.c
Index of all sys routines
Table of Contents for all manual pages
Index of all manual pages