Vectors:
Examples
PETSc vectors (Vec objects) are used to store the field variables in PDE-based (or other) simulations.
Beginner - Basic usage
NORM_1
VecDestroyVecsF90
VecRestoreArray4d
NORM_1_AND_2
VecDuplicate
VecRestoreArrayF90
NORM_2
VecDuplicateVecsF90
VecScatter
NORM_FROBENIUS
VecExp
VecSet
NORM_INFINITY
VecGetArray
VecSetFromOptions
NORM_MAX
VecGetArray4d
VecSetValue
NormType
VecGetArrayF90
VecSetValueLocal
VECMPI
VecGetLocalSize
VecSetValues
VECSEQ
VecGetOwnershipRange
VecSqrt
Vec
VecGetOwnershipRanges
VecSum
VecAssemblyBegin
VecGetSize
VecType
VecAssemblyEnd
VecGetValues
VecView
VecCopy
VecLog
VecZeroEntries
VecCreate
VecPermute
VecDestroy
VecRestoreArray
Intermediate - Setting options for algorithms and data structures
VecAXPBY
VecLoadIntoVector
VecScatterEnd
VecAXPBYPCZ
VecMAXPY
VecScatterView
VecAXPY
VecMDot
VecSetLocalToGlobalMapping
VecAYPX
VecMTDot
VecSetLocalToGlobalMappingBlock
VecAbs
VecMax
VecSetOption
VecConjugate
VecMin
VecSetRandom
VecContourScale
VecNorm
VecSetSizes
VecCreateMPI
VecNormAvailable
VecSetType
VecCreateMPIWithArray
VecNormalize
VecSetValuesBlocked
VecCreateSeq
VecReciprocal
VecSetValuesBlockedLocal
VecCreateSeqWithArray
VecRestoreArrays
VecSetValuesLocal
VecDestroyVecs
VecScale
VecShift
VecDot
VecScatterBegin
VecStashSetInitialSize
VecDuplicateVecs
VecScatterCreate
VecTDot
VecEqual
VecScatterCreateLocal
VecViewFromOptions
VecGetArrays
VecScatterCreateToAll
VecWAXPY
VecGetType
VecScatterCreateToZero
VecLoad
VecScatterDestroy
Advanced - Setting more advanced options and customization
VecAppendOptionsPrefix
VecMTDotEnd
VecStashView
VecCreateGhost
VecMaxPointwiseDivide
VecStrideGather
VecCreateGhostBlock
VecNormBegin
VecStrideGatherAll
VecCreateGhostBlockWithArray
VecNormEnd
VecStrideMax
VecCreateGhostWithArray
VecPointwiseDivide
VecStrideMaxAll
VecCreateShared
VecPointwiseMax
VecStrideMin
VecDotBegin
VecPointwiseMaxAbs
VecStrideMinAll
VecDotEnd
VecPointwiseMin
VecStrideNorm
VecDotNorm2
VecPointwiseMult
VecStrideNormAll
VecGetBlockSize
VecRegister
VecStrideScale
VecGetOptionsPrefix
VecRegisterAll
VecStrideScaleAll
VecGhostGetLocalForm
VecRegisterDestroy
VecStrideScatter
VecGhostRestoreLocalForm
VecRegisterDynamic
VecStrideScatterAll
VecGhostUpdateBegin
VecScatterCopy
VecSwap
VecGhostUpdateEnd
VecSetBlockSize
VecTDotBegin
VecMDotBegin
VecSetOptionsPrefix
VecTDotEnd
VecMDotEnd
VecSetUp
Vecs
VecMTDotBegin
VecStashGetInfo
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
ISFinalizePackage
PetscLayoutGetSize
VecPlaceArray
ISInitializePackage
PetscLayoutSetBlockSize
VecReplaceArray
PetscLayout
PetscLayoutSetLocalSize
VecResetArray
PetscLayoutCopy
PetscLayoutSetSize
VecRestoreArray1d
PetscLayoutCreate
PetscLayoutSetUp
VecRestoreArray2d
PetscLayoutDestroy
VecFinalizePackage
VecRestoreArray3d
PetscLayoutGetBlockSize
VecGetArray1d
VecScatterGetMerged
PetscLayoutGetLocalSize
VecGetArray2d
VecScatterRemap
PetscLayoutGetRange
VecGetArray3d
VecValid
PetscLayoutGetRanges
VecInitializePackage
No deprecated routines
Table of Contents