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
PFApply
VecDestroyVecsF90
VecRestoreArray
PFApplyVec
VecDuplicate
VecRestoreArray2d
PFDestroy
VecDuplicateVecsF90
VecRestoreArrayF90
PFSet
VecGetArray
VecSet
VecAssemblyBegin
VecGetArray2d
VecSetValue
VecAssemblyEnd
VecGetArrayF90
VecSetValues
VecCopy
VecGetLocalSize
VecSum
VecCreate
VecGetOwnershipRange
VecView
VecDestroy
VecGetSize
Intermediate - Setting options for algorithms and data structures
PFGetType
VecGetArrays
VecScatterEnd
PFSetFromOptions
VecGetType
VecScatterView
PFSetType
VecLoad
VecSetLocalToGlobalMapping
VecAXPBY
VecLoadIntoVector
VecSetLocalToGlobalMappingBlocked
VecAXPY
VecMAXPY
VecSetOption
VecAYPX
VecMDot
VecSetRandom
VecAbs
VecMTDot
VecSetStashInitialSize
VecContourScale
VecMax
VecSetType
VecCreateMPI
VecMin
VecSetValuesBlocked
VecCreateMPIWithArray
VecNorm
VecSetValuesBlockedLocal
VecCreateSeq
VecReciprocal
VecSetValuesLocal
VecCreateSeqWithArray
VecRestoreArrays
VecShift
VecDestroyVecs
VecScale
VecStrideMin
VecDot
VecScatterBegin
VecTDot
VecDuplicateVecs
VecScatterCreate
VecWAXPY
VecEqual
VecScatterDestroy
Advanced - Setting more advanced options and customization
PFRegisterAll
VecGhostRestoreLocalForm
VecScatterPostRecvs
PFRegisterDynamic
VecGhostUpdateBegin
VecSetBlockSize
VecCreateGhost
VecGhostUpdateEnd
VecStrideGather
VecCreateGhostBlock
VecNormBegin
VecStrideGatherAll
VecCreateGhostBlockWithArray
VecNormEnd
VecStrideMax
VecCreateGhostWithArray
VecPointwiseDivide
VecStrideNorm
VecCreateShared
VecPointwiseMult
VecStrideScatter
VecDotBegin
VecRegisterAll
VecStrideScatterAll
VecDotEnd
VecRegisterDestroy
VecSwap
VecGetBlockSize
VecRegisterDynamic
VecTDotBegin
VecGhostGetLocalForm
VecScatterCopy
VecTDotEnd
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MapCreateMPI
MapGetSize
VecPlaceArray
MapDestroy
PFCreate
VecReplaceArray
MapGetGlobalRange
PFPrintHelp
VecScatterRemap
MapGetLocalRange
PFView
VecSetFromOptions
MapGetLocalSize
VecGetMap
VecValid
Table of Contents