DA Examples

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

Beginner - Basic usage
ADDACreateGlobalVector DA MeshCreatePyLith
ADDADestroy DAInterpolationType MeshExodusGetInfo
ADDAGetCorners DALocalInfo MeshGetLabelIds
ADDAGetGhostCorners DALocalToGlobalBegin MeshGetLabelSize
ADDAGetMatrix DALocalToGlobalEnd MeshGetMaximumDegree
ADDAGetMatrixNS DALocalToGlobal MeshGetStratum
ADDAMatSetValues DAPeriodicType MeshGetStratumSize
assembleMatrix DARestoreGlobalVector MeshView
assembleVectorComplete DARestoreLocalVector PetscViewerBinaryMatlabDestroy
assembleVector DASetUniformCoordinates PetscViewerBinaryMatlabOpen
DACreate1d DA_STENCIL_Box restrictVector
DACreate2d DA_STENCIL_STAR SDACreate1d
DACreate3d DAStencilType SDACreate2d
DACreateGlobalVector DAView SDACreate3d
DACreate DMCompositeGetNumberDM SDADestroy
DACreateLocalVector DMComposite SDAGetCorners
DADestroy DMGetGlobalVector SDAGetGhostCorners
DAElementType DMGetLocalVector SDA
DAGetCorners DMGlobalToLocalBegin SDALocalToLocalBegin
DAGetGhostCorners DMGlobalToLocalEnd SDALocalToLocalEnd
DAGetGlobalVector DMLocalToGlobal SectionIntView
DAGetInfo DMRestoreGlobalVector SectionRealView
DAGetLocalInfo DMRestoreLocalVector SlicedGlobalToLocalBegin
DAGetLocalVector MeshCreateExodus SlicedGlobalToLocalEnd
DAGlobalToLocalBegin MeshCreatePCICE Slice
DAGlobalToLocalEnd MeshCreatePFLOTRAN
Intermediate - Setting options for algorithms and data structures
ADDACreate DASetLocalAdicFunctioni DMMGSetOptionsPrefix
ADDAGetAggregates DASetLocalAdicMFFunction DMMGSetSNESLocalFD
BCSectionGetArray DASetLocalAdicMFFunctionib DMMGSetSNESLocal
BCSectionRealCreate DASetLocalAdicMFFunctioni DMMGSetUser
BCSectionRealGetArray DASetLocalFunction DMRestoreElements
DACoor2d DASetLocalFunctionib MatCreateSeqUSFFT
DACoor3d DASetLocalFunctioni MeshCoarsenHierarchy
DAForEachPointBegin2d DASetLocalJacobian MeshDistribute
DAForEachPointEnd2d DASetRefinementFactor MeshGenerate
DAFormFunctionLocalGhost DAVecGetArrayDOF MeshGetCellSectionInt
DAFormFunctionLocal DAVecGetArray MeshGetCellSectionReal
DAFormjacobianLocal DAVecRestoreArrayDOF MeshGetCoordinates
DAGetAggregates DAVecRestoreArray MeshGetElements
DAGetAO DMGetAggregates MeshGetSectionInt
DAGetCoordinateDA DMGetElements MeshGetSectionReal
DAGetCoordinates DM MeshGetType
DAGetFieldName DMMGArray MeshGetVertexSectionInt
DAGetGhostedCoordinates DMMGGetB MeshGetVertexSectionReal
DAGetGlobalIndicesF90 DMMGGetComm MeshHasSectionInt
DAGetGlobalIndices DMMGGetDA MeshHasSectionReal
DAGetInjection DMMGGetDMComposite MeshRefine
DAGetInterpolation DMMGGetDM MeshRestrictClosure
DAGetISLocalToGlobalMappingBlck DMMGGetDMMG MeshSetSectionInt
DAGetISLocalToGlobalMapping DMMGGetFine MeshSetSectionReal
DAGetLocalFunction DMMGGetJ MeshSetType
DAGetLocalJacobian DMMGGetKSP PCDMMG
DAGetNeighbors DMMGGetLevels PCDMMGSetDMMG
DAGetOwnershipRanges DMMGGetRHS PetscViewerBinaryMatlabOutputBag
DAGetRefinementFactor DMMGGetSNES PetscViewerBinaryMatlabOutputVecDA
DALoad DMMGGetSNESLocal PetscViewerBinaryMatlabOutputVec
DALocalToLocalBegin DMMGGetUser SectionGetArray
DALocalToLocalEnd DMMGGetx SectionIntDistribute
DANaturalToGlobalEnd DMMG SectionRealAXPY
DASetCoordinates DMMGInitialGuessCurrent SectionRealDistribute
DASetFieldName DMMGSetInitialGuess SectionRealNorm
DASetInterpolationType DMMGSetInitialGuessLocal SectionRealToVec
DASetLocalAdicFunction DMMGSetISColoringType SNESDAComputeJacobianWithAdic
DASetLocalAdicFunctionib DMMGSetMatType SNESDAFormFunction
Advanced - Setting more advanced options and customization
ADDA DMCompositeGetGlobalISs MeshSetMesh
DACoarsen DMCompositeGetInterpolation PCICERenumberBoundary
DAComputeJacobian1 DMCompositeGetLocalISs SectionIntAllocate
DAComputeJacobian1WithAdic DMCompositeGetLocalVectors SectionIntClear
DACreatePF DMCompositeGetMatrix SectionIntComplete
DAFormFunction1 DMCompositeGlobalToLocalBegin SectionIntCreate
DAFormFunction DMCompositeGlobalToLocalEnd SectionIntDestroy
DAFormFunctioni1 DMCompositeRefine SectionIntGetBundle
DAFormFunctionib1 DMCompositeRestoreAccess SectionIntGetSection
DAGetAdicArray DMCompositeRestoreLocalVectors SectionIntRestrict
DAGetAdicMFArrayb DMCompositeScatter SectionIntSetBundle
DAGetAdicMFArray DMCompositeSetContext SectionIntSetFiberDimension
DAGetArray DMCompositeSetCoupling SectionIntSetSection
DAGetColoring DMMGCreate SectionIntUpdateAdd
DAGetMatrix DMMGDestroy SectionIntUpdate
DAGetProcessorSubset DMMGSetDM SectionRealAllocate
DAGlobalToNaturalAllCreate DMMGSetFromOptions SectionRealClear
DAGlobalToNaturalBegin DMMGSetKSP SectionRealComplete
DAGlobalToNaturalEnd DMMGSetNullSpace SectionRealCreate
DAMultiplyByJacobian1WithAD DMMGSetSNES SectionRealCreateLocalVector
DAMultiplyByJacobian1WithAdic DMMGSetUp SectionRealDestroy
DAMultiplyByJacobian1WithAdifor DMMGSetUseGalerkinCoarse SectionRealDuplicate
DANaturalAllToGlobalCreate DMMGSolve SectionRealGetBundle
DANaturalToGlobalBegin DMMGView SectionRealGetSection
DARefine MeshCreateGlobalRealVector SectionRealRestrict
DARestoreAdicArray MeshCreateGlobalScatter SectionRealSetBundle
DARestoreAdicMFArray MeshCreateGlobalVector SectionRealSetFiberDimension
DARestoreArray MeshCreate SectionRealSetSection
DMCompositeAddArray MeshCreateLocalVector SectionRealUpdateAdd
DMCompositeAddDM MeshCreateMatrix SectionRealUpdate
DMCompositeCreateGlobalVector MeshCreateVector SectionRealZero
DMCompositeCreate MeshDestroy SlicedCreateGlobalVector
DMCompositeCreateLocalVector MeshGetGlobalIndices SlicedCreate
DMCompositeDestroy MeshGetMatrix SlicedCreateLocalVector
DMCompositeGather MeshGetMesh SlicedDestroy
DMCompositeGetAccess MeshLoad SlicedGetGlobalIndices
DMCompositeGetColoring MeshRegisterAll SlicedGetMatrix
DMCompositeGetContext MeshRegisterDestroy SlicedSetGhosts
DMCompositeGetEntries MeshRegister SlicedSetPreallocation
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
ADDACoarsen DACreateNaturalVector DMDestroy
ADDAGetColoring DAGetScatter DMGetColoring
ADDAGetInjection DASetBlockFills DMGetInjection
ADDAGetInterpolation DASetGetMatrix DMGetInterpolation
ADDAHCiter DASetMatPreallocateOnly DMGetInterpolationScale
ADDAHCiterStartup DMCoarsenHierarchy DMGetMatrix
ADDARefine DMCoarsen DMRefineHierarchy
ADDASetRefinement DMCreateGlobalVector DMRefine
ADDAView DMCreateLocalVector DMView
No deprecated routines

Table of Contents