DA Examples

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

Beginner - Basic usage
ADDACreateGlobalVector DAGetLocalBoundingBox DMGetGlobalVector
ADDADestroy DAGetLocalInfo DMGetLocalVector
ADDAGetCorners DAGetLocalVector DMGlobalToLocalBegin
ADDAGetGhostCorners DAGlobalToLocalBegin DMGlobalToLocalEnd
ADDAGetMatrix DAGlobalToLocalEnd DMLocalToGlobal
ADDAGetMatrixNS DAInterpolationType DMRestoreGlobalVector
ADDAMatSetValues DALocalInfo DMRestoreLocalVector
DA DALocalToGlobal PetscViewerBinaryMatlabDestroy
DACreate DALocalToGlobalBegin PetscViewerBinaryMatlabOpen
DACreate1d DALocalToGlobalEnd SDA
DACreate2d DAPeriodicType SDACreate1d
DACreate3d DARestoreGlobalVector SDACreate2d
DACreateGlobalVector DARestoreLocalVector SDACreate3d
DACreateLocalVector DASetFromOptions SDADestroy
DADestroy DASetUniformCoordinates SDAGetCorners
DAElementType DAStencilType SDAGetGhostCorners
DAGetBoundingBox DAView SDALocalToLocalBegin
DAGetCorners DA_STENCIL_Box SDALocalToLocalEnd
DAGetGhostCorners DA_STENCIL_STAR Slice
DAGetGlobalVector DMComposite
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 DMCompositeView
DAGetGlobalIndices DASetLocalAdicFunctionib DMGetAggregates
DAGetGlobalIndicesF90 DASetLocalAdicMFFunction DMGetElements
DAGetISLocalToGlobalMapping DASetLocalAdicMFFunctioni DMRestoreElements
DAGetISLocalToGlobalMappingBlck DASetLocalAdicMFFunctionib MatCreateSeqUSFFT
DAGetInjection DASetLocalFunction MatSetDA
DAGetInterpolation DASetLocalFunctioni PetscViewerBinaryMatlabOutputBag
DAGetLocalFunction DASetLocalFunctionib PetscViewerBinaryMatlabOutputVec
DAGetLocalJacobian DASetLocalJacobian PetscViewerBinaryMatlabOutputVecDA
Advanced - Setting more advanced options and customization
ADDA DANaturalAllToGlobalCreate DMCompositeGetGlobalISs
DACoarsen DANaturalToGlobalBegin DMCompositeGetInterpolation
DACoarsenHierarchy DARefine DMCompositeGetLocalISs
DAComputeJacobian1 DARefineHierarchy DMCompositeGetLocalVectors
DAComputeJacobian1WithAdic DARegister DMCompositeGetMatrix
DACreatePF DARegisterAll DMCompositeGlobalToLocalBegin
DAFormFunction DARegisterDestroy DMCompositeGlobalToLocalEnd
DAFormFunction1 DARegisterDynamic DMCompositeRefine
DAFormFunctioni1 DARestoreAdicArray DMCompositeRestoreAccess
DAFormFunctionib1 DARestoreAdicMFArray DMCompositeRestoreLocalVectors
DAGetAdicArray DARestoreArray DMCompositeScatter
DAGetAdicMFArray DASetOptionsPrefix DMCompositeSetContext
DAGetAdicMFArrayb DMCompositeAddArray DMCompositeSetCoupling
DAGetArray DMCompositeAddDM SlicedCreate
DAGetColoring DMCompositeCreate SlicedCreateGlobalVector
DAGetMatrix DMCompositeCreateGlobalVector SlicedDestroy
DAGetProcessorSubset DMCompositeCreateLocalVector SlicedGetGlobalIndices
DAGlobalToNaturalAllCreate DMCompositeDestroy SlicedGetMatrix
DAGlobalToNaturalBegin DMCompositeGather SlicedSetBlockFills
DAGlobalToNaturalEnd DMCompositeGetAccess SlicedSetGhosts
DAMultiplyByJacobian1WithAD DMCompositeGetColoring SlicedSetPreallocation
DAMultiplyByJacobian1WithAdic DMCompositeGetContext
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 MATHYPRESSTRUCT
DARestoreElements MATHYPRESTRUCT

Table of Contents