PETSc Help Index

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


aborting on errorPetscAbortErrorHandler

accessing remote fileViewerASCIIOpen

ViewerBinaryOpen

ALICE Memory SnooperPetscObjectPublish

Solves a nonlinear system in parallel with SNES

ViewerAMSOpen

AMSPetscObjectPublish

Solves a nonlinear system in parallel with SNES

ViewerAMSOpen

getting communicatorViewerAMSGetAMSComm

AOData

using an AOData database for grid informationdm/ao/ex1.c

architecturePetscGetArchType

Asynchronous Memory SnooperPetscObjectPublish

ViewerAMSOpen

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


barrierPetscBarrier

binary filesViewerBinaryOpen

openingPetscBinaryOpen

readingPetscBinaryRead

seekingPetscBinarySeek

PetscSynchronizedBinarySeek

synchronized readingPetscSynchronizedBinaryRead

writingPetscBinaryWrite

bleeding memoryPetscTrDump

block

index setISCreateBlock

block indices of index set in f90ISBlockGetIndicesF90

block size

vectorsVecSetBlockSize

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


clear

windowDrawClear

DrawSynchronizedClear

closing filePetscFClose

communicator

accessing AMS communicatorViewerAMSGetAMSComm

getting from objectPetscObjectGetComm

setting for PETScPetscSetCommWorld

comparing

memoryPetscBitMemcpy

object typesPetscTypeCompare

complex numberssles/ex11f.F

Solves a linear system in parallel with SLES

composing functionsPetscObjectComposeFunction

PetscObjectQueryFunction

composing objectsPetscObjectCompose

PetscObjectQuery

contour plotDrawTensorContour

DrawTensorContourPatch

Cookie

getting new onePetscRegisterCookie

copying

memoryPetscMemcpy

memory with overlapPetscMemmove

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


DA

using distributed arrayssles/ex14.c

sles/ex14f.F

snes/ex16.c

snes/ex20.c

snes/ex5f.F

snes/ex5f90.F

Solves a nonlinear system in parallel with SNES

Solves a simple nonlinear system in parallel with SNES

Solves nonlinear driven cavity with multigrid

Solves nonlinear PDE system

Solves nonlinear Radiative Transport PDE with multigrid

debugger

error handlerPetscAttachDebuggerErrorHandler

settingPetscSetDebugger

starting from programPetscAttachDebugger

waiting for attachmentPetscStopForDebugger

debugging

detailed runtime informationPLogInfoAllow

deleting objectPetscObjectDestroy

destroying objectPetscObjectDestroy

divide by zeroPetscSetFPTrap

double bufferDrawSetDoubleBuffer

Draw

registering new Draw classesDrawRegisterDynamic

drawing

accessing Draw context from ViewerViewerDrawGetDraw

contour plotDrawTensorContour

coordinatesDrawGetCoordinates

DrawSetCoordinates

creating contextDrawCreate

double bufferDrawSetDoubleBuffer

in subset of windowDrawSetViewPort

DrawSplitViewPort

DrawViewPortsCreate

DrawViewPortsSet

lineDrawLine

Microsoft WindowsDrawSetType

opening ViewerViewerDrawOpen

pointDrawPoint

postscriptDrawSetType

rectangleDrawRectangle

setting optionsDrawSetFromOptions

stringDrawString

triangleDrawTriangle

waitingDrawGetPause

DrawPause

DrawSetPause

X windowsDrawSetType

zoomingDrawZoom

dumping detailed runtime informationPLogInfoAllow

dynamic librariesPrints loadable objects from dynamic library

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


emacs

going to on errorPetscEmacsClientErrorHandler

error

setting conditionPetscError

error handler

abortingPetscAbortErrorHandler

attach debuggerPetscAttachDebuggerErrorHandler

going to line in emacsPetscEmacsClientErrorHandler

settingPetscPopErrorHandler

stoppingPetscStopErrorHandler

tracebackPetscTraceBackErrorHandler

error handling

using the macro __FUNC__ to define routine namesUses Newton-like methods to solve u'' + u^{2} = f in parallel

Using the macro __FUNC__ to define routine namesSolves a linear system in parallel with SLES

error messages

printingPetscErrorPrintfDefault

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


file descriptor

