Vectors:
Examples
PETSc vectors (Vec objects) are used to store the field variables in PDE-based (or other) simulations.
Beginner - Basic usage
ESICreateIndexSpace
VecGetArray
VecRestoreArray3d
NormType
VecGetArray1d
VecRestoreArrayF90
PetscMapCreate
VecGetArray2d
VecScatter
Vec
VecGetArray3d
VecSet
VecAssemblyBegin
VecGetArrayF90
VecSetFromOptions
VecAssemblyEnd
VecGetLocalSize
VecSetValue
VecCopy
VecGetOwnershipRange
VecSetValueLocal
VecCreate
VecGetSize
VecSetValues
VecDestroy
VecPermute
VecSqrt
VecDestroyVecsF90
VecRestoreArray
VecSum
VecDuplicate
VecRestoreArray1d
VecType
VecDuplicateVecsF90
VecRestoreArray2d
VecView
Intermediate - Setting options for algorithms and data structures
ESILoadFactory
VecDuplicateVecs
VecScatterBegin
PetscMapGetType
VecESISetType
VecScatterCreate
PetscMapPrintHelp
VecESISetVector
VecScatterDestroy
PetscMapSetFromOptions
VecEqual
VecScatterEnd
PetscMapSetType
VecGetArrays
VecScatterView
VecAXPBY
VecGetType
VecSetLocalToGlobalMapping
VecAXPY
VecLoad
VecSetLocalToGlobalMappingBlock
VecAYPX
VecLoadIntoVector
VecSetOption
VecAbs
VecMAXPY
VecSetRandom
VecConjugate
VecMDot
VecSetSizes
VecContourScale
VecMTDot
VecSetStashInitialSize
VecConvertMPIToMPIZero
VecMax
VecSetType
VecConvertMPIToSeqAll
VecMin
VecSetValuesBlocked
VecCreateMPI
VecNorm
VecSetValuesBlockedLocal
VecCreateMPIWithArray
VecNormalize
VecSetValuesLocal
VecCreateSeq
VecPrintHelp
VecShift
VecCreateSeqWithArray
VecReciprocal
VecTDot
VecDestroyVecs
VecRestoreArrays
VecViewFromOptions
VecDot
VecScale
VecWAXPY
Advanced - Setting more advanced options and customization
PetscMap
VecGhostUpdateEnd
VecStrideGatherAll
PetscMapRegisterAll
VecMaxPointwiseDivide
VecStrideMax
PetscMapRegisterDestroy
VecNormBegin
VecStrideMaxAll
PetscMapRegisterDynamic
VecNormEnd
VecStrideMin
VecCreateGhost
VecPointwiseDivide
VecStrideMinAll
VecCreateGhostBlock
VecPointwiseMult
VecStrideNorm
VecCreateGhostBlockWithArray
VecRegister
VecStrideNormAll
VecCreateGhostWithArray
VecRegisterAll
VecStrideScale
VecCreateShared
VecRegisterDestroy
VecStrideScaleAll
VecDotBegin
VecRegisterDynamic
VecStrideScatter
VecDotEnd
VecScatterCopy
VecStrideScatterAll
VecGetBlockSize
VecScatterPostRecvs
VecSwap
VecGhostGetLocalForm
VecSetBlockSize
VecTDotBegin
VecGhostRestoreLocalForm
VecStashView
VecTDotEnd
VecGhostUpdateBegin
VecStrideGather
Vecs
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
PetscMapCreateMPI
PetscMapGetSize
VecPlaceArray
PetscMapDestroy
PetscMapSetLocalSize
VecReplaceArray
PetscMapGetGlobalRange
PetscMapSetSize
VecResetArray
PetscMapGetLocalRange
VecGetPetscMap
VecScatterRemap
PetscMapGetLocalSize
VecInitializePackage
VecValid
Table of Contents