petsc-dev 2013-05-13
Vectors:
Examples
PETSc vectors (Vec objects) are used to store the field variables in PDE-based (or other) simulations.
Beginner - Basic usage
NORM_1_AND_2
VecDuplicateVecsF90
VecRestoreArrayF90
NORM_1
VecExp
VecRestoreArray
NORM_2
VecGetArray4d
VecRestoreArrayRead
NORM_FROBENIUS
VecGetArrayF90
VecScatter
NORM_INFINITY
VecGetArray
VECSEQCUSP
NORM_MAX
VecGetArrayRead
VECSEQ
NormType
VecGetLocalSize
VecSetFromOptions
SCATTER_FORWARD
VecGetOwnershipRange
VecSet
ScatterMode
VecGetOwnershipRanges
VecSetValue
SCATTER_REVERSE
VecGetSize
VecSetValueLocal
VecAssemblyBegin
VecGetValues
VecSetValues
VecAssemblyEnd
Vec
VecSqrtAbs
VecCopy
VecLog
VECSTANDARD
VecCreate
VECMPICUSP
VecSum
VecDestroy
VECMPI
VecType
VecDestroyVecsF90
VecPermute
VecView
VecDuplicate
VecRestoreArray4d
VecZeroEntries
Intermediate - Setting options for algorithms and data structures
VecAbs
VecLoad
VecScatterEnd
VecAXPBY
VecMax
VecScatterFinalizeForGPU
VecAXPBYPCZ
VecMAXPY
VecScatterInitializeForGPU
VecAXPY
VecMDot
VecScatterView
VecAYPX
VecMin
VecSetLocalToGlobalMappingBlock
VecChop
VecMTDot
VecSetLocalToGlobalMapping
VecConjugate
VECNEST
VecSetOption
VecContourScale
VecNormalize
VecSetRandom
VecCreateMPI
VecNormAvailable
VecSetSizes
VecCreateMPIWithArray
VecNorm
VecSetType
VecCreateSeq
VecReciprocal
VecSetValuesBlocked
VecCreateSeqWithArray
VecRestoreArrays
VecSetValuesBlockedLocal
VecDestroyVecs
VecScale
VecSetValuesLocal
VecDot
VecScatterBegin
VecShift
VecDotRealPart
VecScatterCreate
VecStashSetInitialSize
VecDuplicateVecs
VecScatterCreateLocal
VecTDot
VecEqual
VecScatterCreateToAll
VecWAXPY
VecGetArrays
VecScatterCreateToZero
VecGetType
VecScatterDestroy
Advanced - Setting more advanced options and customization
PetscCommSplitReductionBegin
VecGhostUpdateEnd
VecSetUp
VecAppendOptionsPrefix
VecMaxPointwiseDivide
Vecs
VecCreateGhostBlock
VecMDotBegin
VecStashGetInfo
VecCreateGhostBlockWithArray
VecMDotEnd
VecStashView
VecCreateGhost
VecMPISetGhost
VecStrideGatherAll
VecCreateGhostWithArray
VecMTDotBegin
VecStrideGather
VecCreateNest
VecMTDotEnd
VecStrideMaxAll
VecCreateShared
VecNormBegin
VecStrideMax
VecDotBegin
VecNormEnd
VecStrideMinAll
VecDotEnd
VecPointwiseDivide
VecStrideMin
VecDotNorm2
VecPointwiseMaxAbs
VecStrideNormAll
VecGetBlockSize
VecPointwiseMax
VecStrideNorm
VecGetLocalToGlobalMappingBlock
VecPointwiseMin
VecStrideScaleAll
VecGetLocalToGlobalMapping
VecPointwiseMult
VecStrideScale
VecGetOptionsPrefix
VecRegisterAll
VecStrideScatterAll
VecGetSubVector
VecRegister
VecStrideScatter
VecGhostGetLocalForm
VecRestoreSubVector
VecStrideSet
VecGhostIsLocalForm
VecScatterCopy
VecSwap
VecGhostRestoreLocalForm
VecSetBlockSize
VecTDotBegin
VecGhostUpdateBegin
VecSetOptionsPrefix
VecTDotEnd
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
ISFinalizePackage
VecInitializePackage
VecRestoreArray1d
ISInitializePackage
VecNestGetSize
VecRestoreArray2d
SCATTER_FORWARD_LOCAL
VecNestGetSubVec
VecRestoreArray3d
SCATTER_REVERSE_LOCAL
VecNestGetSubVecs
VecScatterGetMerged
VecFinalizePackage
VecNestSetSubVec
VecScatterRemap
VecGetArray1d
VecNestSetSubVecs
VecSetLayout
VecGetArray2d
VecPlaceArray
VecSetValuesSection
VecGetArray3d
VecReplaceArray
VecGetLayout
VecResetArray
No deprecated routines
Table of Contents