gettingViewerBinaryGetDescriptor

file input/output

creating ViewerViewerCreate

File pointer

getting from ViewerViewerASCIIGetPointer

files

binary seekingPetscBinarySeek

closing ASCIIPetscFClose

finding in pathPetscGetFileFromPath

opening ASCIIPetscFOpen

opening binaryPetscBinaryOpen

reading binaryPetscBinaryRead

seeking in binaryPetscSynchronizedBinarySeek

synchronized reading of binary filesPetscSynchronizedBinaryRead

writing binaryPetscBinaryWrite

floating point exceptions

trappingPetscSetFPTrap

flops

amount donePetscGetFlops

loggingPLogFlops

flushing

graphicsDrawFlush

DrawSynchronizedFlush

Viewer dataViewerFlush

Fortran90vec/ex1f90.F

vec/ex4f90.F

vec/is/ex1f90.F

vec/is/ex3f90.F

freeing objectPetscObjectDestroy

full pathPetscGetFullPath

functions

queryingPetscObjectComposeFunction

PetscObjectQueryFunction

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


ghost paddingDemonstrates use of VecCreateGhost()

vec/ex14f.F

vec/ex9f.F

global to local mappingsDemonstrates using ISLocalToGlobalMappings

graphicsViewerDrawGetDraw

coordinatesDrawGetCoordinates

DrawSetCoordinates

creating contextDrawCreate

creating ViewerViewerCreate

double bufferDrawSetDoubleBuffer

in subset of windowDrawSetViewPort

opening ViewerViewerDrawOpen

rectangleDrawRectangle

registering new Draw classesDrawRegisterDynamic

setting optionsDrawSetFromOptions

triangleDrawTriangle

waitingDrawGetPause

DrawPause

zoomingDrawZoom

gzipViewerBinaryOpen

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


Helmholtz equationSolves a linear system in parallel with SLES

help messages

printingPetscHelpPrintfDefault

histogram

adding valuesDrawHGAddValue

creatingDrawHGCreate

resettingDrawHGReset

setting axisDrawHGSetLimits

setting number of binsDrawHGSetNumberBins

home directoryPetscGetHomeDirectory

host namePetscGetHostName

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


ICC

setting levels of fillPCICCSetLevels

identity mappingISIdentity

ISSetIdentity

index set

duplicatingISDuplicate

getting block indices in f90ISBlockGetIndicesF90

getting indicesISGetIndices

getting indices in f90ISGetIndicesF90

invertISInvertPermutation

is identityISIdentity

ISSetIdentity

is permutationISPermutation

local sizeISGetLocalSize

permutationISSetPermutation

sizeISGetSize

sortingISSort

index sets

blockISCreateBlock

convertingISStrideToGeneral

creatingISCreateGeneral

creating a block index setDemonstrates creating a blocked index set

creating a stride index setDemonstrates creating a stride index set

creating generalCreating a general index set

getting informationISStrideGetInfo

is it strideISStride

manipulating a general index setCreating a general index set

strideISCreateStride

Index sets

accessing indices from Fortranvec/is/ex2f.F

manipulating a block index setvec/is/ex3f90.F

manipulating a general index setvec/is/ex1f.F

vec/is/ex1f90.F

manipulating a stride index setvec/is/ex2f.F

indices of index setISGetIndices

indices of index set in f90ISBlockGetIndicesF90

ISGetIndicesF90

initializing PETScPetscInitialize

introduction to PETScIntroductory example that illustrates printing

Synchronized printing

inverse permutationISInvertPermutation

IS

blockISCreateBlock

creatingISCreateGeneral

creating a block index setDemonstrates creating a blocked index set

creating a general index setCreating a general index set

creating a stride index setDemonstrates creating a stride index set

getting informationISStrideGetInfo

is it strideISStride

strideISCreateStride

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


Laplacian, 2dsles/ex13f90.F

sles/ex16.c

Solves a linear system in parallel with SLES

Solves a variable Poisson problem with SLES

line

drawingDrawLine

widthDrawLineGetWidth

DrawLineSetWidth

line graph

accessing contextViewerDrawGetDrawAxis

ViewerDrawGetDrawLG

adding pointsDrawLGAddPoint

DrawLGAddPoints

creatingDrawLGCreate

