Advanced API
PetscCall.PETSC_DECIDE — ConstantJulia constant storing the PETSC_DECIDE value.
See PETSc manual.
PetscCall.PETSC_DEFAULT — ConstantJulia constant storing the PETSC_DEFAULT value.
See PETSc manual.
PetscCall.PETSC_DETERMINE — ConstantJulia constant storing the PETSC_DETERMINE value.
See PETSc manual.
PetscCall.InsertMode — TypeJulia alias for the InsertMode C enum.
See PETSc manual.
PetscCall.KSP — TypeJulia alias for the KSP C type.
See PETSc manual.
PetscCall.KSPType — TypeJulia alias for KSPType C type.
See PETSc manual.
PetscCall.Mat — TypeJulia alias for the Mat C type.
See PETSc manual.
PetscCall.MatAssemblyType — TypeJulia alias for the MatAssemblyType C enum.
See PETSc manual.
PetscCall.MatDuplicateOption — TypeJulia alias for the MatDuplicateOption C enum.
See PETSc manual.
PetscCall.MatInfo — TypeJulia alias for the MatInfo C struct.
See PETSc manual.
PetscCall.MatInfoType — TypeJulia alias for the MatInfoType C enum.
See PETSc manual.
PetscCall.MatNullSpace — TypeJulia alias for the MatNullSpace C type.
See PETSc manual.
PetscCall.MatProductAlgorithm — TypeJulia alias for MatProductAlgorithm C type.
See PETSc manual.
PetscCall.MatProductType — TypeJulia alias for the MatProductType C enum.
See PETSc manual.
PetscCall.MatReuse — TypeJulia alias for the MatReuse C enum.
See PETSc manual.
PetscCall.MatStructure — TypeJulia alias for the MatStructure C enum.
See PETSc manual.
PetscCall.MatType — TypeJulia alias for MatType C type.
See PETSc manual.
PetscCall.NormType — TypeJulia alias for the NormType C enum.
See PETSc manual.
PetscCall.PC — TypeJulia alias for the PC C type.
See PETSc manual.
PetscCall.PCType — TypeJulia alias for PCType C type.
See PETSc manual.
PetscCall.PetscBool — TypeJulia alias to PetscBool C enum.
See PETSc manual.
PetscCall.PetscDataType — TypeJulia alias to PetscDataType C enum.
See PETSc manual.
PetscCall.PetscError — Typestruct PetscError <: Exception
code::PetscErrorCode
endCustom Exception thrown by @check_error_code.
PetscCall.PetscErrorCode — TypeJulia alias to PetscErrorCode C type.
See PETSc manual.
PetscCall.PetscLogDouble — TypeJulia alias to PetscLogDouble C type.
See PETSc manual.
PetscCall.PetscViewer — TypeJulia alias for PetscViewer C type.
See PETSc manual.
PetscCall.SNES — TypeJulia alias for the SNES C type.
See PETSc manual.
PetscCall.Vec — TypeJulia alias for the Vec C type.
See PETSc manual.
PetscCall.VecOption — TypeJulia alias for the VecOption C enum.
See PETSc manual.
PetscCall.KSPCreate — MethodPetscCall.KSPCreate(comm, inksp)See PETSc manual.
PetscCall.KSPDestroy — MethodPetscCall.KSPDestroy(ksp)See PETSc manual.
PetscCall.KSPGetIterationNumber — MethodPetscCall.KSPGetIterationNumber(ksp, its)See PETSc manual.
PetscCall.KSPGetPC — MethodPetscCall.KSPGetPC(ksp, pc)See PETSc manual.
PetscCall.KSPSetFromOptions — MethodPetscCall.KSPSetFromOptions(ksp)See PETSc manual.
PetscCall.KSPSetInitialGuessNonzero — MethodPetscCall.KSPSetInitialGuessNonzero(ksp, flg)See PETSc manual.
PetscCall.KSPSetOperators — MethodPetscCall.KSPSetOperators(ksp, Amat, Pmat)See PETSc manual.
PetscCall.KSPSetOptionsPrefix — MethodPetscCall.KSPSetOptionsPrefix(ksp, prefix)See PETSc manual.
PetscCall.KSPSetTolerances — MethodPetscCall.KSPSetTolerances(ksp, rtol, abstol, dtol, maxits)See PETSc manual.
PetscCall.KSPSetType — MethodPetscCall.KSPSetType(ksp, typ)See PETSc manual.
PetscCall.KSPSetUp — MethodPetscCall.KSPSetUp(ksp)See PETSc manual.
PetscCall.KSPSolve — MethodPetscCall.KSPSolve(ksp, b, x)See PETSc manual.
PetscCall.KSPSolveTranspose — MethodPetscCall.KSPSolveTranspose(ksp, b, x)See PETSc manual.
PetscCall.KSPView — MethodPetscCall.KSPView(ksp, viewer)See PETSc manual.
PetscCall.MatAssemblyBegin — MethodPetscCall.MatAssemblyBegin(mat, typ)See PETSc manual.
PetscCall.MatAssemblyEnd — MethodPetscCall.MatAssemblyEnd(mat, typ)See PETSc manual.
PetscCall.MatConvert — MethodPetscCall.MatConvert(mat, newtype, reuse, M)See PETSc manual.
PetscCall.MatCopy — MethodPetscCall.MatCopy(A, B, str)See PETSc manual.
PetscCall.MatCreate — MethodPetscCall.MatCreate(comm, mat)See PETSc manual.
PetscCall.MatCreateAIJ — MethodPetscCall.MatCreateAIJ(comm, m, n, M, N, d_nz, d_nnz, o_nz, o_nnz, mat)See PETSc manual.
PetscCall.MatCreateMPIAIJWithArrays — MethodPetscCall.MatCreateMPIAIJWithArrays(comm, m, n, M, N, i, j, a, mat)See PETSc manual.
PetscCall.MatCreateMPIAIJWithSplitArrays — MethodPetscCall.MatCreateMPIAIJWithSplitArrays(comm, m, n, M, N, i, j, a, oi, oj, oa, mat)See PETSc manual.
PetscCall.MatCreateSeqAIJ — MethodPetscCall.MatCreateSeqAIJ(comm, m, n, nz, nnz, mat)See PETSc manual.
PetscCall.MatCreateSeqAIJWithArrays — MethodPetscCall.MatCreateSeqAIJWithArrays(comm, m, n, i, j, a, mat)See PETSc manual.
PetscCall.MatDestroy — MethodPetscCall.MatDestroy(A)See PETSc manual.
PetscCall.MatEqual — MethodPetscCall.MatEqual(A, B, flg)See PETSc manual.
PetscCall.MatGetInfo — MethodPetscCall.MatGetInfo(mat, flag, info)See PETSc manual.
PetscCall.MatGetRowIJ — MethodPetscCall.MatGetRowIJ(A, shift, symmetric, inodecompressed, n, ia, ja, done)See PETSc manual.
PetscCall.MatGetSize — MethodPetscCall.MatGetSize(mat, m, n)See PETSc manual.
PetscCall.MatGetValues — MethodPetscCall.MatGetValues(mat, m, idxm, n, idxn, v)See PETSc manual.
PetscCall.MatMPIAIJGetLocalMat — MethodPetscCall.MatMPIAIJGetLocalMat(A, scall, A_local)See PETSc manual.
PetscCall.MatMPIAIJGetSeqAIJ — MethodPetscCall.MatMPIAIJGetSeqAIJ(A, Ad, Ao, colmap)See PETSc manual.
PetscCall.MatMPIAIJSetPreallocation — MethodPetscCall.MatMPIAIJSetPreallocation(B, d_nz, d_nnz, o_nz, o_nnz)See PETSc manual.
PetscCall.MatMatMult — MethodPetscCall.MatMatMult(A, B, scall, fill, C)See PETSc manual.
PetscCall.MatMult — MethodPetscCall.MatMult(mat, x, y)See PETSc manual.
PetscCall.MatMultAdd — MethodPetscCall.MatMultAdd(mat, v1, v2, v3)See PETSc manual.
PetscCall.MatMumpsSetCntl — MethodPetscCall.MatMumpsSetCntl(mat, icntl, val)See PETSc manual.
PetscCall.MatMumpsSetIcntl — MethodPetscCall.MatMumpsSetIcntl(mat, icntl, val)See PETSc manual.
PetscCall.MatNullSpaceCreate — MethodPetscCall.MatNullSpaceCreate(comm, has_cnst, n, vecs, sp)See PETSc manual.
PetscCall.MatNullSpaceCreateRigidBody — MethodPetscCall.MatNullSpaceCreateRigidBody(coords, sp)See PETSc manual.
PetscCall.MatNullSpaceDestroy — MethodPetscCall.MatNullSpaceDestroy(ns)See PETSc manual.
PetscCall.MatProductClear — MethodPetscCall.MatProductClear(mat)See PETSc manual.
PetscCall.MatProductCreate — MethodPetscCall.MatProductCreate(A, B, C, D)See PETSc manual.
PetscCall.MatProductGetAlgorithm — MethodPetscCall.MatProductGetAlgorithm(mat, alg)See PETSc manual.
PetscCall.MatProductNumeric — MethodPetscCall.MatProductNumeric(mat)See PETSc manual.
PetscCall.MatProductReplaceMats — MethodPetscCall.MatProductReplaceMats(A, B, C, D)See PETSc manual.
PetscCall.MatProductSetAlgorithm — MethodPetscCall.MatProductSetAlgorithm(mat, alg)See PETSc manual.
PetscCall.MatProductSetFill — MethodPetscCall.MatProductSetFill(mat, fill)See PETSc manual.
PetscCall.MatProductSetFromOptions — MethodPetscCall.MatProductSetFromOptions(mat)See PETSc manual.
PetscCall.MatProductSetType — MethodPetscCall.MatProductSetType(mat, productype)See PETSc manual.
PetscCall.MatProductSymbolic — MethodPetscCall.MatProductSymbolic(mat)See PETSc manual.
PetscCall.MatRestoreRowIJ — MethodPetscCall.MatRestoreRowIJ(A, shift, symmetric, inodecompressed, n, ia, ja, done)See PETSc manual.
PetscCall.MatScale — MethodPetscCall.MatScale(mat, alpha)See PETSc manual.
PetscCall.MatSeqAIJGetArray — MethodPetscCall.MatSeqAIJGetArray(A, array)See PETSc manual.
PetscCall.MatSeqAIJGetArrayRead — MethodPetscCall.MatSeqAIJGetArrayRead(A, array)See PETSc manual.
PetscCall.MatSeqAIJRestoreArray — MethodPetscCall.MatSeqAIJRestoreArray(A, array)See PETSc manual.
PetscCall.MatSeqAIJRestoreArrayRead — MethodPetscCall.MatSeqAIJRestoreArrayRead(A, array)See PETSc manual.
PetscCall.MatSetBlockSize — MethodPetscCall.MatSetBlockSize(mat, bs)See PETSc manual.
PetscCall.MatSetFromOptions — MethodPetscCall.MatSetFromOptions(mat)See PETSc manual.
PetscCall.MatSetNearNullSpace — MethodPetscCall.MatSetNearNullSpace(mat, nullsp)See PETSc manual.
PetscCall.MatSetPreallocationCOO — MethodPetscCall.MatSetPreallocationCOO(A, ncoo, coo_i, coo_j)See PETSc manual.
PetscCall.MatSetSizes — MethodPetscCall.MatSetSizes(A, m, n, M, N)See PETSc manual.
PetscCall.MatSetType — MethodPetscCall.MatSetType(mat, matype)See PETSc manual.
PetscCall.MatSetValues — MethodPetscCall.MatSetValues(mat, m, idxm, n, idxn, v, addv)See PETSc manual.
PetscCall.MatSetValuesCOO — MethodPetscCall.MatSetValuesCOO(A, coo_v, imode)See PETSc manual.
PetscCall.MatView — MethodPetscCall.MatView(mat, viewer)See PETSc manual.
PetscCall.MatZeroEntries — MethodPetscCall.MatZeroEntries(mat)See PETSc manual.
PetscCall.PCFactorGetMatrix — MethodPetscCall.PCFactorGetMatrix(ksp, mat)See PETSc manual.
PetscCall.PCFactorSetMatSolverType — MethodPetscCall.PCFactorSetMatSolverType(pc, typ)See PETSc manual.
PetscCall.PCFactorSetUpMatSolverType — MethodPetscCall.PCFactorSetUpMatSolverType(pc)See PETSc manual.
PetscCall.PCSetType — MethodPetscCall.PCSetType(pc, typ)See PETSc manual.
PetscCall.PCView — MethodPetscCall.PCView(pc, viewer)See PETSc manual.
PetscCall.PETSC_VIEWER_DRAW_ — MethodPetscCall.PETSC_VIEWER_DRAW_(comm)See PETSc manual.
PetscCall.PETSC_VIEWER_STDOUT_ — MethodPetscCall.PETSC_VIEWER_STDOUT_(comm)See PETSc manual.
PetscCall.PetscDataTypeFromString — MethodPetscDataTypeFromString(name,ptype,found)See PETSc manual.
PetscCall.PetscDataTypeGetSize — MethodPetscDataTypeGetSize(ptype,size)See PETSc manual.
PetscCall.PetscFinalize — MethodPetscCall.PetscFinalize()See PETSc manual.
PetscCall.PetscFinalized — MethodPetscCall.PetscFinalized(flag)See PETSc manual.
PetscCall.PetscInitializeNoArguments — MethodPetscCall.PetscInitializeNoArguments()See PETSc manual.
PetscCall.PetscInitializeNoPointers — MethodPetscCall.PetscInitializeNoPointers(argc, args, filename, help)PetscCall.PetscInitialized — MethodPetscCall.PetscInitialized(flag)See PETSc manual.
PetscCall.PetscObjectRegisterDestroy — MethodPetscCall.PetscObjectRegisterDestroy(obj)See PETSc manual.
PetscCall.PetscObjectRegisterDestroyAll — MethodPetscCall.PetscObjectRegisterDestroyAll()See PETSc manual.
PetscCall.SNESCreate — MethodPetscCall.SNESCreate(comm, snes)See PETSc manual.
PetscCall.SNESDestroy — MethodPetscCall.SNESDestroy(snes)See PETSc manual.
PetscCall.SNESGetIterationNumber — MethodPetscCall.SNESGetIterationNumber(snes, iter)See PETSc manual.
PetscCall.SNESGetKSP — MethodPetscCall.SNESGetKSP(snes, ksp)See PETSc manual.
PetscCall.SNESGetLinearSolveFailures — MethodPetscCall.SNESGetLinearSolveFailures(snes, nfails)See PETSc manual.
PetscCall.SNESGetLinearSolveIterations — MethodPetscCall.SNESGetLinearSolveIterations(snes, iter)See PETSc manual.
PetscCall.SNESGetNumberFunctionEvals — MethodPetscCall.SNESGetNumberFunctionEvals(snes, nfuncs)See PETSc manual.
PetscCall.SNESSetCountersReset — MethodPetscCall.SNESSetCountersReset(snes, reset)See PETSc manual.
PetscCall.SNESSetFromOptions — MethodPetscCall.SNESSetFromOptions(snes)See PETSc manual.
PetscCall.SNESSetFunction — MethodPetscCall.SNESSetFunction(snes, vec, fptr, ctx)See PETSc manual.
PetscCall.SNESSetJacobian — MethodPetscCall.SNESSetJacobian(snes, A, P, jacptr, ctx)See PETSc manual.
PetscCall.SNESSetType — MethodPetscCall.SNESSetType(snes, type)See PETSc manual.
PetscCall.SNESSolve — MethodPetscCall.SNESSolve(snes, b, x)See PETSc manual.
PetscCall.SNESView — MethodPetscCall.SNESView(snes, viewer)See PETSc manual.
PetscCall.VecAXPBY — MethodPetscCall.VecAXPBY(y, alpha, beta, x)See PETSc manual.
PetscCall.VecAXPY — MethodPetscCall.VecAXPY(y, alpha, x)See PETSc manual.
PetscCall.VecAYPX — MethodPetscCall.VecAYPX(y, beta, x)See PETSc manual.
PetscCall.VecAssemblyBegin — MethodPetscCall.VecAssemblyBegin(vec)See PETSc manual.
PetscCall.VecAssemblyEnd — MethodPetscCall.VecAssemblyEnd(vec)See PETSc manual.
PetscCall.VecCopy — MethodPetscCall.VecCopy(x, y)See PETSc manual.
PetscCall.VecCreateGhost — MethodPetscCall.VecCreateGhost(comm, n, N, nghost, ghosts, vv)See PETSc manual.
PetscCall.VecCreateGhostWithArray — MethodPetscCall.VecCreateGhostWithArray(comm, n, N, nghost, ghosts, array, vv)See PETSc manual.
PetscCall.VecCreateMPI — MethodPetscCall.VecCreateMPI(comm, n, N, v)See PETSc manual.
PetscCall.VecCreateMPIWithArray — MethodPetscCall.VecCreateMPIWithArray(comm, bs, n, N, array, vec)See PETSc manual.
PetscCall.VecCreateSeq — MethodPetscCall.VecCreateSeq(comm, n, vec)See PETSc manual.
PetscCall.VecCreateSeqWithArray — MethodPetscCall.VecCreateSeqWithArray(comm, bs, n, array, vec)See PETSc manual.
PetscCall.VecDestroy — MethodPetscCall.VecDestroy(vec)See PETSc manual.
PetscCall.VecDuplicate — MethodPetscCall.VecDuplicate(v, newv)See PETSc manual.
PetscCall.VecGetArray — MethodPetscCall.VecGetArray(x, a)See PETSc manual.
PetscCall.VecGetArrayRead — MethodPetscCall.VecGetArrayRead(x, a)See PETSc manual.
PetscCall.VecGetArrayWrite — MethodPetscCall.VecGetArrayWrite(x, a)See PETSc manual.
PetscCall.VecGetLocalSize — MethodPetscCall.VecGetLocalSize(vec, n)See PETSc manual.
PetscCall.VecGetSize — MethodPetscCall.VecGetSize(vec, n)See PETSc manual.
PetscCall.VecGetValues — MethodPetscCall.VecGetValues(x, ni, ix, y)See PETSc manual.
PetscCall.VecGhostGetLocalForm — MethodPetscCall.VecGhostGetLocalForm(g, l)See PETSc manual.
PetscCall.VecGhostRestoreLocalForm — MethodPetscCall.VecGhostRestoreLocalForm(g, l)See PETSc manual.
PetscCall.VecNorm — MethodPetscCall.VecNorm(x, typ, val)See PETSc manual.
PetscCall.VecPlaceArray — MethodPetscCall.VecPlaceArray(vec, array)See PETSc manual.
PetscCall.VecResetArray — MethodPetscCall.VecResetArray(vec)See PETSc manual.
PetscCall.VecRestoreArray — MethodPetscCall.VecRestoreArray(x, a)See PETSc manual.
PetscCall.VecRestoreArrayRead — MethodPetscCall.VecRestoreArrayRead(x, a)See PETSc manual.
PetscCall.VecRestoreArrayWrite — MethodPetscCall.VecRestoreArrayWrite(x, a)See PETSc manual.
PetscCall.VecScale — MethodPetscCall.VecScale(x, alpha)See PETSc manual.
PetscCall.VecSet — MethodPetscCall.VecSet(x, alpha)See PETSc manual.
PetscCall.VecSetOption — MethodPetscCall.VecSetOption(x, op, flg)See PETSc manual.
PetscCall.VecSetValues — MethodPetscCall.VecSetValues(x, ni, ix, y, iora)See PETSc manual.
PetscCall.VecView — MethodPetscCall.VecView(vec, viewer)See PETSc manual.
PetscCall.VecZeroEntries — MethodPetscCall.VecZeroEntries(v)See PETSc manual.
PetscCall.@PETSC_VIEWER_DRAW_SELF — Macro@PETSC_VIEWER_DRAW_SELFSee PETSc manual.
PetscCall.@PETSC_VIEWER_DRAW_WORLD — Macro@PETSC_VIEWER_DRAW_WORLDSee PETSc manual.
PetscCall.@PETSC_VIEWER_STDOUT_SELF — Macro@PETSC_VIEWER_STDOUT_SELFSee PETSc manual.
PetscCall.@PETSC_VIEWER_STDOUT_WORLD — Macro@PETSC_VIEWER_STDOUT_WORLDSee PETSc manual.
PetscCall.@check_error_code — Macro@check_error_code exprCheck if expr returns an error code equal to zero(PetscErrorCode). If not, throw an instance of PetscError.