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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1313 - (show annotations)
Tue Sep 25 01:44:26 2007 UTC (11 years, 9 months ago) by ksteube
File MIME type: text/plain
File size: 1710 byte(s)
Copied a handful of files from trunk-mpi-branch into trunk

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

  ViewVC Help
Powered by ViewVC 1.1.26