Vec Manual Pages
PETSc vectors (Vec objects) are used to store the field variables in PDE-based (or other) simulations. See
src/vec/examples/tutorials/ex1.c
for sample usage.
Beginner - Basic usage
VecAssemblyBegin
VecDuplicateVecsF90
VecRestoreArrayF90
VecAssemblyEnd
VecGetArray
VecSet
VecCopy
VecGetArrayF90
VecSetValue
VecCreate
VecGetLocalSize
VecSetValues
VecDestroy
VecGetOwnershipRange
VecSum
VecDestroyVecsF90
VecGetSize
VecView
VecDuplicate
VecRestoreArray
Intermediate - Setting options for algorithms and data structures
VecAXPBY
VecLoad
VecScatterView
VecAXPY
VecLoadIntoVector
VecSetLocalToGlobalMapping
VecAYPX
VecMAXPY
VecSetLocalToGlobalMappingBlocked
VecAbs
VecMDot
VecSetOption
VecContourScale
VecMTDot
VecSetRandom
VecCreateMPI
VecMax
VecSetStashInitialSize
VecCreateMPIWithArray
VecMin
VecSetType
VecCreateSeq
VecNorm
VecSetValuesBlocked
VecCreateSeqWithArray
VecReciprocal
VecSetValuesBlockedLocal
VecDestroyVecs
VecRestoreArrays
VecSetValuesLocal
VecDot
VecScale
VecShift
VecDuplicateVecs
VecScatterBegin
VecStrideMin
VecEqual
VecScatterCreate
VecTDot
VecGetArrays
VecScatterDestroy
VecWAXPY
VecGetType
VecScatterEnd
Advanced - Setting more advanced options and customization
VecCreateGhost
VecGhostUpdateEnd
VecScatterPostRecvs
VecCreateGhostWithArray
VecNormBegin
VecSetBlockSize
VecCreateShared
VecNormEnd
VecStrideGather
VecDotBegin
VecPointwiseDivide
VecStrideMax
VecDotEnd
VecPointwiseMult
VecStrideNorm
VecGetBlockSize
VecRegister
VecStrideScatter
VecGhostGetLocalForm
VecRegisterAll
VecSwap
VecGhostRestoreLocalForm
VecRegisterDestroy
VecTDotBegin
VecGhostUpdateBegin
VecScatterCopy
VecTDotEnd
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MapCreateMPI
MapGetLocalSize
VecReplaceArray
MapDestroy
MapGetSize
VecScatterRemap
MapGetGlobalRange
VecGetMap
VecSetFromOptions
MapGetLocalRange
VecPlaceArray
VecValid
Table of Contents