DA Examples

DA objects are used to manage parallel communications for structured mesh problems in PDE-based (or other) simulations.

Beginner - Basic usage
DA DALocalInfo SDACreate1d
DACreate DALocalToGlobal SDACreate2d
DACreate1d DALocalToGlobalBegin SDACreate3d
DACreate2d DALocalToGlobalEnd SDADestroy
DACreate3d DAPeriodicType SDAGetCorners
DACreateGlobalVector DARestoreGlobalVector SDAGetGhostCorners
DACreateLocalVector DARestoreLocalVector SDALocalToLocalBegin
DADestroy DASetUniformCoordinates SDALocalToLocalEnd
DAElementType DAStencilType SectionIntView
DAGetCorners DAView SectionPairView
DAGetGhostCorners DA_STENCIL_Box SectionRealView
DAGetGlobalVector DA_STENCIL_STAR Slice
DAGetInfo MeshCreatePCICE VecPack
DAGetLocalInfo MeshCreatePyLith assembleMatrix
DAGetLocalVector MeshView assembleVector
DAGlobalToLocalBegin PetscViewerBinaryMatlabDestroy assembleVectorComplete
DAGlobalToLocalEnd PetscViewerBinaryMatlabOpen restrictVector
DAInterpolationType SDA
Intermediate - Setting options for algorithms and data structures
BCSectionGetArray DASetLocalAdicMFFunction DMMGSetSNESLocalFD
DACoor2d DASetLocalAdicMFFunctioni DMMGSetUser
DACoor3d DASetLocalAdicMFFunctionib MeshCoarsenHierarchy
DAForEachPointBegin2d DASetLocalFunction MeshDistribute
DAForEachPointEnd2d DASetLocalFunctioni MeshGenerate
DAFormFunctionLocal DASetLocalFunctionib MeshGetCellSectionInt
DAFormFunctionLocalGhost DASetLocalJacobian MeshGetCellSectionReal
DAFormjacobianLocal DASetRefinementFactor MeshGetCoordinates
DAGetAO DAVecGetArray MeshGetElements
DAGetCoordinateDA DAVecGetArrayDOF MeshGetSectionInt
DAGetCoordinates DAVecRestoreArray MeshGetSectionPair
DAGetElements DAVecRestoreArrayDOF MeshGetSectionReal
DAGetFieldName DM MeshGetVertexSectionInt
DAGetGhostedCoordinates DMMG MeshGetVertexSectionReal
DAGetGlobalIndices DMMGGetB MeshHasSectionInt
DAGetGlobalIndicesF90 DMMGGetComm MeshHasSectionPair
DAGetISLocalToGlobalMapping DMMGGetDA MeshHasSectionReal
DAGetISLocalToGlobalMappingBlck DMMGGetDM MeshRefine
DAGetInjection DMMGGetDMMG MeshSetSectionInt
DAGetInterpolation DMMGGetFine MeshSetSectionPair
DAGetLocalFunction DMMGGetJ MeshSetSectionReal
DAGetRefinementFactor DMMGGetKSP PCDMMG
DALoad DMMGGetLevels PetscViewerBinaryMatlabOutputBag
DALocalToLocalBegin DMMGGetRHS PetscViewerBinaryMatlabOutputVec
DALocalToLocalEnd DMMGGetSNES PetscViewerBinaryMatlabOutputVecDA
DANaturalToGlobalEnd DMMGGetUser SNESDAComputeJacobianWithAdic
DARestoreElements DMMGGetVecPack SNESDAFormFunction
DASetCoordinates DMMGGetx SectionGetArray
DASetFieldName DMMGInitialGuessCurrent SectionIntDistribute
DASetInterpolationType DMMGSetInitialGuess SectionPairDistribute
DASetLocalAdicFunction DMMGSetInitialGuessLocal SectionRealDistribute
DASetLocalAdicFunctioni DMMGSetMatType
DASetLocalAdicFunctionib DMMGSetSNESLocal
Advanced - Setting more advanced options and customization
DAComputeJacobian1 DMMGSolve SectionRealGetSection
DAComputeJacobian1WithAdic DMMGView SectionRealGetTopology
DACreatePF MeshCreate SectionRealRestrict
DAFormFunction MeshCreateGlobalVector SectionRealSetSection
DAFormFunction1 MeshCreateLocalVector SectionRealSetTopology
DAFormFunctioni1 MeshDestroy SectionRealUpdate
DAFormFunctionib1 MeshGetGlobalIndices SectionRealUpdateAdd
DAGetAdicArray MeshGetMatrix SectionRealZero
DAGetAdicMFArray MeshGetMesh SlicedCreate
DAGetAdicMFArrayb MeshLoad SlicedCreateGlobalVector
DAGetArray MeshSetMesh SlicedDestroy
DAGetColoring SectionIntComplete SlicedGetGlobalIndices
DAGetMatrix SectionIntCreate SlicedGetMatrix
DAGetProcessorSubset SectionIntDestroy SlicedSetGhosts
DAGlobalToNaturalAllCreate SectionIntGetSection SlicedSetPreallocation
DAGlobalToNaturalBegin SectionIntGetTopology VecPackAddArray
DAGlobalToNaturalEnd SectionIntRestrict VecPackAddDA
DAMultiplyByJacobian1WithAD SectionIntSetSection VecPackCreate
DAMultiplyByJacobian1WithAdic SectionIntSetTopology VecPackCreateGlobalVector
DAMultiplyByJacobian1WithAdifor SectionIntUpdate VecPackDestroy
DANaturalAllToGlobalCreate SectionIntUpdateAdd VecPackGather
DANaturalToGlobalBegin SectionPairCreate VecPackGetAccess
DARefine SectionPairDestroy VecPackGetColoring
DARestoreAdicArray SectionPairGetSection VecPackGetEntries
DARestoreAdicMFArray SectionPairGetTopology VecPackGetGlobalIndices
DARestoreArray SectionPairRestrict VecPackGetInterpolation
DMMGCreate SectionPairSetSection VecPackGetLocalVectors
DMMGDestroy SectionPairSetTopology VecPackGetMatrix
DMMGSetDM SectionPairUpdate VecPackRefine
DMMGSetKSP SectionRealComplete VecPackRestoreAccess
DMMGSetNullSpace SectionRealCreate VecPackRestoreLocalVectors
DMMGSetSNES SectionRealDestroy VecPackScatter
DMMGSetUp SectionRealDuplicate
DMMGSetUseGalerkinCoarse SectionRealGetLocalVector
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DACreateNaturalVector DMCoarsenHierarchy DMGetMatrix
DAGetScatter DMCreateGlobalVector DMRefine
DASetBlockFills DMDestroy DMRefineHierarchy
DASetGetMatrix DMGetColoring DMView
DASetMatPreallocateOnly DMGetInjection
DMCoarsen DMGetInterpolation
No deprecated routines
None: Not yet cataloged
PCDMMGSetDMMG

Table of Contents