PETSc System routines

PETSc provides a variety of "system" level routines, including parallel file access, synchronized printing to screen.

Beginner - Basic usage
ADD_VALUES PetscBagRegisterString PetscOptionsHasName
CHKERRQ PetscBagRegisterTruth PetscOptionsInt
CHKMEMQ PetscBagSetFromOptions PetscOptionsIntArray
INSERT_VALUES PetscBagView PetscOptionsMonitorSet
InsertMode PetscDataType PetscOptionsName
MAX_VALUES PetscErrorCode PetscOptionsReal
MPIU_SCALAR PetscFileMode PetscOptionsRealArray
MPI_Comm PetscFinalize PetscOptionsScalar
PETSC_COMM_SELF PetscFree PetscOptionsString
PETSC_COMM_WORLD PetscFreeVoid PetscOptionsStringArray
PETSC_DECIDE PetscGetDate PetscOptionsTruth
PETSC_DEFAULT PetscInitialize PetscRandomSetFromOptions
PETSC_DETERMINE PetscInitialized PetscRandomView
PETSC_FALSE PetscMalloc PetscReal
PETSC_IGNORE PetscMax PetscScalar
PETSC_NO PetscMin PetscSqr
PETSC_NULL PetscNew PetscTruth
PETSC_TRUE PetscObject PetscViewerMatlabOpen
PETSC_YES PetscObjectDestroy SCATTER_FORWARD
PassiveReal PetscObjectSetFromOptions SCATTER_REVERSE
PassiveScalar PetscOptionsEnum SETERRQ
PetscAbsInt PetscOptionsGetEnum SETERRQ1
PetscAbsReal PetscOptionsGetInt SETERRQ2
PetscBag PetscOptionsGetIntArray SETERRQ3
PetscBagDestroy PetscOptionsGetReal ScatterMode
PetscBagLoad PetscOptionsGetRealArray comm
PetscBagRegisterEnum PetscOptionsGetScalar rank
PetscBagRegisterInt PetscOptionsGetString size
PetscBagRegisterReal PetscOptionsGetStringArray
PetscBagRegisterScalar PetscOptionsGetTruth
Intermediate - Setting options for algorithms and data structures
PETSC_VIEWER_MATLAB PetscOptionsBegin PetscSequentialPhaseBegin
PETSC_VIEWER_MATLAB_ PetscOptionsClearValue PetscSequentialPhaseEnd
PetscBLASInt PetscOptionsEList PetscSleep
PetscBagCreate PetscOptionsEnd PetscSortInt
PetscBagGetData PetscOptionsGetEList PetscSortIntWithArray
PetscBagGetName PetscOptionsHead PetscSortIntWithPermutation
PetscBagSetName PetscOptionsInsertFile PetscSortIntWithScalarArray
PetscBarrier PetscOptionsInsertString PetscSortReal
PetscBitMemcpy PetscOptionsList PetscSortRealWithPermutation
PetscEnum PetscOptionsMonitorCancel PetscSortStrWithPermutation
PetscError PetscOptionsMonitorDefault PetscStartMatlab
PetscEvent PetscOptionsSetFromOptions PetscStrallocpy
PetscFPrintf PetscOptionsSetValue PetscStrcasecmp
PetscFreeArguments PetscOptionsTail PetscStrcat
PetscGetArgs PetscOptionsTruthGroup PetscStrchr
PetscGetArguments PetscOptionsTruthGroupBegin PetscStrcmp
PetscGetCPUTime PetscOptionsTruthGroupEnd PetscStrcpy
PetscGetTime PetscPClose PetscStrfree
PetscGlobalMax PetscPOpen PetscStrgrt
PetscGlobalMin PetscPopErrorHandler PetscStrlen
PetscGlobalSum PetscPrintf PetscStrncat
PetscInt PetscPushErrorHandler PetscStrncmp
PetscIntView PetscRandom PetscStrncpy
PetscMPIInt PetscRandomCreate PetscStrrchr
PetscMallocDebug PetscRandomDestroy PetscStrreplace
PetscMallocDump PetscRandomGetInterval PetscStrrstr
PetscMallocGetCurrentUsage PetscRandomGetSeed PetscStrstr
PetscMallocGetMaximumUsage PetscRandomGetType PetscStrtolower
PetscMatlabEngine PetscRandomGetValue PetscSynchronizedFGets
PetscMemcmp PetscRandomGetValueImaginary PetscSynchronizedFPrintf
PetscMemcpy PetscRandomGetValueReal PetscSynchronizedFlush
PetscMemmove PetscRandomSeed PetscSynchronizedPrintf
PetscMemoryGetCurrentUsage PetscRandomSetInterval PetscToken
PetscMemoryGetMaximumUsage PetscRandomSetSeed PetscTokenCreate
PetscMemorySetGetMaximumUsage PetscRandomSetType PetscTokenDestroy
PetscMemoryShowUsage PetscRandomViewFromOptions PetscTokenFind
PetscMemzero PetscRealView PetscTypeCompare
PetscObjectGetName PetscSNPrintf
PetscObjectView PetscScalarView
Advanced - Setting more advanced options and customization
PetscAttachDebugger PetscFixFilename PetscObjectQueryFunction
PetscBT PetscGetProgramName PetscObjectReference
PetscBinaryClose PetscInitializeNoArguments PetscObjectSetName
PetscBinaryOpen PetscMallocDumpLog PetscObjectSetState
PetscBinarySeekType PetscMallocSetDumpLog PetscObjectSetType
PetscBinaryWrite PetscMallocValidate PetscObjectSetUp
PetscContainer PetscMatlabEngineCreate PetscObjectStateQuery
PetscContainerCreate PetscMatlabEngineDestroy PetscOptionsAllUsed
PetscContainerDestroy PetscMatlabEngineEvaluate PetscOptionsGetAll
PetscContainerGetPointer PetscMatlabEngineGet PetscOptionsGetenv
PetscContainerSetPointer PetscMatlabEngineGetArray PetscOptionsInsert
PetscContainerSetUserDestroy PetscMatlabEngineGetOutput PetscOptionsLeft
PetscCookie PetscMatlabEnginePrintOutput PetscOptionsPrint
PetscDLLibraryList PetscMatlabEnginePut PetscOptionsReject
PetscDataTypeGetSize PetscMatlabEnginePutArray PetscRandomRegister
PetscDataTypeToMPIDataType PetscOList PetscRandomRegisterAll
PetscDefaultSignalHandler PetscObjectCompose PetscRandomRegisterDestroy
PetscEnd PetscObjectComposeFunctionDynamic PetscRandomRegisterDynamic
PetscErrorIsCatchable PetscObjectDereference PetscSetDebuggerFromString
PetscErrorSetCatchable PetscObjectGetComm PetscSetDefaultDebugger
PetscExceptionCaught PetscObjectGetReference PetscSetFPTrap
PetscExceptionPop PetscObjectGetType PetscStopForDebugger
PetscExceptionPush PetscObjectName PetscViewerMatlabGetArray
PetscExceptionTry1 PetscObjectPublish PetscViewerMatlabPutArray
PetscFList PetscObjectQuery
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
PETSC_MATLAB_ENGINE_ PetscFree7 PetscObjectCreateGeneric
PETSC_MATLAB_ENGINE_SELF PetscFunctionBegin PetscObjectExists
PETSC_MATLAB_ENGINE_WORLD PetscFunctionReturn PetscObjectGetCookie
PetscAbortErrorHandler PetscGatherMessageLengths PetscObjectGetNewTag
PetscAttachDebuggerErrorHandler PetscGatherMessageLengths2 PetscObjectRegisterDestroy
PetscBinaryRead PetscGatherNumberOfMessages PetscObjectRegisterDestroyAll
PetscBinarySeek PetscGetArchType PetscObjectSetScalarComposedData
PetscClearMalloc PetscGetFileFromPath PetscObjectStateDecrease
PetscCommCheckTags PetscGetFullPath PetscObjectStateIncrease
PetscCommDestroy PetscGetHomeDirectory PetscOpenMPFinalizes
PetscCommDuplicate PetscGetHostName PetscOpenMPFree
PetscCommGetNewTag PetscGetPetscDir PetscOpenMPHandle
PetscCommSynchronizeTags PetscGetRealPath PetscOpenMPMerge
PetscDLLibraryAppend PetscGetRelativePath PetscOpenMPNew
PetscDLLibraryCCAAppend PetscGetTmp PetscOpenMPRun
PetscDLLibraryClose PetscGetUserName PetscOpenMPSpawn
PetscDLLibraryOpen PetscGetVersion PetscOptionsDestroy
PetscDLLibraryPrepend PetscGetWorkingDirectory PetscPolymorphicFunction
PetscDLLibraryRetrieve PetscHelpPrintf PetscPolymorphicScalar
PetscDLLibrarySym PetscIgnoreErrorHandler PetscPolymorphicSubroutine
PetscEmacsClientErrorHandler PetscMPIDump PetscPopSignalHandler
PetscErrorMessage PetscMalloc2 PetscPopUpSelect
PetscErrorPrintf PetscMalloc3 PetscPushSignalHandler
PetscExceptionValue PetscMalloc4 PetscRandomInitializePackage
PetscFClose PetscMalloc5 PetscReturnErrorHandler
PetscFListAddDynamic PetscMalloc6 PetscSSEIsEnabled
PetscFListDestroy PetscMalloc7 PetscSetDebugger
PetscFListDuplicate PetscObjectComposedDataGetInt PetscSetHelpVersionFunctions
PetscFListFind PetscObjectComposedDataGetIntstar PetscSetMalloc
PetscFListGet PetscObjectComposedDataGetReal PetscSharedTmp
PetscFListPrintTypes PetscObjectComposedDataGetRealstar PetscSharedWorkingDirectory
PetscFListView PetscObjectComposedDataGetScalar PetscSplitOwnership
PetscFOpen PetscObjectComposedDataGetScalarstar PetscSplitOwnershipBlock
PetscFileRetrieve PetscObjectComposedDataRegister PetscStopErrorHandler
PetscFinalized PetscObjectComposedDataSetInt PetscSynchronizedBinaryRead
PetscFree2 PetscObjectComposedDataSetIntstar PetscSynchronizedBinarySeek
PetscFree3 PetscObjectComposedDataSetReal PetscSynchronizedBinaryWrite
PetscFree4 PetscObjectComposedDataSetRealstar PetscTraceBackErrorHandler
PetscFree5 PetscObjectComposedDataSetScalarstar SCATTER_FORWARD_LOCAL
PetscFree6 PetscObjectCreate SCATTER_REVERSE_LOCAL
No deprecated routines

Table of Contents