xref: /petsc/include/petscdm.h (revision 1d72bce834deac34ee536a860ca92da964f11d83)
1e1589f56SBarry Smith /*
2e1589f56SBarry Smith       Objects to manage the interactions between the mesh data structures and the algebraic objects
3e1589f56SBarry Smith */
43c48a1e8SJed Brown #if !defined(__PETSCDM_H)
53c48a1e8SJed Brown #define __PETSCDM_H
62c8e378dSBarry Smith #include <petscmat.h>
71e25c274SJed Brown #include <petscdmtypes.h>
8e1589f56SBarry Smith 
9014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMInitializePackage(const char[]);
10e1589f56SBarry Smith 
11014dd563SJed Brown PETSC_EXTERN PetscClassId DM_CLASSID;
12e1589f56SBarry Smith 
1376bdecfbSBarry Smith /*J
14e1589f56SBarry Smith     DMType - String with the name of a PETSc DM or the creation function
15e1589f56SBarry Smith        with an optional dynamic library name, for example
166ae3a549SBarry Smith        http://www.mcs.anl.gov/petsc/lib.a:mydmcreate()
17e1589f56SBarry Smith 
18e1589f56SBarry Smith    Level: beginner
19e1589f56SBarry Smith 
20e1589f56SBarry Smith .seealso: DMSetType(), DM
2176bdecfbSBarry Smith J*/
2219fd82e9SBarry Smith typedef const char* DMType;
23e1589f56SBarry Smith #define DMDA        "da"
24e1589f56SBarry Smith #define DMADDA      "adda"
25e1589f56SBarry Smith #define DMCOMPOSITE "composite"
26e1589f56SBarry Smith #define DMSLICED    "sliced"
27fe1899a2SJed Brown #define DMSHELL     "shell"
28b30b9b2eSMatthew G Knepley #define DMMESH      "mesh"
29ab7f58a0SBarry Smith #define DMPLEX      "plex"
30b30b9b2eSMatthew G Knepley #define DMCARTESIAN "cartesian"
318ac4e037SJed Brown #define DMREDUNDANT "redundant"
3201bc414fSDmitry Karpeev #define DMAKKT      "akkt"
333a19ef87SMatthew G Knepley #define DMPATCH     "patch"
34*1d72bce8STim Tautges #define DMMOAB      "moab"
35e1589f56SBarry Smith 
36140e18c1SBarry Smith PETSC_EXTERN PetscFunctionList DMList;
37014dd563SJed Brown PETSC_EXTERN PetscBool         DMRegisterAllCalled;
38014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreate(MPI_Comm,DM*);
3919fd82e9SBarry Smith PETSC_EXTERN PetscErrorCode DMSetType(DM, DMType);
4019fd82e9SBarry Smith PETSC_EXTERN PetscErrorCode DMGetType(DM, DMType *);
41014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRegister(const char[],const char[],const char[],PetscErrorCode (*)(DM));
42014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRegisterAll(const char []);
43014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRegisterDestroy(void);
44e1589f56SBarry Smith 
45e1589f56SBarry Smith 
46e1589f56SBarry Smith /*MC
47e1589f56SBarry Smith   DMRegisterDynamic - Adds a new DM component implementation
48e1589f56SBarry Smith 
49e1589f56SBarry Smith   Synopsis:
50f2ba6396SBarry Smith   #include "petscdm.h"
51e1589f56SBarry Smith   PetscErrorCode DMRegisterDynamic(const char *name,const char *path,const char *func_name, PetscErrorCode (*create_func)(DM))
52e1589f56SBarry Smith 
53e1589f56SBarry Smith   Not Collective
54e1589f56SBarry Smith 
55e1589f56SBarry Smith   Input Parameters:
56e1589f56SBarry Smith + name        - The name of a new user-defined creation routine
57e1589f56SBarry Smith . path        - The path (either absolute or relative) of the library containing this routine
58e1589f56SBarry Smith . func_name   - The name of routine to create method context
59e1589f56SBarry Smith - create_func - The creation routine itself
60e1589f56SBarry Smith 
61e1589f56SBarry Smith   Notes:
62e1589f56SBarry Smith   DMRegisterDynamic() may be called multiple times to add several user-defined DMs
63e1589f56SBarry Smith 
64e1589f56SBarry Smith   If dynamic libraries are used, then the fourth input argument (routine_create) is ignored.
65e1589f56SBarry Smith 
66e1589f56SBarry Smith   Sample usage:
67e1589f56SBarry Smith .vb
68e1589f56SBarry Smith     DMRegisterDynamic("my_da","/home/username/my_lib/lib/libO/solaris/libmy.a", "MyDMCreate", MyDMCreate);
69e1589f56SBarry Smith .ve
70e1589f56SBarry Smith 
71e1589f56SBarry Smith   Then, your DM type can be chosen with the procedural interface via
72e1589f56SBarry Smith .vb
73e1589f56SBarry Smith     DMCreate(MPI_Comm, DM *);
74e1589f56SBarry Smith     DMSetType(DM,"my_da_name");
75e1589f56SBarry Smith .ve
76e1589f56SBarry Smith    or at runtime via the option
77e1589f56SBarry Smith .vb
78e1589f56SBarry Smith     -da_type my_da_name
79e1589f56SBarry Smith .ve
80e1589f56SBarry Smith 
81e1589f56SBarry Smith   Notes: $PETSC_ARCH occuring in pathname will be replaced with appropriate values.
82e1589f56SBarry Smith          If your function is not being put into a shared library then use DMRegister() instead
83e1589f56SBarry Smith 
84e1589f56SBarry Smith   Level: advanced
85e1589f56SBarry Smith 
86e1589f56SBarry Smith .keywords: DM, register
87e1589f56SBarry Smith .seealso: DMRegisterAll(), DMRegisterDestroy(), DMRegister()
88e1589f56SBarry Smith M*/
89e1589f56SBarry Smith #if defined(PETSC_USE_DYNAMIC_LIBRARIES)
90e1589f56SBarry Smith #define DMRegisterDynamic(a,b,c,d) DMRegister(a,b,c,0)
91e1589f56SBarry Smith #else
92e1589f56SBarry Smith #define DMRegisterDynamic(a,b,c,d) DMRegister(a,b,c,d)
93e1589f56SBarry Smith #endif
94e1589f56SBarry Smith 
95014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMView(DM,PetscViewer);
96014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMLoad(DM,PetscViewer);
97014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMDestroy(DM*);
98014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreateGlobalVector(DM,Vec*);
99014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreateLocalVector(DM,Vec*);
100014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetLocalVector(DM,Vec *);
101014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRestoreLocalVector(DM,Vec *);
102014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetGlobalVector(DM,Vec *);
103014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRestoreGlobalVector(DM,Vec *);
104014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMClearGlobalVectors(DM);
105014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetNamedGlobalVector(DM,const char*,Vec*);
106014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRestoreNamedGlobalVector(DM,const char*,Vec*);
1072348bcf4SPeter Brune PETSC_EXTERN PetscErrorCode DMGetNamedLocalVector(DM,const char*,Vec*);
1082348bcf4SPeter Brune PETSC_EXTERN PetscErrorCode DMRestoreNamedLocalVector(DM,const char*,Vec*);
109014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetLocalToGlobalMapping(DM,ISLocalToGlobalMapping*);
110014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetLocalToGlobalMappingBlock(DM,ISLocalToGlobalMapping*);
111014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreateFieldIS(DM,PetscInt*,char***,IS**);
112014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetBlockSize(DM,PetscInt*);
11319fd82e9SBarry Smith PETSC_EXTERN PetscErrorCode DMCreateColoring(DM,ISColoringType,MatType,ISColoring*);
11419fd82e9SBarry Smith PETSC_EXTERN PetscErrorCode DMCreateMatrix(DM,MatType,Mat*);
115014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetMatrixPreallocateOnly(DM,PetscBool);
116014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreateInterpolation(DM,DM,Mat*,Vec*);
117014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreateInjection(DM,DM,VecScatter*);
118aa1993deSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMGetWorkArray(DM,PetscInt,PetscDataType,void*);
119aa1993deSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMRestoreWorkArray(DM,PetscInt,PetscDataType,void*);
120014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRefine(DM,MPI_Comm,DM*);
121014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCoarsen(DM,MPI_Comm,DM*);
122014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRefineHierarchy(DM,PetscInt,DM[]);
123014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCoarsenHierarchy(DM,PetscInt,DM[]);
124014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCoarsenHookAdd(DM,PetscErrorCode (*)(DM,DM,void*),PetscErrorCode (*)(DM,Mat,Vec,Mat,DM,void*),void*);
125014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRefineHookAdd(DM,PetscErrorCode (*)(DM,DM,void*),PetscErrorCode (*)(DM,Mat,DM,void*),void*);
126014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMRestrict(DM,Mat,Vec,Mat,DM);
127014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMInterpolate(DM,Mat,DM);
128014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetFromOptions(DM);
129ca266f36SBarry Smith PETSC_EXTERN PetscErrorCode DMViewFromOptions(DM,const char[]);
130ca266f36SBarry Smith 
131014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetUp(DM);
132014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreateInterpolationScale(DM,DM,Mat,Vec*);
133014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreateAggregates(DM,DM,Mat*);
134baf369e7SPeter Brune PETSC_EXTERN PetscErrorCode DMGlobalToLocalHookAdd(DM,PetscErrorCode (*)(DM,Vec,InsertMode,Vec,void*),PetscErrorCode (*)(DM,Vec,InsertMode,Vec,void*),void*);
135014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGlobalToLocalBegin(DM,Vec,InsertMode,Vec);
136014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGlobalToLocalEnd(DM,Vec,InsertMode,Vec);
137014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMLocalToGlobalBegin(DM,Vec,InsertMode,Vec);
138014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMLocalToGlobalEnd(DM,Vec,InsertMode,Vec);
13919fd82e9SBarry Smith PETSC_EXTERN PetscErrorCode DMConvert(DM,DMType,DM*);
140e1589f56SBarry Smith 
1416636e97aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMGetCoordinateDM(DM,DM*);
1426636e97aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMGetCoordinates(DM,Vec*);
1436636e97aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMSetCoordinates(DM,Vec);
1446636e97aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMGetCoordinatesLocal(DM,Vec*);
1456636e97aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMSetCoordinatesLocal(DM,Vec);
146e87bb0d3SMatthew G Knepley PETSC_EXTERN PetscErrorCode DMLocatePoints(DM,Vec,IS*);
1476636e97aSMatthew G Knepley 
1485dbd56e3SPeter Brune /* block hook interface */
149be081cd6SPeter Brune PETSC_EXTERN PetscErrorCode DMSubDomainHookAdd(DM,PetscErrorCode (*)(DM,DM,void*),PetscErrorCode (*)(DM,VecScatter,VecScatter,DM,void*),void*);
150be081cd6SPeter Brune PETSC_EXTERN PetscErrorCode DMSubDomainRestrict(DM,VecScatter,VecScatter,DM);
1515dbd56e3SPeter Brune 
152014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetOptionsPrefix(DM,const char []);
15319fd82e9SBarry Smith PETSC_EXTERN PetscErrorCode DMSetVecType(DM,VecType);
15419fd82e9SBarry Smith PETSC_EXTERN PetscErrorCode DMSetMatType(DM,MatType);
155014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetApplicationContext(DM,void*);
156014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetApplicationContextDestroy(DM,PetscErrorCode (*)(void**));
157014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetApplicationContext(DM,void*);
158014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetVariableBounds(DM,PetscErrorCode (*)(DM,Vec,Vec));
159014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMHasVariableBounds(DM,PetscBool *);
160b0ae01b7SPeter Brune PETSC_EXTERN PetscErrorCode DMHasColoring(DM,PetscBool *);
161014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMComputeVariableBounds(DM,Vec,Vec);
16293d92d96SBarry Smith 
16381d26defSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMCreateSubDM(DM, PetscInt, PetscInt[], IS *, DM *);
16416621825SDmitry Karpeev PETSC_EXTERN PetscErrorCode DMCreateFieldDecomposition(DM,PetscInt*,char***,IS**,DM**);
1658d4ac253SDmitry Karpeev PETSC_EXTERN PetscErrorCode DMCreateDomainDecomposition(DM,PetscInt*,char***,IS**,IS**,DM**);
166e30e807fSPeter Brune PETSC_EXTERN PetscErrorCode DMCreateDomainDecompositionScatters(DM,PetscInt,DM*,VecScatter**,VecScatter**,VecScatter**);
167e7c4fc90SDmitry Karpeev 
168014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetRefineLevel(DM,PetscInt*);
169014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetCoarsenLevel(DM,PetscInt*);
170014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMFinalizePackage(void);
171e1589f56SBarry Smith 
1725f1ad066SMatthew G Knepley PETSC_EXTERN PetscErrorCode VecGetDM(Vec, DM*);
1735f1ad066SMatthew G Knepley PETSC_EXTERN PetscErrorCode VecSetDM(Vec, DM);
174c688c046SMatthew G Knepley PETSC_EXTERN PetscErrorCode MatGetDM(Mat, DM*);
175c688c046SMatthew G Knepley PETSC_EXTERN PetscErrorCode MatSetDM(Mat, DM);
1765f1ad066SMatthew G Knepley 
177e1589f56SBarry Smith typedef struct NLF_DAAD* NLF;
178e1589f56SBarry Smith 
179bc2bf880SBarry Smith #define DM_FILE_CLASSID 1211221
1807da65231SMatthew G Knepley 
1817da65231SMatthew G Knepley /* FEM support */
182014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMPrintCellVector(PetscInt, const char [], PetscInt, const PetscScalar []);
183014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMPrintCellMatrix(PetscInt, const char [], PetscInt, PetscInt, const PetscScalar []);
1847da65231SMatthew G Knepley 
185014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetDefaultSection(DM, PetscSection *);
186014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetDefaultSection(DM, PetscSection);
187014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetDefaultGlobalSection(DM, PetscSection *);
188eaf8d80aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMSetDefaultGlobalSection(DM, PetscSection);
189014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMGetDefaultSF(DM, PetscSF *);
190014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMSetDefaultSF(DM, PetscSF);
191014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMCreateDefaultSF(DM, PetscSection, PetscSection);
192b21d0597SMatthew G Knepley PETSC_EXTERN PetscErrorCode DMGetPointSF(DM, PetscSF *);
193057b4bcdSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMSetPointSF(DM, PetscSF);
19488ed4aceSMatthew G Knepley 
195af122d2aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMGetNumFields(DM, PetscInt *);
196af122d2aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMSetNumFields(DM, PetscInt);
197af122d2aSMatthew G Knepley PETSC_EXTERN PetscErrorCode DMGetField(DM, PetscInt, PetscObject *);
198af122d2aSMatthew G Knepley 
1997da65231SMatthew G Knepley typedef struct {
2007da65231SMatthew G Knepley   PetscInt         numQuadPoints; /* The number of quadrature points on an element */
2017da65231SMatthew G Knepley   const PetscReal *quadPoints;    /* The quadrature point coordinates */
2027da65231SMatthew G Knepley   const PetscReal *quadWeights;   /* The quadrature weights */
2037da65231SMatthew G Knepley   PetscInt         numBasisFuncs; /* The number of finite element basis functions on an element */
2047da65231SMatthew G Knepley   PetscInt         numComponents; /* The number of components for each basis function */
2057da65231SMatthew G Knepley   const PetscReal *basis;         /* The basis functions tabulated at the quadrature points */
2067da65231SMatthew G Knepley   const PetscReal *basisDer;      /* The basis function derivatives tabulated at the quadrature points */
2077da65231SMatthew G Knepley } PetscQuadrature;
20883e5549fSMatthew G Knepley 
20992fc3d87SMatthew G Knepley typedef struct {
21092fc3d87SMatthew G Knepley   PetscQuadrature *quad;
21192fc3d87SMatthew G Knepley   void (**f0Funcs)(const PetscScalar[], const PetscScalar[], const PetscReal[], PetscScalar[]); /* The f_0 functions for each field */
21292fc3d87SMatthew G Knepley   void (**f1Funcs)(const PetscScalar[], const PetscScalar[], const PetscReal[], PetscScalar[]); /* The f_1 functions for each field */
21392fc3d87SMatthew G Knepley   void (**g0Funcs)(const PetscScalar[], const PetscScalar[], const PetscReal[], PetscScalar[]); /* The g_0 functions for each field pair */
21492fc3d87SMatthew G Knepley   void (**g1Funcs)(const PetscScalar[], const PetscScalar[], const PetscReal[], PetscScalar[]); /* The g_1 functions for each field pair */
21592fc3d87SMatthew G Knepley   void (**g2Funcs)(const PetscScalar[], const PetscScalar[], const PetscReal[], PetscScalar[]); /* The g_2 functions for each field pair */
21692fc3d87SMatthew G Knepley   void (**g3Funcs)(const PetscScalar[], const PetscScalar[], const PetscReal[], PetscScalar[]); /* The g_3 functions for each field pair */
2176fbadbe2SMatthew G Knepley   PetscScalar (**bcFuncs)(const PetscReal x[]); /* The boundary condition function for each field component */
21892fc3d87SMatthew G Knepley } PetscFEM;
21992fc3d87SMatthew G Knepley 
22083e5549fSMatthew G Knepley typedef enum {PETSC_UNIT_LENGTH, PETSC_UNIT_MASS, PETSC_UNIT_TIME, PETSC_UNIT_CURRENT, PETSC_UNIT_TEMPERATURE, PETSC_UNIT_AMOUNT, PETSC_UNIT_LUMINOSITY, NUM_PETSC_UNITS} PetscUnit;
221e87bb0d3SMatthew G Knepley 
222e87bb0d3SMatthew G Knepley struct _DMInterpolationInfo {
223e87bb0d3SMatthew G Knepley   MPI_Comm   comm;
224e87bb0d3SMatthew G Knepley   PetscInt   dim;    /*1 The spatial dimension of points */
225e87bb0d3SMatthew G Knepley   PetscInt   nInput; /* The number of input points */
226e87bb0d3SMatthew G Knepley   PetscReal *points; /* The input point coordinates */
227e87bb0d3SMatthew G Knepley   PetscInt  *cells;  /* The cell containing each point */
228e87bb0d3SMatthew G Knepley   PetscInt   n;      /* The number of local points */
229e87bb0d3SMatthew G Knepley   Vec        coords; /* The point coordinates */
230e87bb0d3SMatthew G Knepley   PetscInt   dof;    /* The number of components to interpolate */
231e87bb0d3SMatthew G Knepley };
232e87bb0d3SMatthew G Knepley typedef struct _DMInterpolationInfo *DMInterpolationInfo;
233e87bb0d3SMatthew G Knepley 
234e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationCreate(MPI_Comm, DMInterpolationInfo *);
235e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationSetDim(DMInterpolationInfo, PetscInt);
236e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationGetDim(DMInterpolationInfo, PetscInt *);
237e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationSetDof(DMInterpolationInfo, PetscInt);
238e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationGetDof(DMInterpolationInfo, PetscInt *);
239e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationAddPoints(DMInterpolationInfo, PetscInt, PetscReal[]);
240e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationSetUp(DMInterpolationInfo, DM, PetscBool);
241e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationGetCoordinates(DMInterpolationInfo, Vec *);
242e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationGetVector(DMInterpolationInfo, Vec *);
243e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationRestoreVector(DMInterpolationInfo, Vec *);
244e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationEvaluate(DMInterpolationInfo, DM, Vec, Vec);
245e87bb0d3SMatthew G Knepley PetscErrorCode DMInterpolationDestroy(DMInterpolationInfo *);
246e1589f56SBarry Smith #endif
247