petsc-master 2020-09-18
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 PetscCUDAInitializeCheck PetscOptionsGetEnumArray
CHKERRQ PetscCalloc1 PetscOptionsGetInt
CHKERRXX PetscClipInterval PetscOptionsGetIntArray
CHKMEMQ PetscComplex PetscOptionsGetReal
INSERT_VALUES PetscCopyMode PetscOptionsGetRealArray
InsertMode PetscDataType PetscOptionsGetScalar
MAX_VALUES PetscErrorCode PetscOptionsGetScalarArray
MIN_VALUES PetscFileMode PetscOptionsGetString
MPIU_COMPLEX PetscFinalize PetscOptionsGetStringArray
MPIU_INT PetscFortranAddr PetscOptionsHasName
MPIU_REAL PetscFree PetscOptionsInt
MPIU_SCALAR PetscGetDate PetscOptionsIntArray
MPI_Comm PetscGlobalMinMaxInt PetscOptionsName
PETSC_COMM_SELF PetscGlobalMinMaxReal PetscOptionsRangeInt
PETSC_COMM_WORLD PetscHIPInitialize PetscOptionsReal
PETSC_DECIDE PetscHIPInitializeCheck PetscOptionsRealArray
PETSC_DEFAULT PetscImaginaryPart PetscOptionsScalar
PETSC_DETERMINE PetscInitialize PetscOptionsScalarArray
PETSC_FALSE PetscInitializeFortran PetscOptionsString
PETSC_IGNORE PetscInitialized PetscOptionsStringArray
PETSC_MPI_THREAD_REQUIRED PetscInt PetscOptionsViewer
PETSC_TRUE PetscIsCloseAtTol PetscRandomSetFromOptions
PETSC_i PetscIsInfReal PetscRandomType
PetscAbs PetscIsNanReal PetscRandomView
PetscAbsInt PetscIsNormalReal PetscReal
PetscAbsReal PetscMalloc PetscRealPart
PetscBag PetscMalloc1 PetscScalar
PetscBagDestroy PetscMax PetscSign
PetscBagLoad PetscMin PetscSqr
PetscBagRegisterBool PetscNew PetscSubcommSetFromOptions
PetscBagRegisterBoolArray PetscNot PetscSubcommView
PetscBagRegisterEnum PetscObject SETERRABORT
PetscBagRegisterInt PetscObjectDestroy SETERRQ
PetscBagRegisterInt64 PetscObjectSetFromOptions SETERRQ1
PetscBagRegisterIntArray PetscOffset SETERRQ2
PetscBagRegisterReal PetscOptionsBool SETERRQ3
PetscBagRegisterRealArray PetscOptionsBoolArray SETERRQ4
PetscBagRegisterScalar PetscOptionsBoundedInt SETERRQ5
PetscBagRegisterString PetscOptionsEnum SETERRQ6
PetscBagSetFromOptions PetscOptionsEnumArray SETERRQ7
PetscBagView PetscOptionsGetBool SETERRQ8
PetscBool PetscOptionsGetBoolArray SETERRQ9
PetscCUDAInitialize PetscOptionsGetEnum UsingFortran
Intermediate - Setting options for algorithms and data structures
PETSC_VERSION PetscObjectBaseTypeCompare PetscSortMPIIntWithArray
PetscArraycmp PetscObjectBaseTypeCompareAny PetscSortMPIIntWithIntArray
PetscArraycpy PetscObjectGetName PetscSortReal
PetscArraymove PetscObjectOptionsBegin PetscSortRealWithArrayInt
PetscArrayzero PetscObjectTypeCompare PetscSortRealWithPermutation
PetscBLASInt PetscObjectTypeCompareAny PetscSortRemoveDupsInt
PetscBagCreate PetscObjectView PetscSortRemoveDupsMPIInt
PetscBagGetData PetscObjectViewFromOptions PetscSortRemoveDupsReal
PetscBagGetName PetscOptionsBegin PetscSortReverseInt
PetscBagGetNames PetscOptionsBoolGroup PetscSortSplit
PetscBagSetName PetscOptionsBoolGroupBegin PetscSortSplitReal
PetscBagSetOptionsPrefix 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
PetscMergeMPIIntArray PetscSortMPIInt
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 PetscGetRelativePath PetscObjectComposedDataSetScalarstar
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 PetscOffloadMask
PetscCommBuildTwoSidedSetType PetscHSetTClear PetscOmpCtrlBarrier
PetscCommDestroy PetscHSetTCreate PetscOmpCtrlCreate
PetscCommDuplicate PetscHSetTDel PetscOmpCtrlDestroy
PetscCommGetNewTag PetscHSetTDestroy PetscOmpCtrlGetOmpComms
PetscDLClose PetscHSetTDuplicate PetscOmpCtrlOmpRegionOnMasterBegin
PetscDLLibraryAppend PetscHSetTGetCapacity PetscOmpCtrlOmpRegionOnMasterEnd
PetscDLLibraryClose PetscHSetTGetElems PetscOptionsClear
PetscDLLibraryOpen PetscHSetTGetSize PetscOptionsDeprecated
PetscDLLibraryPrepend PetscHSetTHas PetscOptionsFindPair
PetscDLLibraryRetrieve PetscHSetTQueryAdd PetscOptionsInsertFile
PetscDLLibrarySym PetscHSetTQueryDel PetscParallelSortedInt
PetscDLOpen PetscHSetTReset PetscPopSignalHandler
PetscDLSym PetscHSetTResize PetscPrefetchBlock
PetscDefined PetscHSetTUpdate PetscProcessTree
PetscElementalFinalizePackage PetscHeaderCreate PetscPushSignalHandler
PetscElementalInitializePackage PetscHeaderDestroy PetscRandomFinalizePackage
PetscElementalInitialized PetscHelpPrintf PetscRandomInitializePackage
PetscEmacsClientErrorHandler PetscIgnoreErrorHandler PetscRealloc
PetscEqualReal PetscLogDouble PetscRegisterFinalize
PetscEqualScalar PetscMPIAbortErrorHandler PetscRegisterFinalizeAll
PetscErrorMessage PetscMPIDump PetscReturnErrorHandler
PetscErrorPrintf PetscMalloc2 PetscSSEIsEnabled
PetscFClose PetscMalloc3 PetscSegBuffer
PetscFOpen PetscMalloc4 PetscSegBufferCreate
PetscFinalized PetscMalloc5 PetscSegBufferDestroy
PetscFormatConvert PetscMalloc6 PetscSegBufferExtractAlloc
PetscFormatConvertGetSize PetscMalloc7 PetscSegBufferExtractInPlace
PetscFormatStrip PetscMallocA PetscSegBufferExtractTo
PetscFortranCallbackGetSizes PetscMallocClear PetscSegBufferGet
PetscFortranCallbackRegister PetscMallocLogRequestedSizeGet PetscSegBufferGetSize
PetscFree2 PetscMallocLogRequestedSizeSet PetscSegBufferUnuse
PetscFree3 PetscMallocPopMaximumUsage PetscSetDebugTerminal
PetscFree4 PetscMallocPushMaximumUsage PetscSetDebugger
PetscFree5 PetscMallocResetCUDAHost PetscSetDebuggerFromString
PetscFree6 PetscMallocResetDRAM PetscSetDefaultDebugger
PetscFree7 PetscMallocSet PetscSetHelpVersionFunctions
PetscFreeA PetscMallocSetCUDAHost PetscSharedTmp
PetscFunctionBegin PetscMallocSetCoalesce PetscSharedWorkingDirectory
PetscFunctionBeginHot PetscMallocSetDRAM PetscShmCommGet
PetscFunctionListAdd PetscMallocSetDebug PetscShmCommGetMpiShmComm
PetscFunctionListDestroy PetscMkdtemp PetscShmCommGlobalToLocal
PetscFunctionListDuplicate PetscNewLog PetscShmCommLocalToGlobal
PetscFunctionListFind PetscObjectAddOptionsHandler PetscSignalSegvCheckPointerOrMpi
PetscFunctionListGet PetscObjectCompareId PetscSplitOwnership
PetscFunctionListPrintTypes PetscObjectComposedDataGetInt PetscSplitOwnershipBlock
PetscFunctionListView PetscObjectComposedDataGetIntstar PetscSplitOwnershipEqual
PetscFunctionReturn PetscObjectComposedDataGetReal PetscStackSAWsGrantAccess
PetscGatherMessageLengths PetscObjectComposedDataGetRealstar PetscStackSAWsTakeAccess
PetscGatherMessageLengths2 PetscObjectComposedDataGetScalar PetscStopForDebugger
PetscGatherNumberOfMessages PetscObjectComposedDataGetScalarstar PetscTime
PetscGetArchType PetscObjectComposedDataRegister PetscTimeAdd
PetscGetFullPath PetscObjectComposedDataSetInt PetscTimeSubtract
PetscGetHomeDirectory PetscObjectComposedDataSetIntstar PetscTraceBackErrorHandler
PetscGetHostName PetscObjectComposedDataSetReal PetscVFPrintf
PetscGetPetscDir PetscObjectComposedDataSetRealstar PetscVSNPrintf
PetscGetRealPath PetscObjectComposedDataSetScalar SETERRMPI
No deprecated routines

Table of Contents