GridapPETSc.jl
GridapPETSc.PETSC
GridapPETSc.PETSC.PETSC_DECIDE
GridapPETSc.PETSC.PETSC_DEFAULT
GridapPETSc.PETSC.PETSC_DETERMINE
GridapPETSc.PETSC.InsertMode
GridapPETSc.PETSC.KSP
GridapPETSc.PETSC.KSPType
GridapPETSc.PETSC.Mat
GridapPETSc.PETSC.MatAssemblyType
GridapPETSc.PETSC.MatDuplicateOption
GridapPETSc.PETSC.MatInfo
GridapPETSc.PETSC.MatInfoType
GridapPETSc.PETSC.MatNullSpace
GridapPETSc.PETSC.MatReuse
GridapPETSc.PETSC.MatStructure
GridapPETSc.PETSC.MatType
GridapPETSc.PETSC.NormType
GridapPETSc.PETSC.PC
GridapPETSc.PETSC.PCType
GridapPETSc.PETSC.PetscBool
GridapPETSc.PETSC.PetscDataType
GridapPETSc.PETSC.PetscError
GridapPETSc.PETSC.PetscErrorCode
GridapPETSc.PETSC.PetscInt
GridapPETSc.PETSC.PetscLogDouble
GridapPETSc.PETSC.PetscReal
GridapPETSc.PETSC.PetscScalar
GridapPETSc.PETSC.PetscViewer
GridapPETSc.PETSC.SNES
GridapPETSc.PETSC.SNESConvergedReason
GridapPETSc.PETSC.Vec
GridapPETSc.PETSC.VecOption
GridapPETSc.PETSC.KSPCreate
GridapPETSc.PETSC.KSPDestroy
GridapPETSc.PETSC.KSPGetIterationNumber
GridapPETSc.PETSC.KSPGetPC
GridapPETSc.PETSC.KSPSetFromOptions
GridapPETSc.PETSC.KSPSetInitialGuessNonzero
GridapPETSc.PETSC.KSPSetOperators
GridapPETSc.PETSC.KSPSetOptionsPrefix
GridapPETSc.PETSC.KSPSetTolerances
GridapPETSc.PETSC.KSPSetType
GridapPETSc.PETSC.KSPSetUp
GridapPETSc.PETSC.KSPSolve
GridapPETSc.PETSC.KSPSolveTranspose
GridapPETSc.PETSC.KSPView
GridapPETSc.PETSC.MatAssemblyBegin
GridapPETSc.PETSC.MatAssemblyEnd
GridapPETSc.PETSC.MatConvert
GridapPETSc.PETSC.MatCopy
GridapPETSc.PETSC.MatCreateAIJ
GridapPETSc.PETSC.MatCreateMPIAIJWithArrays
GridapPETSc.PETSC.MatCreateSeqAIJ
GridapPETSc.PETSC.MatCreateSeqAIJWithArrays
GridapPETSc.PETSC.MatDestroy
GridapPETSc.PETSC.MatEqual
GridapPETSc.PETSC.MatGetInfo
GridapPETSc.PETSC.MatGetSize
GridapPETSc.PETSC.MatGetValues
GridapPETSc.PETSC.MatMult
GridapPETSc.PETSC.MatMultAdd
GridapPETSc.PETSC.MatMumpsSetCntl
GridapPETSc.PETSC.MatMumpsSetIcntl
GridapPETSc.PETSC.MatNullSpaceCreate
GridapPETSc.PETSC.MatNullSpaceCreateRigidBody
GridapPETSc.PETSC.MatNullSpaceDestroy
GridapPETSc.PETSC.MatScale
GridapPETSc.PETSC.MatSetBlockSize
GridapPETSc.PETSC.MatSetNearNullSpace
GridapPETSc.PETSC.MatSetNullSpace
GridapPETSc.PETSC.MatSetValues
GridapPETSc.PETSC.MatView
GridapPETSc.PETSC.MatZeroEntries
GridapPETSc.PETSC.PCFactorGetMatrix
GridapPETSc.PETSC.PCFactorSetMatSolverType
GridapPETSc.PETSC.PCFactorSetUpMatSolverType
GridapPETSc.PETSC.PCHYPREAMSSetInteriorNodes
GridapPETSc.PETSC.PCHYPRESetAlphaPoissonMatrix
GridapPETSc.PETSC.PCHYPRESetBetaPoissonMatrix
GridapPETSc.PETSC.PCHYPRESetDiscreteCurl
GridapPETSc.PETSC.PCHYPRESetDiscreteGradient
GridapPETSc.PETSC.PCHYPRESetEdgeConstantVectors
GridapPETSc.PETSC.PCHYPRESetInterpolations
GridapPETSc.PETSC.PCSetCoordinates
GridapPETSc.PETSC.PCSetType
GridapPETSc.PETSC.PCView
GridapPETSc.PETSC.PETSC_VIEWER_DRAW_
GridapPETSc.PETSC.PETSC_VIEWER_STDOUT_
GridapPETSc.PETSC.PetscDataTypeFromString
GridapPETSc.PETSC.PetscDataTypeGetSize
GridapPETSc.PETSC.PetscFinalize
GridapPETSc.PETSC.PetscFinalized
GridapPETSc.PETSC.PetscInitializeNoArguments
GridapPETSc.PETSC.PetscInitializeNoPointers
GridapPETSc.PETSC.PetscInitialized
GridapPETSc.PETSC.PetscObjectRegisterDestroy
GridapPETSc.PETSC.PetscObjectRegisterDestroyAll
GridapPETSc.PETSC.SNESConvergedDefault
GridapPETSc.PETSC.SNESCreate
GridapPETSc.PETSC.SNESDestroy
GridapPETSc.PETSC.SNESGetIterationNumber
GridapPETSc.PETSC.SNESGetKSP
GridapPETSc.PETSC.SNESGetLinearSolveFailures
GridapPETSc.PETSC.SNESGetLinearSolveIterations
GridapPETSc.PETSC.SNESGetNumberFunctionEvals
GridapPETSc.PETSC.SNESSetConvergenceTest
GridapPETSc.PETSC.SNESSetCountersReset
GridapPETSc.PETSC.SNESSetFromOptions
GridapPETSc.PETSC.SNESSetFunction
GridapPETSc.PETSC.SNESSetJacobian
GridapPETSc.PETSC.SNESSetType
GridapPETSc.PETSC.SNESSolve
GridapPETSc.PETSC.SNESView
GridapPETSc.PETSC.VecAXPBY
GridapPETSc.PETSC.VecAXPY
GridapPETSc.PETSC.VecAYPX
GridapPETSc.PETSC.VecAssemblyBegin
GridapPETSc.PETSC.VecAssemblyEnd
GridapPETSc.PETSC.VecCopy
GridapPETSc.PETSC.VecCreateGhost
GridapPETSc.PETSC.VecCreateGhostWithArray
GridapPETSc.PETSC.VecCreateMPI
GridapPETSc.PETSC.VecCreateSeq
GridapPETSc.PETSC.VecCreateSeqWithArray
GridapPETSc.PETSC.VecDestroy
GridapPETSc.PETSC.VecDuplicate
GridapPETSc.PETSC.VecGetArray
GridapPETSc.PETSC.VecGetArrayRead
GridapPETSc.PETSC.VecGetArrayWrite
GridapPETSc.PETSC.VecGetLocalSize
GridapPETSc.PETSC.VecGetSize
GridapPETSc.PETSC.VecGetValues
GridapPETSc.PETSC.VecGhostGetLocalForm
GridapPETSc.PETSC.VecGhostRestoreLocalForm
GridapPETSc.PETSC.VecNorm
GridapPETSc.PETSC.VecPlaceArray
GridapPETSc.PETSC.VecResetArray
GridapPETSc.PETSC.VecRestoreArray
GridapPETSc.PETSC.VecRestoreArrayRead
GridapPETSc.PETSC.VecRestoreArrayWrite
GridapPETSc.PETSC.VecScale
GridapPETSc.PETSC.VecSet
GridapPETSc.PETSC.VecSetBlockSize
GridapPETSc.PETSC.VecSetOption
GridapPETSc.PETSC.VecSetValues
GridapPETSc.PETSC.VecView
GridapPETSc.PETSC.@PETSC_VIEWER_DRAW_SELF
GridapPETSc.PETSC.@PETSC_VIEWER_DRAW_WORLD
GridapPETSc.PETSC.@PETSC_VIEWER_STDOUT_SELF
GridapPETSc.PETSC.@PETSC_VIEWER_STDOUT_WORLD
GridapPETSc.PETSC.@check_error_code
GridapPETSc.PETSC
— ModuleLow level interface with PETSC, which serve as the back-end in GridapPETSc.
The types and functions defined here are almost 1-to-1 to the corresponding C counterparts. In particular, the types defined can be directly used to call C PETSc routines via ccall
. When a C function expects a pointer, use a Ref
to the corresponding Julia alias. E.g., if an argument is PetscBool *
in the C code, pass an object with type Ref{PetscBool}
from the Julia code. Using this rule, PETSC.PetscInitialized
can be called as
flag = Ref{PetscBool}()
@check_error_code PetscInitialized(flag)
if flag[] == PETSC_TRUE
println("Petsc is initialized!")
end
GridapPETSc.PETSC.PETSC_DECIDE
— ConstantJulia constant storing the PETSC_DECIDE
value.
See PETSc manual.
GridapPETSc.PETSC.PETSC_DEFAULT
— ConstantJulia constant storing the PETSC_DEFAULT
value.
See PETSc manual.
GridapPETSc.PETSC.PETSC_DETERMINE
— ConstantJulia constant storing the PETSC_DETERMINE
value.
See PETSc manual.
GridapPETSc.PETSC.InsertMode
— TypeJulia alias for the InsertMode
C enum.
See PETSc manual.
GridapPETSc.PETSC.KSP
— TypeJulia alias for the KSP
C type.
See PETSc manual.
GridapPETSc.PETSC.KSPType
— TypeJulia alias for KSPType
C type.
See PETSc manual.
GridapPETSc.PETSC.Mat
— TypeJulia alias for the Mat
C type.
See PETSc manual.
GridapPETSc.PETSC.MatAssemblyType
— TypeJulia alias for the MatAssemblyType
C enum.
See PETSc manual.
GridapPETSc.PETSC.MatDuplicateOption
— TypeJulia alias for the MatDuplicateOption
C enum.
See PETSc manual.
GridapPETSc.PETSC.MatInfo
— TypeJulia alias for the MatInfo
C struct.
See PETSc manual.
GridapPETSc.PETSC.MatInfoType
— TypeJulia alias for the MatInfoType
C enum.
See PETSc manual.
GridapPETSc.PETSC.MatNullSpace
— TypeJulia alias for the MatNullSpace
C type.
See PETSc manual.
GridapPETSc.PETSC.MatReuse
— TypeJulia alias for the MatReuse
C enum.
See PETSc manual.
GridapPETSc.PETSC.MatStructure
— TypeJulia alias for the MatStructure
C enum.
See PETSc manual.
GridapPETSc.PETSC.MatType
— TypeJulia alias for MatType
C type.
See PETSc manual.
GridapPETSc.PETSC.NormType
— TypeJulia alias for the NormType
C enum.
See PETSc manual.
GridapPETSc.PETSC.PC
— TypeJulia alias for the PC
C type.
See PETSc manual.
GridapPETSc.PETSC.PCType
— TypeJulia alias for PCType
C type.
See PETSc manual.
GridapPETSc.PETSC.PetscBool
— TypeJulia alias to PetscBool
C enum.
See PETSc manual.
GridapPETSc.PETSC.PetscDataType
— TypeJulia alias to PetscDataType
C enum.
See PETSc manual.
GridapPETSc.PETSC.PetscError
— Typestruct PetscError <: Exception
code::PetscErrorCode
end
Custom Exception
thrown by @check_error_code
.
GridapPETSc.PETSC.PetscErrorCode
— TypeJulia alias to PetscErrorCode
C type.
See PETSc manual.
GridapPETSc.PETSC.PetscInt
— TypeJulia alias for PetscInt
C type.
See PETSc manual.
GridapPETSc.PETSC.PetscLogDouble
— TypeJulia alias to PetscLogDouble
C type.
See PETSc manual.
GridapPETSc.PETSC.PetscReal
— TypeJulia alias for PetscReal
C type.
See PETSc manual.
GridapPETSc.PETSC.PetscScalar
— TypeJulia alias for PetscScalar
C type.
See PETSc manual.
GridapPETSc.PETSC.PetscViewer
— TypeJulia alias for PetscViewer
C type.
See PETSc manual.
GridapPETSc.PETSC.SNES
— TypeJulia alias for the SNES
C type.
See PETSc manual.
GridapPETSc.PETSC.SNESConvergedReason
— TypeJulia alias to SNESConvergedReason
C enum.
See PETSc manual.
GridapPETSc.PETSC.Vec
— TypeJulia alias for the Vec
C type.
See PETSc manual.
GridapPETSc.PETSC.VecOption
— TypeJulia alias for the VecOption
C enum.
See PETSc manual.
GridapPETSc.PETSC.KSPCreate
— MethodKSPCreate(comm, inksp)
See PETSc manual.
GridapPETSc.PETSC.KSPDestroy
— MethodKSPDestroy(ksp)
See PETSc manual.
GridapPETSc.PETSC.KSPGetIterationNumber
— MethodKSPGetIterationNumber(ksp, its)
See PETSc manual.
GridapPETSc.PETSC.KSPGetPC
— MethodKSPGetPC(ksp, pc)
See PETSc manual.
GridapPETSc.PETSC.KSPSetFromOptions
— MethodKSPSetFromOptions(ksp)
See PETSc manual.
GridapPETSc.PETSC.KSPSetInitialGuessNonzero
— MethodKSPSetInitialGuessNonzero(ksp, flg)
See PETSc manual.
GridapPETSc.PETSC.KSPSetOperators
— MethodKSPSetOperators(ksp, Amat, Pmat)
See PETSc manual.
GridapPETSc.PETSC.KSPSetOptionsPrefix
— MethodKSPSetOptionsPrefix(ksp, prefix)
See PETSc manual.
GridapPETSc.PETSC.KSPSetTolerances
— MethodKSPSetTolerances(ksp, rtol, abstol, dtol, maxits)
See PETSc manual.
GridapPETSc.PETSC.KSPSetType
— MethodKSPSetType(ksp, typ)
See PETSc manual.
GridapPETSc.PETSC.KSPSetUp
— MethodKSPSetUp(ksp)
See PETSc manual.
GridapPETSc.PETSC.KSPSolve
— MethodKSPSolve(ksp, b, x)
See PETSc manual.
GridapPETSc.PETSC.KSPSolveTranspose
— MethodKSPSolveTranspose(ksp, b, x)
See PETSc manual.
GridapPETSc.PETSC.KSPView
— MethodKSPView(ksp, viewer)
See PETSc manual.
GridapPETSc.PETSC.MatAssemblyBegin
— MethodMatAssemblyBegin(mat, typ)
See PETSc manual.
GridapPETSc.PETSC.MatAssemblyEnd
— MethodMatAssemblyEnd(mat, typ)
See PETSc manual.
GridapPETSc.PETSC.MatConvert
— MethodMatConvert(mat, newtype, reuse, M)
See PETSc manual.
GridapPETSc.PETSC.MatCopy
— MethodMatCopy(A, B, str)
See PETSc manual.
GridapPETSc.PETSC.MatCreateAIJ
— MethodMatCreateAIJ(comm, m, n, M, N, d_nz, d_nnz, o_nz, o_nnz, mat)
See PETSc manual.
GridapPETSc.PETSC.MatCreateMPIAIJWithArrays
— MethodMatCreateMPIAIJWithArrays(comm, m, n, M, N, i, j, a, mat)
See PETSc manual.
GridapPETSc.PETSC.MatCreateSeqAIJ
— MethodMatCreateSeqAIJ(comm, m, n, nz, nnz, mat)
See PETSc manual.
GridapPETSc.PETSC.MatCreateSeqAIJWithArrays
— MethodMatCreateSeqAIJWithArrays(comm, m, n, i, j, a, mat)
See PETSc manual.
GridapPETSc.PETSC.MatDestroy
— MethodMatDestroy(A)
See PETSc manual.
GridapPETSc.PETSC.MatEqual
— MethodMatEqual(A, B, flg)
See PETSc manual.
GridapPETSc.PETSC.MatGetInfo
— MethodMatGetInfo(mat, flag, info)
See PETSc manual.
GridapPETSc.PETSC.MatGetSize
— MethodMatGetSize(mat, m, n)
See PETSc manual.
GridapPETSc.PETSC.MatGetValues
— MethodMatGetValues(mat, m, idxm, n, idxn, v)
See PETSc manual.
GridapPETSc.PETSC.MatMult
— MethodMatMult(mat, x, y)
See PETSc manual.
GridapPETSc.PETSC.MatMultAdd
— MethodMatMultAdd(mat, v1, v2, v3)
See PETSc manual.
GridapPETSc.PETSC.MatMumpsSetCntl
— MethodMatMumpsSetCntl(mat, icntl, val)
See PETSc manual.
GridapPETSc.PETSC.MatMumpsSetIcntl
— MethodMatMumpsSetIcntl(mat, icntl, val)
See PETSc manual.
GridapPETSc.PETSC.MatNullSpaceCreate
— MethodMatNullSpaceCreate(comm, has_cnst, n, vecs, sp)
See PETSc manual.
GridapPETSc.PETSC.MatNullSpaceCreateRigidBody
— MethodMatNullSpaceCreateRigidBody(coords, sp)
See PETSc manual.
GridapPETSc.PETSC.MatNullSpaceDestroy
— MethodMatNullSpaceDestroy(ns)
See PETSc manual.
GridapPETSc.PETSC.MatScale
— MethodMatScale(mat, alpha)
See PETSc manual.
GridapPETSc.PETSC.MatSetBlockSize
— MethodMatSetBlockSize(mat, bs)
See PETSc manual.
GridapPETSc.PETSC.MatSetNearNullSpace
— MethodMatSetNearNullSpace(mat, nullsp)
See PETSc manual.
GridapPETSc.PETSC.MatSetNullSpace
— MethodMatSetNullSpace(mat, nullsp)
See PETSc manual.
GridapPETSc.PETSC.MatSetValues
— MethodMatSetValues(mat, m, idxm, n, idxn, v, addv)
See PETSc manual.
GridapPETSc.PETSC.MatView
— MethodMatView(mat, viewer)
See PETSc manual.
GridapPETSc.PETSC.MatZeroEntries
— MethodMatZeroEntries(mat)
See PETSc manual.
GridapPETSc.PETSC.PCFactorGetMatrix
— MethodPCFactorGetMatrix(ksp, mat)
See PETSc manual.
GridapPETSc.PETSC.PCFactorSetMatSolverType
— MethodPCFactorSetMatSolverType(pc, typ)
See PETSc manual.
GridapPETSc.PETSC.PCFactorSetUpMatSolverType
— MethodPCFactorSetUpMatSolverType(pc)
See PETSc manual.
GridapPETSc.PETSC.PCHYPREAMSSetInteriorNodes
— MethodPCHYPREAMSSetInteriorNodes(pc, interior)
See PETSc manual.
GridapPETSc.PETSC.PCHYPRESetAlphaPoissonMatrix
— MethodPCHYPRESetAlphaPoissonMatrix(pc, A)
See PETSc manual.
GridapPETSc.PETSC.PCHYPRESetBetaPoissonMatrix
— MethodPCHYPRESetBetaPoissonMatrix(pc, A)
See PETSc manual.
GridapPETSc.PETSC.PCHYPRESetDiscreteCurl
— MethodPCHYPRESetDiscreteCurl(pc, C)
See PETSc manual.
GridapPETSc.PETSC.PCHYPRESetDiscreteGradient
— MethodPCHYPRESetDiscreteGradient(pc, G)
See PETSc manual.
GridapPETSc.PETSC.PCHYPRESetEdgeConstantVectors
— MethodPCHYPRESetEdgeConstantVectors(pc, ozz, zoz, zzo)
See PETSc manual.
GridapPETSc.PETSC.PCHYPRESetInterpolations
— MethodPCHYPRESetInterpolations(pc, dim, RT_PiFull, RT_Pi, ND_PiFull, ND_Pi)
See PETSc manual.
GridapPETSc.PETSC.PCSetCoordinates
— MethodPCSetCoordinates(pc, dim, nloc, coords)
See PETSc manual.
GridapPETSc.PETSC.PCSetType
— MethodPCSetType(pc, typ)
See PETSc manual.
GridapPETSc.PETSC.PCView
— MethodPCView(pc, viewer)
See PETSc manual.
GridapPETSc.PETSC.PETSC_VIEWER_DRAW_
— MethodPETSC_VIEWER_DRAW_(comm)
See PETSc manual.
GridapPETSc.PETSC.PETSC_VIEWER_STDOUT_
— MethodPETSC_VIEWER_STDOUT_(comm)
See PETSc manual.
GridapPETSc.PETSC.PetscDataTypeFromString
— MethodPetscDataTypeFromString(name,ptype,found)
See PETSc manual.
GridapPETSc.PETSC.PetscDataTypeGetSize
— MethodPetscDataTypeGetSize(ptype,size)
See PETSc manual.
GridapPETSc.PETSC.PetscFinalize
— MethodPetscFinalize()
See PETSc manual.
GridapPETSc.PETSC.PetscFinalized
— MethodPetscFinalized(flag)
See PETSc manual.
GridapPETSc.PETSC.PetscInitializeNoArguments
— MethodPetscInitializeNoArguments()
See PETSc manual.
GridapPETSc.PETSC.PetscInitializeNoPointers
— MethodPetscInitializeNoPointers(argc, args, filename, help)
GridapPETSc.PETSC.PetscInitialized
— MethodPetscInitialized(flag)
See PETSc manual.
GridapPETSc.PETSC.PetscObjectRegisterDestroy
— MethodPetscObjectRegisterDestroy(obj)
See PETSc manual.
GridapPETSc.PETSC.PetscObjectRegisterDestroyAll
— MethodPetscObjectRegisterDestroyAll()
See PETSc manual.
GridapPETSc.PETSC.SNESConvergedDefault
— MethodSNESConvergedDefault(snes, it, xnorm, gnorm, f, reason, user)
See PETSc manual.
GridapPETSc.PETSC.SNESCreate
— MethodSNESCreate(comm, snes)
See PETSc manual.
GridapPETSc.PETSC.SNESDestroy
— MethodSNESDestroy(snes)
See PETSc manual.
GridapPETSc.PETSC.SNESGetIterationNumber
— MethodSNESGetIterationNumber(snes, iter)
See PETSc manual.
GridapPETSc.PETSC.SNESGetKSP
— MethodSNESGetKSP(snes, ksp)
See PETSc manual.
GridapPETSc.PETSC.SNESGetLinearSolveFailures
— MethodSNESGetLinearSolveFailures(snes, nfails)
See PETSc manual.
GridapPETSc.PETSC.SNESGetLinearSolveIterations
— MethodSNESGetLinearSolveIterations(snes, iter)
See PETSc manual.
GridapPETSc.PETSC.SNESGetNumberFunctionEvals
— MethodSNESGetNumberFunctionEvals(snes, nfuncs)
See PETSc manual.
GridapPETSc.PETSC.SNESSetConvergenceTest
— MethodSNESSetConvergenceTest(snes, convtest, cctx, destroy)
See PETSc manual.
GridapPETSc.PETSC.SNESSetCountersReset
— MethodSNESSetCountersReset(snes, reset)
See PETSc manual.
GridapPETSc.PETSC.SNESSetFromOptions
— MethodSNESSetFromOptions(snes)
See PETSc manual.
GridapPETSc.PETSC.SNESSetFunction
— MethodSNESSetFunction(snes, vec, fptr, ctx)
See PETSc manual.
GridapPETSc.PETSC.SNESSetJacobian
— MethodSNESSetJacobian(snes, A, P, jacptr, ctx)
See PETSc manual.
GridapPETSc.PETSC.SNESSetType
— MethodSNESSetType(snes, type)
See PETSc manual.
GridapPETSc.PETSC.SNESSolve
— MethodSNESSolve(snes, b, x)
See PETSc manual.
GridapPETSc.PETSC.SNESView
— MethodSNESView(snes, viewer)
See PETSc manual.
GridapPETSc.PETSC.VecAXPBY
— MethodVecAXPBY(y, alpha, beta, x)
See PETSc manual.
GridapPETSc.PETSC.VecAXPY
— MethodVecAXPY(y, alpha, x)
See PETSc manual.
GridapPETSc.PETSC.VecAYPX
— MethodVecAYPX(y, beta, x)
See PETSc manual.
GridapPETSc.PETSC.VecAssemblyBegin
— MethodVecAssemblyBegin(vec)
See PETSc manual.
GridapPETSc.PETSC.VecAssemblyEnd
— MethodVecAssemblyEnd(vec)
See PETSc manual.
GridapPETSc.PETSC.VecCopy
— MethodVecCopy(x, y)
See PETSc manual.
GridapPETSc.PETSC.VecCreateGhost
— MethodVecCreateGhost(comm, n, N, nghost, ghosts, vv)
See PETSc manual.
GridapPETSc.PETSC.VecCreateGhostWithArray
— MethodVecCreateGhostWithArray(comm, n, N, nghost, ghosts, array, vv)
See PETSc manual.
GridapPETSc.PETSC.VecCreateMPI
— MethodVecCreateMPI(comm, n, N, v)
See PETSc manual.
GridapPETSc.PETSC.VecCreateSeq
— MethodVecCreateSeq(comm, n, vec)
See PETSc manual.
GridapPETSc.PETSC.VecCreateSeqWithArray
— MethodVecCreateSeqWithArray(comm, bs, n, array, vec)
See PETSc manual.
GridapPETSc.PETSC.VecDestroy
— MethodVecDestroy(vec)
See PETSc manual.
GridapPETSc.PETSC.VecDuplicate
— MethodVecDuplicate(v, newv)
See PETSc manual.
GridapPETSc.PETSC.VecGetArray
— MethodVecGetArray(x, a)
See PETSc manual.
GridapPETSc.PETSC.VecGetArrayRead
— MethodVecGetArrayRead(x, a)
See PETSc manual.
GridapPETSc.PETSC.VecGetArrayWrite
— MethodVecGetArrayWrite(x, a)
See PETSc manual.
GridapPETSc.PETSC.VecGetLocalSize
— MethodVecGetLocalSize(vec, n)
See PETSc manual.
GridapPETSc.PETSC.VecGetSize
— MethodVecGetSize(vec, n)
See PETSc manual.
GridapPETSc.PETSC.VecGetValues
— MethodVecGetValues(x, ni, ix, y)
See PETSc manual.
GridapPETSc.PETSC.VecGhostGetLocalForm
— MethodVecGhostGetLocalForm(g, l)
See PETSc manual.
GridapPETSc.PETSC.VecGhostRestoreLocalForm
— MethodVecGhostRestoreLocalForm(g, l)
See PETSc manual.
GridapPETSc.PETSC.VecNorm
— MethodVecNorm(x, typ, val)
See PETSc manual.
GridapPETSc.PETSC.VecPlaceArray
— MethodVecPlaceArray(vec, array)
See PETSc manual.
GridapPETSc.PETSC.VecResetArray
— MethodVecResetArray(vec)
See PETSc manual.
GridapPETSc.PETSC.VecRestoreArray
— MethodVecRestoreArray(x, a)
See PETSc manual.
GridapPETSc.PETSC.VecRestoreArrayRead
— MethodVecRestoreArrayRead(x, a)
See PETSc manual.
GridapPETSc.PETSC.VecRestoreArrayWrite
— MethodVecRestoreArrayWrite(x, a)
See PETSc manual.
GridapPETSc.PETSC.VecScale
— MethodVecScale(x, alpha)
See PETSc manual.
GridapPETSc.PETSC.VecSet
— MethodVecSet(x, alpha)
See PETSc manual.
GridapPETSc.PETSC.VecSetBlockSize
— MethodVecSetBlockSize(v, bs)
See PETSc manual.
GridapPETSc.PETSC.VecSetOption
— MethodVecSetOption(x, op, flg)
See PETSc manual.
GridapPETSc.PETSC.VecSetValues
— MethodVecSetValues(x, ni, ix, y, iora)
See PETSc manual.
GridapPETSc.PETSC.VecView
— MethodVecView(vec, viewer)
See PETSc manual.
GridapPETSc.PETSC.@PETSC_VIEWER_DRAW_SELF
— Macro@PETSC_VIEWER_DRAW_SELF
See PETSc manual.
GridapPETSc.PETSC.@PETSC_VIEWER_DRAW_WORLD
— Macro@PETSC_VIEWER_DRAW_WORLD
See PETSc manual.
GridapPETSc.PETSC.@PETSC_VIEWER_STDOUT_SELF
— Macro@PETSC_VIEWER_STDOUT_SELF
See PETSc manual.
GridapPETSc.PETSC.@PETSC_VIEWER_STDOUT_WORLD
— Macro@PETSC_VIEWER_STDOUT_WORLD
See PETSc manual.
GridapPETSc.PETSC.@check_error_code
— Macro@check_error_code expr
Check if expr
returns an error code equal to zero(PetscErrorCode)
. If not, throw an instance of PetscError
.