Actual source code: 1dimpl.h
1: /* $Id: 1dimpl.h,v 1.3 1999/11/17 16:23:07 knepley Exp $ */
2: /*
3: This private file should not be included in users' code.
4: */
6: #ifndef __1DIMPL_H
8: #include "src/mesh/impls/triangular/triimpl.h"
9: #include "src/mesh/impls/triangular/1d/tri1dView.h"
11: typedef struct {
12: /* Partitioning order */
13: PetscTruth isNodePartitioned; /* The flag indicating that the nodes have been partitioned */
14: /* Node partition structures */
15: AO nodeOrdering; /* The renumbering of the nodes */
16: int numLocNodes; /* N: The number of local nodes */
17: int numNodes; /* The global number of nodes */
18: int numOverlapNodes; /* N+G: The number of local nodes + ghost nodes */
19: int *firstNode; /* [P]: The first node in each domain */
20: int *ghostNodes; /* [G]: The global node number of each ghost node */
21: int *ghostNodeProcs; /* [G]: The domain of each ghost node */
22: /* Boundary node partition structures */
23: int numLocBdNodes; /* The number of local boundary nodes */
24: int numBdNodes; /* The global number of boundary nodes */
25: int numOverlapBdNodes; /* The number of local + ghost boundary nodes */
26: int *firstBdNode; /* The first boundary node in each domain */
27: int *ghostBdNodes; /* The index into ghostNodes of each ghost boundary node */
28: } Partition_Triangular_1D;
30: #endif /* __1DIMPL_H */