1
/* $Id: unstructured_2d.h,v 1.2 2000/02/01 17:02:52 knepley Exp $ */
3
/* Main include file for the Stokes flow test problem */
5
#ifndef __UNSTRUCTURED_2D_H
6
#define __UNSTRUCTURED_2D_H
12
Mesh mesh; /* The problem mesh */
14
int numLocalNodes; /* The number of nodes on an element */
15
MeshBoundary2D boundaryCtx; /* Describes the domain boundary */
16
MeshGeometryContext geometryCtx; /* Describes the domain geometry */
18
int numRefine; /* The number of refinement steps */
19
int numCoarsen; /* The number of coarsening steps */
21
typedef struct _MeshContext *MeshContext;
23
/* Creation functions */
24
extern int MeshContextCreate(MPI_Comm, MeshContext *);
25
extern int MeshContextDestroy(MeshContext);
28
extern int MeshContextSetup(MeshContext);
29
extern int MeshContextCleanup(MeshContext);
30
extern int MeshContextCreateMesh(MeshContext);
31
extern int MeshContextRefineMesh(MeshContext);
32
extern int MeshContextCoarsenMesh(MeshContext);
33
extern int MeshContextDestroyMesh(MeshContext);
35
/* Checking functions */
37
/* Callback functions */
39
/* Main computation */
40
extern int MeshContextRun(MeshContext);
42
#endif /* __UNSTRUCTURED_2D_H */