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

Table of Contents