/[escript]/trunk/dudley/src/NodeMapping.h
ViewVC logotype

Contents of /trunk/dudley/src/NodeMapping.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3247 - (show annotations)
Wed Oct 6 05:53:06 2010 UTC (9 years, 4 months ago) by caltinay
Original Path: branches/domexper/dudley/src/NodeMapping.h
File MIME type: text/plain
File size: 1699 byte(s)
Fixed name clashes between dudley and finley so both can be used
simultaneously.

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14 /* */
15 /* NodeMapping provides a mapping from the local nodes typically to the degrees of freedom, */
16 /* the reduced degrees of freedom or the reduced node set */
17 /* */
18
19 #ifndef INC_DUDLEY_NODEMAPPING
20 #define INC_DUDLEY_NODEMAPPING
21
22 #include "esysUtils/Esys_MPI.h"
23
24 struct Dudley_NodeMapping {
25 dim_t numNodes; /* number of FEM nodes */
26 index_t *target; /* target[i] defines the target if FEM node i =0,...,numNodes */
27 index_t unused; /* target[i]=unused defines that no target is defined for FEM node i */
28 dim_t numTargets; /* number of targets */
29 index_t *map; /* maps the target nodes back to the FEM nodes: target[map[i]]=i */
30 dim_t reference_counter;
31 };
32 typedef struct Dudley_NodeMapping Dudley_NodeMapping;
33
34 Dudley_NodeMapping *Dudley_NodeMapping_alloc(dim_t numNodes, index_t *target, index_t unused);
35 void Dudley_NodeMapping_free(Dudley_NodeMapping *);
36 Dudley_NodeMapping *Dudley_NodeMapping_getReference(Dudley_NodeMapping *in);
37
38 #endif

  ViewVC Help
Powered by ViewVC 1.1.26