restartingDrawLGReset

setting axisDrawLGSetLimits

setting number of linesDrawLGSetDimension

showing pointsDrawLGIndicateDataPoints

local size

of index setISGetLocalSize

local to global mappingsDemonstrates using ISLocalToGlobalMappings

loggingPLogBegin

PLogDump

detailedPLogAllBegin

eventsPLogEventBarrierBegin

PLogEventBarrierEnd

PLogEventBegin

PLogEventEnd

PLogEventRegister

message passingPLogMPEBegin

MPEPLogMPEBegin

stagesPLogStagePop

PLogStagePush

summaryPLogPrintSummary

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


machine namePetscGetHostName

machine typePetscGetArchType

mallocPetscSetMalloc

Mat

loading a binary matrix and vectormat/ex1.c

ordering a matrix - loading a binary matrix and vectormat/ex1.c

partitioning a matrixdm/ao/ex2.c

mathematical functionsDemonstrates various vector routines

Matlab

sending dataViewerSocketOpen

ViewerSocketPutInt

ViewerSocketPutReal

ViewerSocketPutScalar

Matrices

inserting elements by blockssles/ex3.c

matrix-free methodsUses Newton-like methods to solve u`` + u^{2} = f

memory

allocationPetscSetMalloc

comparingPetscBitMemcpy

copyingPetscMemcpy

copying with overlapPetscMemmove

zeroingPetscMemzero

memory bleedingPetscTrDump

memory usagePetscGetResidentSetSize

PetscShowMemoryUsage

PetscTrDump

PetscTrSpace

menuPetscPopUpSelect

message tag

gettingPetscCommGetNewTag

PetscObjectGetNewTag

MPI communicator

getting from objectPetscObjectGetComm

setting for PETScPetscSetCommWorld

MPI message tag

gettingPetscCommGetNewTag

PetscObjectGetNewTag

multicomponentSolves a nonlinear system in parallel with SNES

Solves nonlinear driven cavity with multigrid

multigridsnes/ex20.c

Solves nonlinear Radiative Transport PDE with multigrid

nonlinearsnes/ex16.c

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


nonlinear problemsts/ex1.c

ts/ex1f.F

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


object namePetscObjectGetName

settingPetscObjectSetName

setting defaultPetscObjectName

object typePetscObjectGetType

comparingPetscTypeCompare

objects

composingPetscObjectCompose

PetscObjectQuery

composing functionsPetscObjectComposeFunction

PetscObjectQueryFunction

queryingPetscObjectComposeFunction

PetscObjectQuery

PetscObjectQueryFunction

opening ASCII filePetscFOpen

options database

adding optionOptionsSetValue

array of doublesOptionsGetDoubleArray

array of intsOptionsGetIntArray

array of stringsOptionsGetStringArray

has doubleOptionsGetDouble

has intOptionsGetInt

has logicalOptionsGetLogical

has option nameOptionsHasName

has scalarOptionsGetScalar

listingOptionsGetAll

printingOptionsPrint

rejection optionOptionsReject

removing optionOptionsClearValue

stringOptionsGetString

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


package help messagePetscSetHelpVersionFunctions

paging

eliminating effects ofPreLoadBegin

path

fullPetscGetFullPath

realPetscGetRealPath

relativePetscGetRelativePath

searching for filePetscGetFileFromPath

pausePetscSleep

PC

registering preconditionersSolves a linear system in parallel with SLES

setting a user-defined shell preconditionersles/ex15f.F

sles/ex21f.F

Solves a linear system in parallel with SLES

permutationISPermutation

ISSetPermutation

inverseISInvertPermutation

PETSC_COMM_WORLD

settingPetscSetCommWorld

PLog

activating/deactivating events for profilingAugmenting PETSc profiling by add events

activating/deactivating events for profiling (basic example)sys/ex3f.F

preloading executablemat/ex1.c

profiling multiple stages of codesles/ex10.c

sles/ex9.c

Solves two linear systems in parallel with SLES

user-defined event profilingAugmenting PETSc profiling by add events

sles/ex9.c

user-defined event profiling (basic example)sys/ex3f.F

point

drawingDrawPoint

drawing sizeDrawPointSetSize

popupPetscPopUpSelect

postscript

graphicsDrawSetType

