DA Examples

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

Beginner - Basic usage
ADDACreateGlobalVector DAGetInfo DMComposite
ADDADestroy DAGetLocalBoundingBox DMCompositeGetNumberDM
ADDAGetCorners DAGetLocalInfo DMGetGlobalVector
ADDAGetGhostCorners DAGetLocalVector DMGetLocalVector
ADDAGetMatrix DAGlobalToLocalBegin DMGlobalToLocalBegin
ADDAGetMatrixNS DAGlobalToLocalEnd DMGlobalToLocalEnd
ADDAMatSetValues DAInterpolationType DMLocalToGlobal
DA DALocalInfo DMRestoreGlobalVector
DACreate DALocalToGlobal DMRestoreLocalVector
DACreate1d DALocalToGlobalBegin PetscViewerBinaryMatlabDestroy
DACreate2d DALocalToGlobalEnd PetscViewerBinaryMatlabOpen
DACreate3d DAPeriodicType SDA
DACreateGlobalVector DARestoreElements SDACreate1d
DACreateLocalVector DARestoreGlobalVector SDACreate2d
DADestroy DARestoreLocalVector SDACreate3d
DAElementType DASetFromOptions SDADestroy
DAGetBoundingBox DASetUniformCoordinates SDAGetCorners
DAGetCorners DAStencilType SDAGetGhostCorners
DAGetElements DAView SDALocalToLocalBegin
DAGetGhostCorners DA_STENCIL_Box SDALocalToLocalEnd
DAGetGlobalVector DA_STENCIL_STAR Slice
Intermediate - Setting options for algorithms and data structures
ADDACreate DAGetOwnershipRanges DASetRefinementFactor
ADDAGetAggregates DAGetRefinementFactor DASetSizes
DACoor2d DAGetType DASetStencilType
DACoor3d DALoad DASetStencilWidth
DAForEachPointBegin2d DALocalToLocalBegin DASetType
DAForEachPointEnd2d DALocalToLocalEnd DASetVertexDivision
DAFormFunctionLocal DANaturalToGlobalEnd DAVecGetArray
DAFormFunctionLocalGhost DASetCoordinates DAVecGetArrayDOF
DAFormjacobianLocal DASetDim DAVecRestoreArray
DAGetAO DASetDof DAVecRestoreArrayDOF
DAGetAggregates DASetFieldName DAViewFromOptions
DAGetCoordinateDA DASetInterpolationType DM
DAGetCoordinates DASetLocalAdicFunction DMCompositeView
DAGetFieldName DASetLocalAdicFunctioni DMGetAggregates
DAGetGhostedCoordinates DASetLocalAdicFunctionib DMGetElements
DAGetGlobalIndices DASetLocalAdicMFFunction DMRestoreElements
DAGetGlobalIndicesF90 DASetLocalAdicMFFunctioni MATHYPRESSTRUCT
DAGetISLocalToGlobalMapping DASetLocalAdicMFFunctionib MATHYPRESTRUCT
DAGetISLocalToGlobalMappingBlck DASetLocalFunction MatCreateSeqUSFFT
DAGetInjection DASetLocalFunctioni MatSetDA
DAGetInterpolation DASetLocalFunctionib PetscViewerBinaryMatlabOutputBag
DAGetLocalFunction DASetLocalJacobian PetscViewerBinaryMatlabOutputVec
DAGetLocalJacobian DASetNumProcs PetscViewerBinaryMatlabOutputVecDA
DAGetNeighbors DASetPeriodicity
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

Table of Contents