petsc-master 2020-11-25
Report Typos and Errors

PETSc System routines

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

Beginner - Basic usage
ADD_VALUES PetscCalloc1 PetscOptionsGetInt
CHKERRQ PetscClipInterval PetscOptionsGetIntArray
CHKERRXX PetscComplex PetscOptionsGetReal
CHKMEMQ PetscCopyMode PetscOptionsGetRealArray
INSERT_VALUES PetscDataType PetscOptionsGetScalar
InsertMode PetscErrorCode PetscOptionsGetScalarArray
MAX_VALUES PetscFileMode PetscOptionsGetString
MIN_VALUES PetscFinalize PetscOptionsGetStringArray
MPIU_COMPLEX PetscFortranAddr PetscOptionsHasName
MPIU_INT PetscFree PetscOptionsInt
MPIU_REAL PetscGetDate PetscOptionsIntArray
MPIU_SCALAR PetscGlobalMinMaxInt PetscOptionsName
MPI_Comm PetscGlobalMinMaxReal PetscOptionsRangeInt
PETSC_COMM_SELF PetscHIPInitialize PetscOptionsReal
PETSC_COMM_WORLD PetscHIPInitializeCheck PetscOptionsRealArray
PETSC_DECIDE PetscImaginaryPart PetscOptionsScalar
PETSC_DEFAULT PetscInitialize PetscOptionsScalarArray
PETSC_DETERMINE PetscInitializeFortran PetscOptionsString
PETSC_FALSE PetscInitialized PetscOptionsStringArray
PETSC_IGNORE PetscInt PetscOptionsViewer
PETSC_MPI_THREAD_REQUIRED PetscIsCloseAtTol PetscRandomSetFromOptions
PETSC_TRUE PetscIsInfReal PetscRandomType
PETSC_i PetscIsNanReal PetscRandomView
PetscAbs PetscIsNormalReal PetscReal
PetscAbsInt PetscMalloc PetscRealPart
PetscAbsReal PetscMalloc1 PetscScalar
PetscBag PetscMax PetscSign
PetscBagDestroy PetscMemType PetscSqr
PetscBagLoad PetscMin PetscSubcommSetFromOptions
PetscBagRegisterBool PetscNew PetscSubcommView
PetscBagRegisterBoolArray PetscNot SETERRABORT
PetscBagRegisterEnum PetscObject SETERRQ
PetscBagRegisterInt PetscObjectDestroy SETERRQ1
PetscBagRegisterInt64 PetscObjectSetFromOptions SETERRQ2
PetscBagRegisterIntArray PetscOffset SETERRQ3
PetscBagRegisterReal PetscOptionsBool SETERRQ4
PetscBagRegisterRealArray PetscOptionsBoolArray SETERRQ5
PetscBagRegisterScalar PetscOptionsBoundedInt SETERRQ6
PetscBagRegisterString PetscOptionsEnum SETERRQ7
PetscBagSetFromOptions PetscOptionsEnumArray SETERRQ8
PetscBagView PetscOptionsGetBool SETERRQ9
PetscBool PetscOptionsGetBoolArray UsingFortran
PetscCUDAInitialize PetscOptionsGetEnum
PetscCUDAInitializeCheck PetscOptionsGetEnumArray
Intermediate - Setting options for algorithms and data structures
PETSC_VERSION PetscMergeMPIIntArray PetscSortMPIInt
PetscArraycmp PetscObjectBaseTypeCompare PetscSortMPIIntWithArray
PetscArraycpy PetscObjectBaseTypeCompareAny PetscSortMPIIntWithIntArray
PetscArraymove PetscObjectGetName PetscSortReal
PetscArrayzero PetscObjectOptionsBegin PetscSortRealWithArrayInt
PetscBLASInt PetscObjectTypeCompare PetscSortRealWithPermutation
PetscBagCreate PetscObjectTypeCompareAny PetscSortRemoveDupsInt
PetscBagGetData PetscObjectView PetscSortRemoveDupsMPIInt
PetscBagGetName PetscObjectViewFromOptions PetscSortRemoveDupsReal
PetscBagGetNames PetscOptionsBegin PetscSortReverseInt
PetscBagSetName PetscOptionsBoolGroup PetscSortSplit
PetscBagSetOptionsPrefix PetscOptionsBoolGroupBegin PetscSortSplitReal
PetscBagViewFromOptions PetscOptionsBoolGroupEnd PetscSortStrWithPermutation
PetscBarrier PetscOptionsClearValue PetscSortedInt
PetscBoxAuthorize PetscOptionsEList PetscSortedMPIInt
PetscBoxRefresh PetscOptionsEnd PetscSortedReal
PetscBoxUpload PetscOptionsFList PetscSortedRemoveDupsInt
PetscCheckDupsInt PetscOptionsGetEList PetscStartMatlab
PetscCitationsRegister PetscOptionsHead PetscStrArrayDestroy
PetscEnum PetscOptionsInsertFileYAML PetscStrArrayallocpy
PetscError PetscOptionsInsertString PetscStrInList
PetscFPrintf PetscOptionsInsertStringYAML PetscStrNArrayDestroy
PetscFileRetrieve PetscOptionsMonitorDefault PetscStrNArrayallocpy
PetscFindInt PetscOptionsMonitorSet PetscStrToArray
PetscFindMPIInt PetscOptionsSetValue PetscStrToArrayDestroy
PetscFindReal PetscOptionsTail PetscStrallocpy
PetscFreeArguments PetscOptionsValidKey PetscStrbeginswith
PetscFunctionBeginUser PetscPClose PetscStrcasecmp
PetscGetArgs PetscPOpen PetscStrcat
PetscGetArguments PetscPOpenSetMachine PetscStrchr
PetscGetCPUTime PetscPopErrorHandler PetscStrcmp
PetscGlobusAuthorize PetscPrintf PetscStrcpy
PetscGlobusGetTransfers PetscProcessPlacementView PetscStrendswith
PetscGlobusUpload PetscPushErrorHandler PetscStrendswithwhich
PetscGoogleDriveAuthorize PetscRandom PetscStrgrt
PetscGoogleDriveRefresh PetscRandomCreate PetscStrlcat
PetscGoogleDriveUpload PetscRandomDestroy PetscStrlen
PetscHeap PetscRandomGetInterval PetscStrncmp
PetscIntSortSemiOrdered PetscRandomGetSeed PetscStrncpy
PetscIntSortSemiOrderedWithArray PetscRandomGetType PetscStrrchr
PetscIntView PetscRandomGetValue PetscStrreplace
PetscLinearRegression PetscRandomGetValueReal PetscStrrstr
PetscLs PetscRandomSeed PetscStrstr
PetscMPIInt PetscRandomSetInterval PetscStrtolower
PetscMPIIntSortSemiOrdered PetscRandomSetSeed PetscStrtoupper
PetscMPIIntSortSemiOrderedWithArray PetscRandomSetType PetscSubcommGetChild
PetscMallocDump PetscRandomViewFromOptions PetscSubcommGetContiguousParent
PetscMallocGetCurrentUsage PetscRealSortSemiOrdered PetscSubcommGetParent
PetscMallocGetDebug PetscRealSortSemiOrderedWithArrayInt PetscSubcommSetOptionsPrefix
PetscMallocGetMaximumUsage PetscRealView PetscSynchronizedFGets
PetscMallocGetStack PetscSNPrintf PetscSynchronizedFPrintf
PetscMatlabEngine PetscSNPrintfCount PetscSynchronizedFlush
PetscMemcmp PetscScalarView PetscSynchronizedPrintf
PetscMemcpy PetscSequentialPhaseBegin PetscTellMyCell
PetscMemmove PetscSequentialPhaseEnd PetscTestDirectory
PetscMemoryGetCurrentUsage PetscSleep PetscTestFile
PetscMemoryGetMaximumUsage PetscSortInt PetscTextBelt
PetscMemorySetGetMaximumUsage PetscSortIntWithArray PetscToken
PetscMemoryView PetscSortIntWithArrayPair PetscTokenCreate
PetscMemzero PetscSortIntWithDataArray PetscTokenDestroy
PetscMergeIntArray PetscSortIntWithPermutation PetscTokenFind
PetscMergeIntArrayPair PetscSortIntWithScalarArray PetscURLShorten
Advanced - Setting more advanced options and customization
PETSCABORT PetscMPIIntCast PetscObjectsDump
PetscAttachDebugger PetscMallocTraceGet PetscObjectsGetObject
PetscBLASIntCast PetscMallocTraceSet PetscObjectsView
PetscBT PetscMallocValidate PetscOptionsAllUsed
PetscBinaryClose PetscMallocView PetscOptionsCreate
PetscBinaryOpen PetscMallocViewGet PetscOptionsDestroy
PetscBinarySeekType PetscMallocViewSet PetscOptionsGetAll
PetscBinaryWrite PetscMatlabEngineCreate PetscOptionsGetenv
PetscCheckPointerSetIntensity PetscMatlabEngineDestroy PetscOptionsHasHelp
PetscContainer PetscMatlabEngineEvaluate PetscOptionsInsert
PetscContainerCreate PetscMatlabEngineGet PetscOptionsLeft
PetscContainerDestroy PetscMatlabEngineGetArray PetscOptionsLeftGet
PetscContainerGetPointer PetscMatlabEngineGetOutput PetscOptionsLeftRestore
PetscContainerSetPointer PetscMatlabEnginePrintOutput PetscOptionsPop
PetscContainerSetUserDestroy PetscMatlabEnginePut PetscOptionsPrefixPop
PetscContainerUserDestroyDefault PetscMatlabEnginePutArray PetscOptionsPrefixPush
PetscDLLibrary PetscObjectAppendOptionsPrefix PetscOptionsPush
PetscDataTypeFromString PetscObjectComm PetscOptionsReject
PetscDataTypeGetSize PetscObjectCompose PetscOptionsSetAlias
PetscDataTypeToMPIDataType PetscObjectComposeFunction PetscOptionsUsed
PetscDetermineInitialFPTrap PetscObjectDereference PetscOptionsView
PetscEListFind PetscObjectGetComm PetscPullJSONValue
PetscEnd PetscObjectGetOptions PetscPushJSONValue
PetscEnumFind PetscObjectGetOptionsPrefix PetscRandomRegister
PetscErrorType PetscObjectGetReference PetscRandomRegisterAll
PetscFPTrapPop PetscObjectGetType PetscRealIntMultTruncate
PetscFPTrapPush PetscObjectPrependOptionsPrefix PetscSAWsBlock
PetscFixFilename PetscObjectQuery PetscSSLDestroyContext
PetscFunctionList PetscObjectQueryFunction PetscSSLInitializeContext
PetscGetProgramName PetscObjectReference PetscSetFPTrap
PetscHTTPRequest PetscObjectSAWsBlock PetscSignalHandlerDefault
PetscHTTPSConnect PetscObjectSAWsGrantAccess PetscSubcomm
PetscHTTPSRequest PetscObjectSAWsSetBlock PetscSubcommCreate
PetscInitializeNoArguments PetscObjectSAWsTakeAccess PetscSubcommDestroy
PetscIntCast PetscObjectSetName PetscSubcommSetNumber
PetscIntMultError PetscObjectSetOptions PetscSubcommSetType
PetscIntMultTruncate PetscObjectSetOptionsPrefix PetscSubcommSetTypeGeneral
PetscIntSumError PetscObjectSetType PetscUnlikely
PetscIntSumTruncate PetscObjectSetUp PetscUnlikelyDebug
PetscLikely PetscObjectStateGet PetscWaitOnError
PetscMPIDataTypeToPetscDataType PetscObjectStateSet
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
CHKERRMPI PetscGetTmp PetscObjectDestroyOptionsHandlers
Converts PetscGetUserName PetscObjectGetClassId
KSPCheckDot PetscGetVersion PetscObjectGetClassName
KSPCheckNorm PetscGetVersionNumber PetscObjectGetFortranCallback
MPIU_Allreduce PetscGetWorkingDirectory PetscObjectGetId
PETSC_HASH_MAP PetscHMapT PetscObjectGetNewTag
PETSC_HASH_SET PetscHMapTClear PetscObjectGetTabLevel
PETSC_MATLAB_ENGINE_ PetscHMapTCreate PetscObjectId
PETSC_MATLAB_ENGINE_SELF PetscHMapTDel PetscObjectIncrementTabLevel
PETSC_MATLAB_ENGINE_WORLD PetscHMapTDestroy PetscObjectInheritPrintedOptions
PetscAbortErrorHandler PetscHMapTDuplicate PetscObjectList
PetscAddrAlign PetscHMapTFind PetscObjectListAdd
PetscAttachDebuggerErrorHandler PetscHMapTGet PetscObjectListDestroy
PetscBinaryRead PetscHMapTGetCapacity PetscObjectListDuplicate
PetscBinarySeek PetscHMapTGetKeys PetscObjectListFind
PetscBinarySynchronizedRead PetscHMapTGetPairs PetscObjectListRemoveReference
PetscBinarySynchronizedSeek PetscHMapTGetSize PetscObjectListReverseFind
PetscBinarySynchronizedWrite PetscHMapTGetVals PetscObjectName
PetscBuildTwoSidedType PetscHMapTHas PetscObjectPrintClassNamePrefixType
PetscCalloc2 PetscHMapTIterDel PetscObjectProcessOptionsHandlers
PetscCalloc3 PetscHMapTIterGet PetscObjectRegisterDestroy
PetscCalloc4 PetscHMapTIterSet PetscObjectRegisterDestroyAll
PetscCalloc5 PetscHMapTPut PetscObjectSetFortranCallback
PetscCalloc6 PetscHMapTQueryDel PetscObjectSetPrintedOptions
PetscCalloc7 PetscHMapTQuerySet PetscObjectSetTabLevel
PetscCheckPointer PetscHMapTReset PetscObjectState
PetscClassId PetscHMapTResize PetscObjectStateIncrease
PetscCommBuildTwoSided PetscHMapTSet PetscObjectsListGetGlobalNumbering
PetscCommBuildTwoSidedF PetscHSetT PetscOmpCtrlBarrier
PetscCommBuildTwoSidedFReq PetscHSetTAdd PetscOmpCtrlCreate
PetscCommBuildTwoSidedGetType PetscHSetTClear PetscOmpCtrlDestroy
PetscCommBuildTwoSidedSetType PetscHSetTCreate PetscOmpCtrlGetOmpComms
PetscCommDestroy PetscHSetTDel PetscOmpCtrlOmpRegionOnMasterBegin
PetscCommDuplicate PetscHSetTDestroy PetscOmpCtrlOmpRegionOnMasterEnd
PetscCommGetNewTag PetscHSetTDuplicate PetscOptionsClear
PetscDLClose PetscHSetTGetCapacity PetscOptionsDeprecated
PetscDLLibraryAppend PetscHSetTGetElems PetscOptionsFindPair
PetscDLLibraryClose PetscHSetTGetSize PetscOptionsInsertFile
PetscDLLibraryOpen PetscHSetTHas PetscParallelSortedInt
PetscDLLibraryPrepend PetscHSetTQueryAdd PetscPopSignalHandler
PetscDLLibraryRetrieve PetscHSetTQueryDel PetscPrefetchBlock
PetscDLLibrarySym PetscHSetTReset PetscProcessTree
PetscDLOpen PetscHSetTResize PetscPushSignalHandler
PetscDLSym PetscHSetTUpdate PetscRandomFinalizePackage
PetscDefined PetscHeaderCreate PetscRandomInitializePackage
PetscElementalFinalizePackage PetscHeaderDestroy PetscRealloc
PetscElementalInitializePackage PetscHelpPrintf PetscRegisterFinalize
PetscElementalInitialized PetscIgnoreErrorHandler PetscRegisterFinalizeAll
PetscEmacsClientErrorHandler PetscLogDouble PetscReturnErrorHandler
PetscEqualReal PetscMPIAbortErrorHandler PetscSSEIsEnabled
PetscEqualScalar PetscMPIDump PetscSegBuffer
PetscErrorMessage PetscMalloc2 PetscSegBufferCreate
PetscErrorPrintf PetscMalloc3 PetscSegBufferDestroy
PetscFClose PetscMalloc4 PetscSegBufferExtractAlloc
PetscFOpen PetscMalloc5 PetscSegBufferExtractInPlace
PetscFinalized PetscMalloc6 PetscSegBufferExtractTo
PetscFormatConvert PetscMalloc7 PetscSegBufferGet
PetscFormatConvertGetSize PetscMallocA PetscSegBufferGetSize
PetscFormatStrip PetscMallocClear PetscSegBufferUnuse
PetscFortranCallbackGetSizes PetscMallocLogRequestedSizeGet PetscSetDebugTerminal
PetscFortranCallbackRegister PetscMallocLogRequestedSizeSet PetscSetDebugger
PetscFree2 PetscMallocPopMaximumUsage PetscSetDebuggerFromString
PetscFree3 PetscMallocPushMaximumUsage PetscSetDefaultDebugger
PetscFree4 PetscMallocResetCUDAHost PetscSetHelpVersionFunctions
PetscFree5 PetscMallocResetDRAM PetscSharedTmp
PetscFree6 PetscMallocSet PetscSharedWorkingDirectory
PetscFree7 PetscMallocSetCUDAHost PetscShmCommGet
PetscFreeA PetscMallocSetCoalesce PetscShmCommGetMpiShmComm
PetscFunctionBegin PetscMallocSetDRAM PetscShmCommGlobalToLocal
PetscFunctionBeginHot PetscMallocSetDebug PetscShmCommLocalToGlobal
PetscFunctionListAdd PetscMkdtemp PetscSignalSegvCheckPointerOrMpi
PetscFunctionListDestroy PetscNewLog PetscSplitOwnership
PetscFunctionListDuplicate PetscObjectAddOptionsHandler PetscSplitOwnershipBlock
PetscFunctionListFind PetscObjectCompareId PetscSplitOwnershipEqual
PetscFunctionListGet PetscObjectComposedDataGetInt PetscStackSAWsGrantAccess
PetscFunctionListPrintTypes PetscObjectComposedDataGetIntstar PetscStackSAWsTakeAccess
PetscFunctionListView PetscObjectComposedDataGetReal PetscStopForDebugger
PetscFunctionReturn PetscObjectComposedDataGetRealstar PetscTimSort
PetscGatherMessageLengths PetscObjectComposedDataGetScalar PetscTimSortWithArray
PetscGatherMessageLengths2 PetscObjectComposedDataGetScalarstar PetscTime
PetscGatherNumberOfMessages PetscObjectComposedDataRegister PetscTimeAdd
PetscGetArchType PetscObjectComposedDataSetInt PetscTimeSubtract
PetscGetFullPath PetscObjectComposedDataSetIntstar PetscTraceBackErrorHandler
PetscGetHomeDirectory PetscObjectComposedDataSetReal PetscVFPrintf
PetscGetHostName PetscObjectComposedDataSetRealstar PetscVSNPrintf
PetscGetPetscDir PetscObjectComposedDataSetScalar SETERRMPI
PetscGetRealPath PetscObjectComposedDataSetScalarstar
PetscGetRelativePath PetscObjectCopyFortranFunctionPointers
No deprecated routines

Table of Contents