petsc-3.3-p7 2013-05-11

DM Examples

DM objects are used to manage communication between the algebraic structures in PETSc (Vec and Mat) and mesh data structures in PDE-based (or other) simulations. See, for example, DMDACreate().

Beginner - Basic usage
DMADDAGetCorners DMDACreate2d DMMeshGetConeSize
DMADDAGetGhostCorners DMDACreate3d DMMeshGetDimension
DMADDAGetMatrixNS DMDAElementType DMMeshGetLabelIdIS
DMADDAMatSetValues DMDAGetBoundingBox DMMeshGetLabelSize
DMCartesianCreate DMDAGetCorners DMMeshGetLabelValue
DMComplexCreateExodus DMDAGetGhostCorners DMMeshGetMaximumDegree
DMComplexCreate DMDAGetInfo DMMeshGetMaxSizes
DMComplexGetChart DMDAGetLocalBoundingBox DMMeshGetStratumIS
DMComplexGetCone DMDAGetLocalInfo DMMeshGetStratumSize
DMComplexGetConeOrientation DMDAInterpolationType DMMeshGetSupport
DMComplexGetConeSize DMDALocalInfo DMMeshGetSupportSize
DMComplexGetDimension DMDASetUniformCoordinates DMMeshGetTransitiveClosure
DMComplexGetLabelIdIS DMDA_STENCIL_BOX DMMeshRestrictVector
DMComplexGetLabelSize DMDA_STENCIL_STAR DMMeshSetChart
DMComplexGetLabelValue DMDAStencilType DMMeshSetCone
DMComplexGetMaxSizes DMGetGlobalVector DMMeshSetConeSize
DMComplexGetStratumIS DMGetLocalVector DMMeshSetDimension
DMComplexGetStratumSize DMGlobalToLocalBegin DMMeshSetLabelValue
DMComplexGetSupport DMGlobalToLocalEnd DMMeshSetUp
DMComplexGetSupportSize DMIGACreate DMMeshStratify
DMComplexGetTransitiveClosure DMIGAGetBasisData DMMeshSymmetrize
DMComplexSetChart DMIGAGetLocalInfo DMMeshViewExodusSplit
DMComplexSetCone DMIGAGetNumQuadraturePoints DMRestoreGlobalVector
DMComplexSetConeOrientation DMIGAGetPolynomialOrder DMRestoreLocalVector
DMComplexSetConeSize DMLocalToGlobalBegin PetscViewerBinaryMatlabDestroy
DMComplexSetDimension DMLocalToGlobalEnd PetscViewerBinaryMatlabOpen
DMComplexSetLabelValue DMMeshAssembleMatrix SectionIntView
DMComplexStratify DMMeshAssembleVectorComplete SectionRealView
DMComplexSymmetrize DMMeshAssembleVector VecLoadExodusCell
DMCompositeGetNumberDM DMMeshCreateExodus VecLoadExodusCellSet
DMCreateGlobalVector DMMeshCreateExodusNG VecLoadExodusVertex
DMCreate DMMeshCreate VecLoadExodusVertexSet
DMCreateLocalVector DMMeshCreateMeshFromAdjacency VecViewExodusCell
DMCreateMatrix DMMeshCreatePCICE VecViewExodusCellSet
DMDABoundaryType DMMeshGetChart VecViewExodusVertex
DMDACreate1d DMMeshGetCone VecViewExodusVertexSet
Intermediate - Setting options for algorithms and data structures
BCSectionGetArray DMDASetDim DMMeshGetCoordinates
BCSectionRealCreate DMDASetDof DMMeshGetElements
BCSectionRealGetArray DMDASetElementType DMMeshGetSectionInt
DMADDACreate DMDASetFieldName DMMeshGetSectionReal
DMComplexDistribute DMDASetGhostedCoordinates DMMeshGetVertexSectionInt
DMComplexGenerate DMDASetInterpolationType DMMeshGetVertexSectionReal
DMComplexHasLabel DMDASetLocalAdicFunction DMMeshHasSectionInt
DMComplexVecGetClosure DMDASetLocalAdicFunctionib DMMeshHasSectionReal
DMComplexVecSetClosure DMDASetLocalAdicFunctioni DMMeshRefine
DMCompositeGetLocalISs DMDASetLocalAdicMFFunction DMMeshSetSectionInt
DMComputeVariableBounds DMDASetLocalAdicMFFunctionib DMMeshSetSectionReal
DMConvert DMDASetLocalAdicMFFunctioni DMMeshSetupSection
DMCreateAggregates DMDASetLocalFunction DMSetApplicationContextDestroy
DMCreateDefaultSF DMDASetLocalFunctionib DMSetApplicationContext
DMCreateDomainDecomposition DMDASetLocalFunctioni DMSetDefaultSection
DMCreateFieldDecomposition DMDASetLocalJacobian DMSetDefaultSF
DMCreateFieldIS DMDASetNumProcs DMSetFunction
DMDAComputeFunctionLocalGhost DMDASetOwnershipRanges DMSetInitialGuess
DMDAComputeFunctionLocal DMDASetRefinementFactor DMSetJacobian
DMDACoor2d DMDASetSizes DMSetLocalFunction
DMDACoor3d DMDASetStencilType DMSetLocalJacobian
DMDAForEachPointBegin2d DMDASetStencilWidth DMSetMatType
DMDAForEachPointEnd2d DMDAVecGetArrayDOF DMSetType
DMDAFormjacobianLocal DMDAVecGetArray DMSetVariableBounds
DMDAGetAO DMDAVecRestoreArrayDOF DMSetVecType
DMDAGetCoordinateDA DMDAVecRestoreArray MatCreateSeqUSFFT
DMDAGetCoordinates DMGetApplicationContext MATHYPRESSTRUCT
DMDAGetElements DMGetBlockSize MATHYPRESTRUCT
DMDAGetElementType DMGetDefaultGlobalSection MatSetDM
DMDAGetFieldName DMGetDefaultSection MatSetValuesTopology
DMDAGetGhostedCoordinates DMGetDefaultSF PetscViewerBinaryMatlabOutputBag
DMDAGetGlobalIndicesF90 DMGetLocalFunction PetscViewerBinaryMatlabOutputVecDA
DMDAGetGlobalIndices DMGetLocalJacobian PetscViewerBinaryMatlabOutputVec
DMDAGetInterpolationType DMGetLocalToGlobalMappingBlock SectionGetArray
DMDAGetLocalFunction DMGetLocalToGlobalMapping SectionIntDistribute
DMDAGetLocalJacobian DMGetType SectionIntRestrictClosure
DMDAGetNeighbors DMIGAGetFieldName SectionIntSet
DMDAGetOwnershipRanges DMIGASetFieldName SectionIntUpdateClosure
DMDAGetReducedDA DMIGAVecGetArray SectionRealAXPY
DMDAGetRefinementFactor DMIGAVecRestoreArray SectionRealDistribute
DMDALocalToLocalBegin DMLoad SectionRealNorm
DMDALocalToLocalEnd DMMeshCreateSectionRealIS SectionRealRestrictClosure
DMDANaturalToGlobalEnd DMMeshDistribute SectionRealSet
DMDARestoreElements DMMeshGenerate SectionRealUpdateClosure
DMDASetBoundaryType DMMeshGetCellSectionInt
DMDASetCoordinates DMMeshGetCellSectionReal
Advanced - Setting more advanced options and customization
DMCartesianGetMesh DMDAMultiplyByJacobian1WithAdifor SectionIntClear
DMCartesianSetMesh DMDANaturalAllToGlobalCreate SectionIntComplete
DMCoarsenHookAdd DMDANaturalToGlobalBegin SectionIntCreate
DMComplexCreateRigidBody DMDARestoreAdicArray SectionIntDestroy
DMCompositeAddDM DMDARestoreAdicMFArray SectionIntGetBundle
DMCompositeCreate DMDARestoreArray SectionIntGetFiberDimension
DMCompositeGather DMMeshCreateGlobalRealVector SectionIntGetFibration
DMCompositeGetAccess DMMeshCreateGlobalScatter SectionIntGetSection
DMCompositeGetEntriesArray DMMeshCreateMatrix SectionIntGetSize
DMCompositeGetEntries DMMeshCreateScatterToZeroCell SectionIntRestrict
DMCompositeGetGlobalISs DMMeshCreateScatterToZeroCellSet SectionIntSetBundle
DMCompositeGetISLocalToGlobalMappings DMMeshCreateScatterToZeroVertex SectionIntSetFiberDimensionField
DMCompositeGetLocalVectors DMMeshCreateScatterToZeroVertexSet SectionIntSetFiberDimension
DMCompositeRestoreAccess DMMeshCreateVector SectionIntSetSection
DMCompositeRestoreLocalVectors DMMeshGetGlobalScatter SectionIntUpdate
DMCompositeScatter DMMeshGetMesh SectionIntZero
DMCompositeSetCoupling DMMeshLoad SectionRealAddSpace
DMCreateDomainDecompositionDM DMMeshSetMesh SectionRealAllocate
DMCreateFieldDecompositionDM DMRedundantCreate SectionRealClear
DMDAComputeFunction1 DMRedundantGetSize SectionRealComplete
DMDAComputeFunction DMRedundantSetSize SectionRealCreate
DMDAComputeFunctioni1 DMRefineHookAdd SectionRealCreateLocalVector
DMDAComputeFunctionib1 DMRegisterAll SectionRealDestroy
DMDAComputeJacobian1 DMRegisterDestroy SectionRealDuplicate
DMDAComputeJacobian1WithAdic DMRegister SectionRealGetBundle
DMDACreate DMSetOptionsPrefix SectionRealGetFiberDimension
DMDACreatePF DMShellCreate SectionRealGetFibration
DMDAGetAdicArray DMShellSetCreateGlobalVector SectionRealGetSection
DMDAGetAdicMFArrayb DMShellSetCreateMatrix SectionRealGetSize
DMDAGetAdicMFArray DMShellSetGlobalVector SectionRealRestrict
DMDAGetArray DMShellSetMatrix SectionRealSetBundle
DMDAGetProcessorSubset DMSlicedCreate SectionRealSetFiberDimensionField
DMDAGetProcessorSubsets DMSlicedSetBlockFills SectionRealSetFiberDimension
DMDAGlobalToNaturalAllCreate DMSlicedSetGhosts SectionRealSetSection
DMDAGlobalToNaturalBegin DMSlicedSetPreallocation SectionRealToVec
DMDAGlobalToNaturalEnd PCICERenumberBoundary SectionRealUpdate
DMDAMultiplyByJacobian1WithAD SectionIntAddSpace SectionRealZero
DMDAMultiplyByJacobian1WithAdic SectionIntAllocate
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
ADDAHCiter DMCreateInterpolationScale DMHasJacobian
ADDAHCiterStartup DMDACreateNaturalVector DMHasVariableBounds
DMADDASetRefinement DMDACreateSection DMInterpolate
DMClearGlobalVectors DMDAGetScatter DMMeshSetMaxDof
DMCoarsenHierarchy DMDASetBlockFills DMRefineHierarchy
DMCoarsen DMDASetGetMatrix DMRefine
DMComplexVTKWriteAll DMDAVTKWriteAll DMRestoreNamedGlobalVector
DMComputeFunction DMDestroy DMRestrict
DMComputeInitialGuess DMGetCoarsenLevel DMSetFromOptions
DMComputeJacobianDefault DMGetNamedGlobalVector DMSetMatrixPreallocateOnly
DMComputeJacobian DMGetRefineLevel DMSetUp
DMCreateColoring DMGetWorkArray DMSetVec
DMCreateInjection DMHasFunction DMView
DMCreateInterpolation DMHasInitialGuess
No deprecated routines

Table of Contents