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 PetscRandomType
PETSC_FALSE PetscMalloc PetscRandomView
PETSC_IGNORE PetscMax PetscReal
PETSC_NO PetscMin PetscScalar
PETSC_NULL PetscNew PetscSqr
PETSC_TRUE PetscObject PetscTruth
PETSC_YES PetscObjectDestroy PetscViewerMatlabOpen
PassiveReal PetscObjectSetFromOptions SCATTER_FORWARD
PassiveScalar PetscOptionsEnum SCATTER_REVERSE
PetscAbsInt PetscOptionsGetEnum SETERRQ
PetscAbsReal PetscOptionsGetInt SETERRQ1
PetscBag PetscOptionsGetIntArray SETERRQ2
PetscBagDestroy PetscOptionsGetReal SETERRQ3
PetscBagLoad PetscOptionsGetRealArray ScatterMode
PetscBagRegisterEnum PetscOptionsGetScalar comm
PetscBagRegisterInt PetscOptionsGetString rank
PetscBagRegisterReal PetscOptionsGetStringArray size
PetscBagRegisterScalar PetscOptionsGetTruth
Intermediate - Setting options for algorithms and data structures
PETSC_VIEWER_MATLAB PetscObjectView PetscScalarView
PETSC_VIEWER_MATLAB_ PetscOptionsBegin PetscSequentialPhaseBegin
PetscBLASInt PetscOptionsClearValue PetscSequentialPhaseEnd
PetscBagCreate PetscOptionsEList PetscSleep
PetscBagGetData PetscOptionsEnd PetscSortInt
PetscBagGetName PetscOptionsGetEList PetscSortIntWithArray
PetscBagSetName PetscOptionsHead PetscSortIntWithPermutation
PetscBarrier PetscOptionsInsertFile PetscSortIntWithScalarArray
PetscBitMemcpy PetscOptionsInsertString PetscSortReal
PetscEnum PetscOptionsList PetscSortRealWithPermutation
PetscError PetscOptionsMonitorCancel PetscSortStrWithPermutation
PetscErrorCxx 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
Advanced - Setting more advanced options and customization
PetscAttachDebugger PetscFixFilename PetscObjectReference
PetscBT PetscGetProgramName PetscObjectSetName
PetscBinaryClose PetscInitializeNoArguments PetscObjectSetState
PetscBinaryOpen PetscMallocDumpLog PetscObjectSetType
PetscBinarySeekType PetscMallocSetDumpLog PetscObjectSetUp
PetscBinaryWrite PetscMallocValidate PetscObjectStateQuery
PetscContainer PetscMatlabEngineCreate PetscOptionsAllUsed
PetscContainerCreate PetscMatlabEngineDestroy PetscOptionsGetAll
PetscContainerDestroy PetscMatlabEngineEvaluate PetscOptionsGetenv
PetscContainerGetPointer PetscMatlabEngineGet PetscOptionsInsert
PetscContainerSetPointer PetscMatlabEngineGetArray PetscOptionsLeft
PetscContainerSetUserDestroy PetscMatlabEngineGetOutput PetscOptionsPrint
PetscCookie PetscMatlabEnginePrintOutput PetscOptionsReject
PetscDLLibrary PetscMatlabEnginePut PetscRandomRegister
PetscDataTypeGetSize PetscMatlabEnginePutArray PetscRandomRegisterAll
PetscDataTypeToMPIDataType PetscOList PetscRandomRegisterDestroy
PetscDefaultSignalHandler PetscObjectCompose PetscRandomRegisterDynamic
PetscEnd PetscObjectComposeFunctionDynamic PetscSetDebuggerFromString
PetscErrorIsCatchable PetscObjectDereference PetscSetDefaultDebugger
PetscErrorSetCatchable PetscObjectGetComm PetscSetFPTrap
PetscExceptionCaught PetscObjectGetReference PetscStopForDebugger
PetscExceptionPop PetscObjectGetType PetscSubcomm
PetscExceptionPush PetscObjectName PetscSubcommCreate
PetscExceptionTry1 PetscObjectPublish PetscViewerMatlabGetArray
PetscExceptionTrySyncNorm PetscObjectQuery PetscViewerMatlabPutArray
PetscFList PetscObjectQueryFunction
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
PETSC_MATLAB_ENGINE_ PetscFunctionBegin PetscObjectComposedDataSetRealstar
PETSC_MATLAB_ENGINE_SELF PetscFunctionReturn PetscObjectComposedDataSetScalarstar
PETSC_MATLAB_ENGINE_WORLD PetscGatherMessageLengths PetscObjectCreate
PetscAbortErrorHandler PetscGatherMessageLengths2 PetscObjectCreateGeneric
PetscAttachDebuggerErrorHandler PetscGatherNumberOfMessages PetscObjectExists
PetscBinaryRead PetscGetArchType PetscObjectGetCookie
PetscBinarySeek PetscGetFileFromPath PetscObjectGetNewTag
PetscBinarySynchronizedRead PetscGetFullPath PetscObjectRegisterDestroy
PetscBinarySynchronizedSeek PetscGetHomeDirectory PetscObjectRegisterDestroyAll
PetscBinarySynchronizedWrite PetscGetHostName PetscObjectSetScalarComposedData
PetscCommDestroy PetscGetPetscDir PetscObjectStateDecrease
PetscCommDuplicate PetscGetRealPath PetscObjectStateIncrease
PetscCommGetNewTag PetscGetRelativePath PetscOpenMPFinalize
PetscDLLibraryAppend PetscGetTmp PetscOpenMPFree
PetscDLLibraryCCAAppend PetscGetUserName PetscOpenMPHandle
PetscDLLibraryClose PetscGetVersion PetscOpenMPMerge
PetscDLLibraryOpen PetscGetWorkingDirectory PetscOpenMPNew
PetscDLLibraryPrepend PetscHeaderCreate PetscOpenMPRun
PetscDLLibraryRetrieve PetscHeaderDestroy PetscOpenMPSpawn
PetscDLLibrarySym PetscHelpPrintf PetscOptionsDestroy
PetscEmacsClientErrorHandler PetscIgnoreErrorHandler PetscPolymorphicFunction
PetscErrorMessage PetscMPIAbortErrorHandler PetscPolymorphicScalar
PetscErrorPrintf PetscMPIDump PetscPolymorphicSubroutine
PetscExceptionValue PetscMalloc2 PetscPopSignalHandler
PetscFClose PetscMalloc3 PetscPopUpSelect
PetscFListAddDynamic PetscMalloc4 PetscPushSignalHandler
PetscFListDestroy PetscMalloc5 PetscRandomInitializePackage
PetscFListDuplicate PetscMalloc6 PetscRegisterFinalize
PetscFListFind PetscMalloc7 PetscRegisterFinalizeAll
PetscFListGet PetscMallocClear PetscReturnErrorHandler
PetscFListPrintTypes PetscMallocSet PetscSSEIsEnabled
PetscFListView PetscObjectComposedDataGetInt PetscSetDebugger
PetscFOpen PetscObjectComposedDataGetIntstar PetscSetHelpVersionFunctions
PetscFileRetrieve PetscObjectComposedDataGetReal PetscSharedTmp
PetscFinalized PetscObjectComposedDataGetRealstar PetscSharedWorkingDirectory
PetscFree2 PetscObjectComposedDataGetScalar PetscSplitOwnership
PetscFree3 PetscObjectComposedDataGetScalarstar PetscSplitOwnershipBlock
PetscFree4 PetscObjectComposedDataRegister PetscTraceBackErrorHandler
PetscFree5 PetscObjectComposedDataSetInt PetscTraceBackErrorHandlerCxx
PetscFree6 PetscObjectComposedDataSetIntstar SCATTER_FORWARD_LOCAL
PetscFree7 PetscObjectComposedDataSetReal SCATTER_REVERSE_LOCAL
No deprecated routines

Table of Contents