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

Table of Contents