petsc-3.14.6 2021-03-30
Report Typos and Errors
Vectors:
Examples
PETSc vectors (Vec objects) are used to store the field variables in PDE-based (or other) simulations.
Beginner - Basic usage
NORM_1
VecDuplicateVecsF90
VecRestoreArray4d
NORM_1_AND_2
VecExp
VecRestoreArray4dRead
NORM_2
VecGetArray
VecRestoreArray4dWrite
NORM_FROBENIUS
VecGetArray4d
VecRestoreArrayF90
NORM_INFINITY
VecGetArray4dRead
VecRestoreArrayInPlace
NORM_MAX
VecGetArray4dWrite
VecRestoreArrayRead
NormType
VecGetArrayF90
VecRestoreArrayReadF90
SCATTER_FORWARD
VecGetArrayInPlace_Internal
VecRestoreArrayReadInPlace
SCATTER_REVERSE
VecGetArrayRead
VecRestoreArrayWrite
ScatterMode
VecGetArrayReadF90
VecRestoreLocalVector
VECCUDA
VecGetArrayReadInPlace
VecRestoreLocalVectorRead
VECMPI
VecGetLocalSize
VecScatter
VECMPICUDA
VecGetLocalVector
VecScatterSetFromOptions
VECMPIVIENNACL
VecGetLocalVectorRead
VecScatterType
VECSEQ
VecGetOwnershipRange
VecSet
VECSEQCUDA
VecGetOwnershipRanges
VecSetFromOptions
VECSEQVIENNACL
VecGetSize
VecSetValue
VECSTANDARD
VecGetValues
VecSetValueLocal
VECVIENNACL
VecImaginaryPart
VecSetValues
Vec
VecLockGet
VecSqrtAbs
VecAssemblyBegin
VecLockReadPop
VecSum
VecAssemblyEnd
VecLockReadPush
VecTaggerBox
VecCopy
VecLockWriteSet_Private
VecType
VecCreate
VecLog
VecView
VecDestroy
VecPermute
VecZeroEntries
VecDestroyVecsF90
VecRealPart
VecDuplicate
VecRestoreArray
Intermediate - Setting options for algorithms and data structures
PetscSectionVecNorm
VecDestroyVecs
VecScatterInitializeForGPU
VECNEST
VecDot
VecScatterSetType
VECNODE
VecDotRealPart
VecScatterSetUp
VecAXPBY
VecDuplicateVecs
VecScatterView
VecAXPBYPCZ
VecEqual
VecScatterViewFromOptions
VecAXPY
VecGetArrayWrite
VecSetLocalToGlobalMapping
VecAYPX
VecGetArrays
VecSetOption
VecAbs
VecGetOffloadMask
VecSetRandom
VecBindToCPU
VecGetType
VecSetSizes
VecCUDAGetArray
VecLoad
VecSetType
VecCUDAGetArrayRead
VecMAXPY
VecSetValuesBlocked
VecCUDARestoreArray
VecMDot
VecSetValuesBlockedLocal
VecCUDARestoreArrayRead
VecMTDot
VecSetValuesLocal
VecCUDARestoreArrayWrite
VecMax
VecShift
VecChop
VecMin
VecStashSetInitialSize
VecConjugate
VecNorm
VecStepMaxBounded
VecCreateMPI
VecNormAvailable
VecTDot
VecCreateMPICUDAWithArray
VecNormalize
VecUniqueEntries
VecCreateMPICUDAWithArrays
VecPow
VecViennaCLGetCLContext
VecCreateMPIViennaCLWithArray
VecReciprocal
VecViennaCLGetCLMem
VecCreateMPIViennaCLWithArrays
VecRestoreArrays
VecViennaCLGetCLMemRead
VecCreateMPIWithArray
VecScale
VecViennaCLGetCLMemWrite
VecCreateSeq
VecScatterBegin
VecViennaCLGetCLQueue
VecCreateSeqCUDA
VecScatterCreate
VecViennaCLPlaceArray
VecCreateSeqCUDAWithArray
VecScatterCreateToAll
VecViennaCLRestoreCLMem
VecCreateSeqCUDAWithArrays
VecScatterCreateToZero
VecViennaCLRestoreCLMemWrite
VecCreateSeqViennaCL
VecScatterDestroy
VecViewFromOptions
VecCreateSeqViennaCLWithArray
VecScatterEnd
VecWAXPY
VecCreateSeqViennaCLWithArrays
VecScatterFinalizeForGPU
VecCreateSeqWithArray
VecScatterGetType
Advanced - Setting more advanced options and customization
ISComplementVec
VecPointwiseMaxAbs
VecTaggerAndGetSubs
PetscCommSplitReductionBegin
VecPointwiseMin
VecTaggerAndSetSubs
VecAppendOptionsPrefix
VecPointwiseMult
VecTaggerCDFGetBox
VecBoundGradientProjection
VecRegister
VecTaggerCDFGetMethod
VecCUDAGetArrayWrite
VecRegisterAll
VecTaggerCDFIterativeGetTolerances
VecCreateGhost
VecRestoreSubVector
VecTaggerCDFIterativeSetTolerances
VecCreateGhostBlock
VecScatterCopy
VecTaggerCDFMethod
VecCreateGhostBlockWithArray
VecScatterRegister
VecTaggerCDFSetBox
VecCreateGhostWithArray
VecScatterRegisterAll
VecTaggerCDFSetMethod
VecCreateNest
VecSetBlockSize
VecTaggerComputeBoxes
VecCreateNode
VecSetOperation
VecTaggerComputeIS
VecCreateShared
VecSetOptionsPrefix
VecTaggerCreate
VecDotBegin
VecSetUp
VecTaggerDestroy
VecDotEnd
VecStashGetInfo
VecTaggerGetBlockSize
VecDotNorm2
VecStashView
VecTaggerGetInvert
VecGetBlockSize
VecStepBoundInfo
VecTaggerGetType
VecGetLocalToGlobalMapping
VecStepMax
VecTaggerOrGetSubs
VecGetOptionsPrefix
VecStrideGather
VecTaggerOrSetSubs
VecGetSubVector
VecStrideGatherAll
VecTaggerRegister
VecGhostGetLocalForm
VecStrideMax
VecTaggerRegisterAll
VecGhostIsLocalForm
VecStrideMaxAll
VecTaggerRelativeGetBox
VecGhostRestoreLocalForm
VecStrideMin
VecTaggerRelativeSetBox
VecGhostUpdateBegin
VecStrideMinAll
VecTaggerSetBlockSize
VecGhostUpdateEnd
VecStrideNorm
VecTaggerSetFromOptions
VecISAXPY
VecStrideNormAll
VecTaggerSetInvert
VecISCopy
VecStrideScale
VecTaggerSetType
VecISSet
VecStrideScaleAll
VecTaggerSetUp
VecMDotBegin
VecStrideScatter
VecTaggerType
VecMDotEnd
VecStrideScatterAll
VecTaggerView
VecMPISetGhost
VecStrideSet
VecWhichBetween
VecMTDotBegin
VecStrideSubSetGather
VecWhichBetweenOrEqual
VecMTDotEnd
VecStrideSubSetScatter
VecWhichEqual
VecMaxPointwiseDivide
VecSwap
VecWhichGreaterThan
VecMedian
VecTDotBegin
VecWhichInactive
VecNormBegin
VecTDotEnd
VecWhichLessThan
VecNormEnd
VecTagger
Vecs
VecPointwiseDivide
VecTaggerAbsoluteGetBox
VecPointwiseMax
VecTaggerAbsoluteSetBox
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
ISFinalizePackage
VecGetArray3dWrite
VecRestoreArray2dRead
ISInitializePackage
VecGetArrayPair
VecRestoreArray2dWrite
PetscOffloadMask
VecGetLayout
VecRestoreArray3d
PetscSectionVecView
VecGetPinnedMemoryMin
VecRestoreArray3dRead
SCATTER_FORWARD_LOCAL
VecGetValuesSection
VecRestoreArray3dWrite
SCATTER_REVERSE_LOCAL
VecInitializePackage
VecRestoreArrayPair
VecCUDAPlaceArray
VecNestGetSize
VecScatterFinalizePackage
VecCUDAReplaceArray
VecNestGetSubVec
VecScatterGetMerged
VecCUDAResetArray
VecNestGetSubVecs
VecScatterInitializePackage
VecFinalizePackage
VecNestSetSubVec
VecScatterRemap
VecGetArray1d
VecNestSetSubVecs
VecSetLayout
VecGetArray1dRead
VecPlaceArray
VecSetPinnedMemoryMin
VecGetArray1dWrite
VecReplaceArray
VecSetValuesSection
VecGetArray2d
VecResetArray
VecTaggerFinalizePackage
VecGetArray2dRead
VecRestoreArray1d
VecTaggerInitializePackage
VecGetArray2dWrite
VecRestoreArray1dRead
VecViennaCLResetArray
VecGetArray3d
VecRestoreArray1dWrite
VecGetArray3dRead
VecRestoreArray2d
Deprecated - Functionality scheduled for removal in future versions
VecLockPop
VecLockPush
Table of Contents