Vectors
PETSc vectors (Vec objects) are used to store the field variables in PDE-based (or other) simulations.
Sample
See
src/vec/examples/tutorials/ex1.c
for sample usage.
Beginner - Basic usage
PFApply
VecDuplicate
VecRestoreArray1d
PFApplyVec
VecDuplicateVecsF90
VecRestoreArray2d
PFDestroy
VecGetArray
VecRestoreArrayF90
PFSet
VecGetArray1d
VecSet
VecAssemblyBegin
VecGetArray2d
VecSetValue
VecAssemblyEnd
VecGetArrayF90
VecSetValues
VecCopy
VecGetLocalSize
VecSum
VecCreate
VecGetOwnershipRange
VecView
VecDestroy
VecGetSize
VecDestroyVecsF90
VecRestoreArray
Intermediate - Setting options for algorithms and data structures
PFGetType
VecEqual
VecScatterDestroy
PFSetFromOptions
VecGetArrays
VecScatterEnd
PFSetType
VecGetType
VecScatterView
VecAXPBY
VecLoad
VecSetLocalToGlobalMapping
VecAXPY
VecLoadIntoVector
VecSetLocalToGlobalMappingBlocked
VecAYPX
VecMAXPY
VecSetOption
VecAbs
VecMDot
VecSetRandom
VecConjugate
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
Advanced - Setting more advanced options and customization
PFRegisterAll
VecGhostUpdateBegin
VecStashView
PFRegisterDynamic
VecGhostUpdateEnd
VecStrideGather
VecCreateGhost
VecNormBegin
VecStrideGatherAll
VecCreateGhostBlock
VecNormEnd
VecStrideMax
VecCreateGhostBlockWithArray
VecPointwiseDivide
VecStrideNorm
VecCreateGhostWithArray
VecPointwiseMult
VecStrideScatter
VecCreateShared
VecRegisterAll
VecStrideScatterAll
VecDotBegin
VecRegisterDestroy
VecSwap
VecDotEnd
VecRegisterDynamic
VecTDotBegin
VecGetBlockSize
VecScatterCopy
VecTDotEnd
VecGhostGetLocalForm
VecScatterPostRecvs
VecGhostRestoreLocalForm
VecSetBlockSize
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MapCreateMPI
MapGetSize
VecReplaceArray
MapDestroy
PFCreate
VecScatterRemap
MapGetGlobalRange
PFView
VecSetFromOptions
MapGetLocalRange
VecGetMap
VecValid
MapGetLocalSize
VecPlaceArray
Table of Contents