DA Examples

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

Beginner - Basic usage
ADDACreateGlobalVector DAGetLocalInfo DMGetGlobalVector
ADDADestroy DAGetLocalVector DMGetLocalVector
ADDAGetCorners DAGlobalToLocalBegin DMGlobalToLocalBegin
ADDAGetGhostCorners DAGlobalToLocalEnd DMGlobalToLocalEnd
ADDAGetMatrix DAInterpolationType DMLocalToGlobal
ADDAGetMatrixNS DALocalInfo DMRestoreGlobalVector
ADDAMatSetValues DALocalToGlobal DMRestoreLocalVector
DA DALocalToGlobalBegin PetscViewerBinaryMatlabDestroy
DACreate DALocalToGlobalEnd PetscViewerBinaryMatlabOpen
DACreate1d DAPeriodicType SDA
DACreate2d DARestoreGlobalVector SDACreate1d
DACreate3d DARestoreLocalVector SDACreate2d
DACreateGlobalVector DASetFromOptions SDACreate3d
DACreateLocalVector DASetUniformCoordinates SDADestroy
DADestroy DAStencilType SDAGetCorners
DAElementType DAView SDAGetGhostCorners
DAGetCorners DA_STENCIL_Box SDALocalToLocalBegin
DAGetGhostCorners DA_STENCIL_STAR SDALocalToLocalEnd
DAGetGlobalVector DMComposite Slice
DAGetInfo DMCompositeGetNumberDM
Intermediate - Setting options for algorithms and data structures
ADDACreate DAGetNeighbors DASetNumProcs
ADDAGetAggregates DAGetOwnershipRanges DASetPeriodicity
DACoor2d DAGetRefinementFactor DASetRefinementFactor
DACoor3d DAGetType DASetSizes
DAForEachPointBegin2d DALoad DASetStencilType
DAForEachPointEnd2d DALocalToLocalBegin DASetStencilWidth
DAFormFunctionLocal DALocalToLocalEnd DASetType
DAFormFunctionLocalGhost DANaturalToGlobalEnd DASetVertexDivision
DAFormjacobianLocal DASetCoordinates DAVecGetArray
DAGetAO DASetDim DAVecGetArrayDOF
DAGetAggregates DASetDof DAVecRestoreArray
DAGetCoordinateDA DASetFieldName DAVecRestoreArrayDOF
DAGetCoordinates DASetInterpolationType DAViewFromOptions
DAGetFieldName DASetLocalAdicFunction DM
DAGetGhostedCoordinates DASetLocalAdicFunctioni DMGetAggregates
DAGetGlobalIndices DASetLocalAdicFunctionib DMGetElements
DAGetGlobalIndicesF90 DASetLocalAdicMFFunction DMRestoreElements
DAGetISLocalToGlobalMapping DASetLocalAdicMFFunctioni MatCreateSeqUSFFT
DAGetISLocalToGlobalMappingBlck DASetLocalAdicMFFunctionib MatSetDA
DAGetInjection DASetLocalFunction PetscViewerBinaryMatlabOutputBag
DAGetInterpolation DASetLocalFunctioni PetscViewerBinaryMatlabOutputVec
DAGetLocalFunction DASetLocalFunctionib PetscViewerBinaryMatlabOutputVecDA
DAGetLocalJacobian DASetLocalJacobian
Advanced - Setting more advanced options and customization
ADDA DANaturalAllToGlobalCreate DMCompositeGetGlobalISs
DACoarsen DANaturalToGlobalBegin DMCompositeGetInterpolation
DAComputeJacobian1 DARefine DMCompositeGetLocalISs
DAComputeJacobian1WithAdic DARegister DMCompositeGetLocalVectors
DACreatePF DARegisterAll DMCompositeGetMatrix
DAFormFunction DARegisterDestroy DMCompositeGlobalToLocalBegin
DAFormFunction1 DARegisterDynamic DMCompositeGlobalToLocalEnd
DAFormFunctioni1 DARestoreAdicArray DMCompositeRefine
DAFormFunctionib1 DARestoreAdicMFArray DMCompositeRestoreAccess
DAGetAdicArray DARestoreArray DMCompositeRestoreLocalVectors
DAGetAdicMFArray DASetOptionsPrefix DMCompositeScatter
DAGetAdicMFArrayb DMCompositeAddArray DMCompositeSetContext
DAGetArray DMCompositeAddDM DMCompositeSetCoupling
DAGetColoring DMCompositeCreate SlicedCreate
DAGetMatrix DMCompositeCreateGlobalVector SlicedCreateGlobalVector
DAGetProcessorSubset DMCompositeCreateLocalVector SlicedDestroy
DAGlobalToNaturalAllCreate DMCompositeDestroy SlicedGetGlobalIndices
DAGlobalToNaturalBegin DMCompositeGather SlicedGetMatrix
DAGlobalToNaturalEnd DMCompositeGetAccess SlicedSetBlockFills
DAMultiplyByJacobian1WithAD DMCompositeGetColoring SlicedSetGhosts
DAMultiplyByJacobian1WithAdic DMCompositeGetContext SlicedSetPreallocation
DAMultiplyByJacobian1WithAdifor DMCompositeGetEntries
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 DMCoarsen DMGetMatrix
ADDARefine DMCoarsenHierarchy DMRefine
ADDASetRefinement DMCreateGlobalVector DMRefineHierarchy
ADDAView DMCreateLocalVector DMView
No deprecated routines
None: Not yet cataloged
DAGetElements DARestoreElements

Table of Contents