DA Examples

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

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

Table of Contents