petsc-master 2021-02-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
CHKERRMPI PetscMergeMPIIntArray PetscSortIntWithScalarArray
PETSC_VERSION PetscObjectBaseTypeCompare PetscSortMPIInt
PetscArraycmp PetscObjectBaseTypeCompareAny PetscSortMPIIntWithArray
PetscArraycpy PetscObjectGetName PetscSortMPIIntWithIntArray
PetscArraymove PetscObjectOptionsBegin PetscSortReal
PetscArrayzero PetscObjectTypeCompare PetscSortRealWithArrayInt
PetscBLASInt PetscObjectTypeCompareAny PetscSortRealWithPermutation
PetscBagCreate PetscObjectView PetscSortRemoveDupsInt
PetscBagGetData PetscObjectViewFromOptions PetscSortRemoveDupsMPIInt
PetscBagGetName PetscOptionsBegin PetscSortRemoveDupsReal
PetscBagGetNames PetscOptionsBoolGroup PetscSortReverseInt
PetscBagSetName PetscOptionsBoolGroupBegin PetscSortSplit
PetscBagSetOptionsPrefix PetscOptionsBoolGroupEnd PetscSortSplitReal
PetscBagViewFromOptions PetscOptionsClearValue PetscSortStrWithPermutation
PetscBarrier PetscOptionsEList PetscSortedInt
PetscBoxAuthorize PetscOptionsEnd PetscSortedMPIInt
PetscBoxRefresh PetscOptionsFList PetscSortedReal
PetscBoxUpload PetscOptionsGetEList PetscSortedRemoveDupsInt
PetscCheckDupsInt PetscOptionsHead PetscStartMatlab
PetscCitationsRegister PetscOptionsInsertArgs 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
PetscHasExternalPackage PetscRandomGetInterval PetscStrncmp
PetscHeap PetscRandomGetSeed PetscStrncpy
PetscIntSortSemiOrdered PetscRandomGetType PetscStrrchr
PetscIntSortSemiOrderedWithArray PetscRandomGetValue PetscStrreplace
PetscIntView PetscRandomGetValueReal PetscStrrstr
PetscLinearRegression PetscRandomGetValues PetscStrstr
PetscLs PetscRandomGetValuesReal PetscStrtolower
PetscMPIInt PetscRandomSeed PetscStrtoupper
PetscMPIIntSortSemiOrdered PetscRandomSetInterval PetscSubcommGetChild
PetscMPIIntSortSemiOrderedWithArray PetscRandomSetSeed PetscSubcommGetContiguousParent
PetscMallocDump PetscRandomSetType PetscSubcommGetParent
PetscMallocGetCurrentUsage PetscRandomViewFromOptions PetscSubcommSetOptionsPrefix
PetscMallocGetDebug PetscRealSortSemiOrdered PetscSynchronizedFGets
PetscMallocGetMaximumUsage PetscRealSortSemiOrderedWithArrayInt PetscSynchronizedFPrintf
PetscMallocGetStack PetscRealView PetscSynchronizedFlush
PetscMatlabEngine PetscSNPrintf PetscSynchronizedPrintf
PetscMemcmp PetscSNPrintfCount PetscTellMyCell
PetscMemcpy PetscScalarView PetscTestDirectory
PetscMemmove PetscSequentialPhaseBegin PetscTestFile
PetscMemoryGetCurrentUsage PetscSequentialPhaseEnd PetscTextBelt
PetscMemoryGetMaximumUsage PetscSleep PetscToken
PetscMemorySetGetMaximumUsage PetscSortInt PetscTokenCreate
PetscMemoryView PetscSortIntWithArray PetscTokenDestroy
PetscMemzero PetscSortIntWithArrayPair PetscTokenFind
PetscMergeIntArray PetscSortIntWithDataArray PetscURLShorten
PetscMergeIntArrayPair PetscSortIntWithPermutation
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
Converts PetscGetTmp PetscObjectCopyFortranFunctionPointers
KSPCheckDot PetscGetUserName PetscObjectDestroyOptionsHandlers
KSPCheckNorm PetscGetVersion PetscObjectGetClassId
MPIU_Allreduce PetscGetVersionNumber PetscObjectGetClassName
PETSC_HASH_MAP PetscGetWorkingDirectory PetscObjectGetFortranCallback
PETSC_HASH_SET PetscHMapT PetscObjectGetId
PETSC_MATLAB_ENGINE_ PetscHMapTClear PetscObjectGetNewTag
PETSC_MATLAB_ENGINE_SELF PetscHMapTCreate PetscObjectGetTabLevel
PETSC_MATLAB_ENGINE_WORLD PetscHMapTDel PetscObjectId
PetscAbortErrorHandler PetscHMapTDestroy PetscObjectIncrementTabLevel
PetscAddrAlign PetscHMapTDuplicate PetscObjectInheritPrintedOptions
PetscAttachDebuggerErrorHandler PetscHMapTFind PetscObjectList
PetscBinaryRead PetscHMapTGet PetscObjectListAdd
PetscBinarySeek PetscHMapTGetCapacity PetscObjectListDestroy
PetscBinarySynchronizedRead PetscHMapTGetKeys PetscObjectListDuplicate
PetscBinarySynchronizedSeek PetscHMapTGetPairs PetscObjectListFind
PetscBinarySynchronizedWrite PetscHMapTGetSize PetscObjectListRemoveReference
PetscBuildTwoSidedType PetscHMapTGetVals PetscObjectListReverseFind
PetscCalloc2 PetscHMapTHas PetscObjectName
PetscCalloc3 PetscHMapTIterDel PetscObjectPrintClassNamePrefixType
PetscCalloc4 PetscHMapTIterGet PetscObjectProcessOptionsHandlers
PetscCalloc5 PetscHMapTIterSet PetscObjectRegisterDestroy
PetscCalloc6 PetscHMapTPut PetscObjectRegisterDestroyAll
PetscCalloc7 PetscHMapTQueryDel PetscObjectSetFortranCallback
PetscCheckPointer PetscHMapTQuerySet PetscObjectSetPrintedOptions
PetscClassId PetscHMapTReset PetscObjectSetTabLevel
PetscCommBuildTwoSided PetscHMapTResize PetscObjectState
PetscCommBuildTwoSidedF PetscHMapTSet PetscObjectStateIncrease
PetscCommBuildTwoSidedFReq PetscHSetT PetscObjectsListGetGlobalNumbering
PetscCommBuildTwoSidedGetType PetscHSetTAdd PetscOmpCtrlBarrier
PetscCommBuildTwoSidedSetType PetscHSetTClear PetscOmpCtrlCreate
PetscCommDestroy PetscHSetTCreate PetscOmpCtrlDestroy
PetscCommDuplicate PetscHSetTDel PetscOmpCtrlGetOmpComms
PetscCommGetNewTag PetscHSetTDestroy PetscOmpCtrlOmpRegionOnMasterBegin
PetscDLClose PetscHSetTDuplicate PetscOmpCtrlOmpRegionOnMasterEnd
PetscDLLibraryAppend PetscHSetTGetCapacity PetscOptionsClear
PetscDLLibraryClose PetscHSetTGetElems PetscOptionsDeprecated
PetscDLLibraryOpen PetscHSetTGetSize PetscOptionsFindPair
PetscDLLibraryPrepend PetscHSetTHas PetscOptionsInsertFile
PetscDLLibraryRetrieve PetscHSetTQueryAdd PetscParallelSortedInt
PetscDLLibrarySym PetscHSetTQueryDel PetscPopSignalHandler
PetscDLOpen PetscHSetTReset PetscPrefetchBlock
PetscDLSym PetscHSetTResize PetscProcessTree
PetscDefined PetscHSetTUpdate PetscPushSignalHandler
PetscElementalFinalizePackage PetscHeaderCreate PetscRandomFinalizePackage
PetscElementalInitializePackage PetscHeaderDestroy PetscRandomInitializePackage
PetscElementalInitialized PetscHelpPrintf PetscRealloc
PetscEmacsClientErrorHandler PetscIgnoreErrorHandler PetscRegisterFinalize
PetscEqualReal PetscLogDouble PetscRegisterFinalizeAll
PetscEqualScalar PetscMPIAbortErrorHandler PetscReturnErrorHandler
PetscErrorMessage PetscMPIDump PetscSSEIsEnabled
PetscErrorPrintf PetscMalloc2 PetscSegBuffer
PetscFClose PetscMalloc3 PetscSegBufferCreate
PetscFOpen PetscMalloc4 PetscSegBufferDestroy
PetscFinalized PetscMalloc5 PetscSegBufferExtractAlloc
PetscFormatConvert PetscMalloc6 PetscSegBufferExtractInPlace
PetscFormatConvertGetSize PetscMalloc7 PetscSegBufferExtractTo
PetscFormatStrip PetscMallocA PetscSegBufferGet
PetscFortranCallbackGetSizes PetscMallocClear PetscSegBufferGetSize
PetscFortranCallbackRegister PetscMallocLogRequestedSizeGet PetscSegBufferUnuse
PetscFree2 PetscMallocLogRequestedSizeSet PetscSetDebugTerminal
PetscFree3 PetscMallocPopMaximumUsage PetscSetDebugger
PetscFree4 PetscMallocPushMaximumUsage PetscSetDebuggerFromString
PetscFree5 PetscMallocResetCUDAHost PetscSetDefaultDebugger
PetscFree6 PetscMallocResetDRAM PetscSetHelpVersionFunctions
PetscFree7 PetscMallocSet PetscSharedTmp
PetscFreeA PetscMallocSetCUDAHost PetscSharedWorkingDirectory
PetscFunctionBegin PetscMallocSetCoalesce PetscShmCommGet
PetscFunctionBeginHot PetscMallocSetDRAM PetscShmCommGetMpiShmComm
PetscFunctionListAdd PetscMallocSetDebug PetscShmCommGlobalToLocal
PetscFunctionListDestroy PetscMkdtemp PetscShmCommLocalToGlobal
PetscFunctionListDuplicate PetscNewLog PetscSignalSegvCheckPointerOrMpi
PetscFunctionListFind PetscObjectAddOptionsHandler PetscSplitOwnership
PetscFunctionListGet PetscObjectCompareId PetscSplitOwnershipBlock
PetscFunctionListPrintTypes PetscObjectComposedDataGetInt PetscSplitOwnershipEqual
PetscFunctionListView PetscObjectComposedDataGetIntstar PetscStackSAWsGrantAccess
PetscFunctionReturn PetscObjectComposedDataGetReal PetscStackSAWsTakeAccess
PetscGatherMessageLengths PetscObjectComposedDataGetRealstar PetscStopForDebugger
PetscGatherMessageLengths2 PetscObjectComposedDataGetScalar PetscTimSort
PetscGatherNumberOfMessages PetscObjectComposedDataGetScalarstar PetscTimSortWithArray
PetscGetArchType PetscObjectComposedDataRegister PetscTime
PetscGetFullPath PetscObjectComposedDataSetInt PetscTimeAdd
PetscGetHomeDirectory PetscObjectComposedDataSetIntstar PetscTimeSubtract
PetscGetHostName PetscObjectComposedDataSetReal PetscTraceBackErrorHandler
PetscGetPetscDir PetscObjectComposedDataSetRealstar PetscVFPrintf
PetscGetRealPath PetscObjectComposedDataSetScalar PetscVSNPrintf
PetscGetRelativePath PetscObjectComposedDataSetScalarstar SETERRMPI
No deprecated routines

Table of Contents