preloadingPreLoadBegin

printfViewerASCIIOpen

ViewerASCIIPrintf

in parallelPetscFPrintf

PetscPrintf

parallelSynchronized printing

synchronizedSynchronized printing

printingViewerASCIIOpen

error messagesPetscErrorPrintfDefault

help messagesPetscHelpPrintfDefault

in parallelIntroductory example that illustrates printing

PetscFPrintf

PetscPrintf

parallelSynchronized printing

synchronizedSynchronized printing

to fileViewerASCIIPrintf

to stringViewerStringSPrintf

profiling

activating/deactivating eventsAugmenting PETSc profiling by add events

user-defined eventAugmenting PETSc profiling by add events

pseudo-timesteppingts/ex1.c

ts/ex1f.F

publishing objectPetscObjectPublish

publishing variablesViewerAMSGetAMSComm

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


querying objectsPetscObjectComposeFunction

PetscObjectQuery

PetscObjectQueryFunction

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


random numbers

creatingPetscRandomCreate

gettingPetscRandomGetValue

rangePetscRandomSetInterval

real pathPetscGetRealPath

rectangleDrawRectangle

redrawing

flushingViewerFlush

registering

ViewersViewerRegisterDynamic

relative pathPetscGetRelativePath

remote fileViewerASCIIOpen

remote file, accessingViewerBinaryOpen

resident set sizePetscGetResidentSetSize

runtimePetscGetTime

runtime informationPLogInfo

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


scatter plot

adding pointsDrawSPAddPoint

DrawSPAddPoints

creatingDrawSPCreate

resettingDrawSPReset

setting axisDrawSPSetLimits

setting number of data typesDrawSPSetDimension

sequential stagePetscSequentialPhaseBegin

PetscSequentialPhaseEnd

shared memorySolves a nonlinear system in parallel with SNES

signal handler

defaultPetscDefaultSignalHandler

settingPetscPushSignalHandler

size

of index setISGetLocalSize

ISGetSize

sleepingPetscSleep

SLES

Additive Schwarz Method (ASM) with user-defined subdomainssles/ex8.c

basic parallel examplesles/ex15f.F

sles/ex21f.F

sles/ex2f.F

sles/ex3.c

Solves a linear system in parallel with SLES

Solves a tridiagonal linear system

basic sequential examplesles/ex13f90.F

Solves a variable Poisson problem with SLES

customizing the block Jacobi preconditionersles/ex7.c

different matrices for linear system and preconditionersles/ex4.c

sles/ex6f.F

Laplacian, 2dsles/ex13f90.F

sles/ex16.c

Solves a linear system in parallel with SLES

Solves a variable Poisson problem with SLES

repeatedly solving linear systemssles/ex16.c

sles/ex6f.F

sles/ex9.c

Solves two linear systems in parallel with SLES

setting a user-defined monitoring routinesles/ex2f.F

solving a Helmholtz equationsles/ex11f.F

Solves a linear system in parallel with SLES

solving a linear systemsles/ex10.c

solving a system of linear equationssles/ex1f.F

Solves a linear system in parallel with SLES

Solves a tridiagonal linear system with SLES

writing a user-defined nonlinear solversles/ex14f.F

writing a user-defined nonlinear solver (parallel Bratu example)sles/ex14.c

SNES

basic parallel exampleUses Newton-like methods to solve u'' + u^{2} = f in parallel

basic uniprocessor examplesnes/ex1f.F

Uses Newton's method to solve a two-variable system

Uses Newton-like methods to solve u'' + u^{2} = f

different matrices for the Jacobian and preconditionerUses Newton-like methods to solve u`` + u^{2} = f

matrix-free methodsUses Newton-like methods to solve u`` + u^{2} = f

parallel Bratu examplesnes/ex5f.F

snes/ex5f90.F

Solves a nonlinear system in parallel with SNES

Solves a simple nonlinear system in parallel with SNES

Solves nonlinear PDE system

parallel Bratu example in 3dSolves a nonlinear system in parallel with SNES

parallel multicomponent exampleSolves a nonlinear system in parallel with SNES

sequential Bratu examplesnes/ex4f.F

Solves a nonlinear system on 1 processor with SNES

setting a user-defined monitoring routineUses Newton-like methods to solve u'' + u^{2} = f

