DA Examples

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

Beginner - Basic usage
DA DAGlobalToLocalEnd PetscViewerBinaryMatlabOpen
DACreate DAInterpolationType SDA
DACreate1d DALocalInfo SDACreate1d
DACreate2d DALocalToGlobal SDACreate2d
DACreate3d DALocalToGlobalBegin SDACreate3d
DACreateGlobalVector DALocalToGlobalEnd SDADestroy
DACreateLocalVector DAPeriodicType SDAGetCorners
DADestroy DARestoreGlobalVector SDAGetGhostCorners
DAElementType DARestoreLocalVector SDALocalToLocalBegin
DAGetCorners DASetUniformCoordinates SDALocalToLocalEnd
DAGetGhostCorners DAStencilType Slice
DAGetGlobalVector DAView VecPack
DAGetInfo DA_STENCIL_Box assembleMatrix
DAGetLocalInfo DA_STENCIL_STAR assembleVector
DAGetLocalVector MeshView assembleVectorComplete
DAGlobalToLocalBegin PetscViewerBinaryMatlabDestroy restrictVector
Intermediate - Setting options for algorithms and data structures
DACoor2d DARestoreElements DMMGGetDA
DACoor3d DASetCoordinates DMMGGetDMMG
DAForEachPointBegin2d DASetFieldName DMMGGetFine
DAForEachPointEnd2d DASetInterpolationType DMMGGetJ
DAFormFunctionLocal DASetLocalAdicFunction DMMGGetKSP
DAGetAO DASetLocalAdicFunctioni DMMGGetLevels
DAGetCoordinateDA DASetLocalAdicFunctionib DMMGGetRHS
DAGetCoordinates DASetLocalAdicMFFunction DMMGGetSNES
DAGetElements DASetLocalAdicMFFunctioni DMMGGetUser
DAGetFieldName DASetLocalAdicMFFunctionib DMMGGetVecPack
DAGetGhostedCoordinates DASetLocalFunction DMMGGetx
DAGetGlobalIndices DASetLocalFunctioni DMMGInitialGuessCurrent
DAGetGlobalIndicesF90 DASetLocalFunctionib DMMGSetInitialGuess
DAGetISLocalToGlobalMapping DASetLocalJacobian DMMGSetInitialGuessLocal
DAGetISLocalToGlobalMappingBlck DASetRefinementFactor DMMGSetSNESLocal
DAGetInjection DAVecGetArray DMMGSetSNESLocalFD
DAGetInterpolation DAVecGetArrayDOF DMMGSetUser
DAGetLocalFunction DAVecRestoreArray PCDMMG
DAGetRefinementFactor DAVecRestoreArrayDOF PetscViewerBinaryMatlabOutputBag
DALoad DM PetscViewerBinaryMatlabOutputVec
DALocalToLocalBegin DMMG PetscViewerBinaryMatlabOutputVecDA
DALocalToLocalEnd DMMGGetB SNESDAComputeJacobianWithAdic
DANaturalToGlobalEnd DMMGGetComm SNESDAFormFunction
Advanced - Setting more advanced options and customization
DAComputeJacobian1 DARestoreAdicArray SlicedCreate
DAComputeJacobian1WithAdic DARestoreAdicMFArray SlicedCreateGlobalVector
DACreatePF DARestoreArray SlicedDestroy
DAFormFunction DMMGCreate SlicedGetGlobalIndices
DAFormFunction1 DMMGDestroy SlicedGetMatrix
DAFormFunctioni1 DMMGSetDM SlicedSetGhosts
DAFormFunctionib1 DMMGSetKSP SlicedSetPreallocation
DAGetAdicArray DMMGSetNullSpace VecPackAddArray
DAGetAdicMFArray DMMGSetSNES VecPackAddDA
DAGetAdicMFArrayb DMMGSetUp VecPackCreate
DAGetArray DMMGSetUseGalerkinCoarse VecPackCreateGlobalVector
DAGetColoring DMMGSolve VecPackDestroy
DAGetMatrix DMMGView VecPackGather
DAGetProcessorSubset MeshCreate VecPackGetAccess
DAGlobalToNaturalAllCreate MeshCreateGlobalVector VecPackGetEntries
DAGlobalToNaturalBegin MeshDestroy VecPackGetGlobalIndices
DAGlobalToNaturalEnd MeshGetGlobalIndices VecPackGetInterpolation
DAMultiplyByJacobian1WithAD MeshGetMatrix VecPackGetLocalVectors
DAMultiplyByJacobian1WithAdic MeshGetMesh VecPackRefine
DAMultiplyByJacobian1WithAdifor MeshLoad VecPackRestoreAccess
DANaturalAllToGlobalCreate MeshSetGhosts VecPackRestoreLocalVectors
DANaturalToGlobalBegin MeshSetMesh VecPackScatter
DARefine MeshSetPreallocation
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DACreateNaturalVector DMCreateGlobalVector DMGetMatrix
DAGetScatter DMDestroy DMRefine
DASetBlockFills DMGetColoring DMView
DASetGetMatrix DMGetInjection
DASetMatPreallocateOnly DMGetInterpolation
No deprecated routines
None: Not yet cataloged
PCDMMGSetDMMG

Table of Contents