Uses Newton-like methods to solve u'' + u^{2} = f in parallel

solving a system of nonlinear equationsSolves nonlinear Radiative Transport PDE with multigrid

solving a system of nonlinear equations (parallel Bratu example)Solves a nonlinear system in parallel with SNES

solving a system of nonlinear equations (parallel example)snes/ex16.c

snes/ex20.c

solving a system of nonlinear equations (parallel multicomponent example)Solves nonlinear driven cavity with multigrid

user-provided preconditionerUses Newton-like methods to solve u`` + u^{2} = f

Sockets

sending dataViewerSocketOpen

ViewerSocketPutInt

ViewerSocketPutReal

ViewerSocketPutScalar

sockets

creating ViewerViewerCreate

sorting

doublesPetscSortDouble

doubles with permutationPetscSortDoubleWithPermutation

intsPetscSortInt

ints with arrayPetscSortIntWithArray

ints with permutationPetscSortIntWithPermutation

sorting index setISSort

stride

converting index setsISStrideToGeneral

creating a stride index setDemonstrates creating a stride index set

index setISCreateStride

string

drawingDrawString

drawing sizeDrawStringGetSize

DrawStringSetSize

drawing verticalDrawStringVertical

structured gridSolves a nonlinear system in parallel with SNES

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


tab

settingViewerASCIIPopTab

ViewerASCIIPushTab

ViewerASCIIUseTabs

tag

gettingPetscCommGetNewTag

PetscObjectGetNewTag

timePetscGetTime

timing

accuratePreLoadBegin

traceback

generatingPetscTraceBackErrorHandler

triangleDrawTriangle

TS

diffusion equationSolves a simple time-dependent linear PDE (the heat equation)

heat equationSolves a simple time-dependent linear PDE (the heat equation)

pseudo-timesteppingts/ex1.c

ts/ex1f.F

time-dependent linear problemsSolves a simple time-dependent linear PDE (the heat equation)

time-dependent nonlinear problemsSolves a time-dependent nonlinear PDE

ts/ex2f.F

types

comparingPetscTypeCompare

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


user namePetscGetUserName

user selectionPetscPopUpSelect

user-provided preconditionerUses Newton-like methods to solve u`` + u^{2} = f

Using vector arraysvec/ex4f.F

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


Vec

loading a binary vectormat/ex1.c

vectors

arraysvec/ex4f90.F

assembling vectorsDemonstrates use of VecCreateGhost()

Tests PetscObjectPublish()

vec/ex14f.F

vec/ex2.c

vec/ex4f90.F

vec/ex9f.F

assembling vectors with local orderingvec/ex8.c

basic routinesBasic vector routines

Demonstrates the AMS Memory Snooper viewing

Demonstrates various vector routines

drawing vectorsParallel vector layout

vec/ex3f.F

local access toParallel vector layout

norms of sub-vectorsDemonstrates VecStrideNorm()

vec/ex11f.F

setting valuesParallel vector layout

sub-vectorsDemonstrates VecStrideScatter() and VecStrideGather()

using basic vector routinesvec/ex1f90.F

Vectors

assembling vectorsvec/ex2f.F

Assembling vectorsvec/ex4f.F

using basic vector routinesvec/ex1f.F

Viewer

array ofViewersCreate

ViewersGetViewer

file pointerViewerASCIIGetPointer

sequential versionViewerGetSingleton

setting formatViewerPopFormat

ViewerPushFormat

ViewerSetFormat

setting optionsViewerSetFromOptions

ViewerASCII

creatingViewerASCIIOpen

formatingViewerASCIIPopTab

ViewerASCIIPushTab

ViewerASCIIUseTabs

printingViewerASCIIPrintf

ViewerBinary

accessing file descriptorViewerBinaryGetDescriptor

accessing info fileViewerBinaryGetInfoPointer

creatingViewerBinaryOpen

ViewerString

creatingViewerStringOpen

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


waitingPetscSleep

waiting for user inputDrawGetPause

DrawPause

working directoryPetscGetWorkingDirectory

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


X windows

drawing toDrawOpenX

graphicsDrawSetType

| A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | V | W | X | Z |


zeroing

memoryPetscMemzero

zooming

in graphicsDrawZoom