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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1388 - (hide annotations)
Fri Jan 11 07:45:58 2008 UTC (12 years, 1 month ago) by trankine
Original Path: trunk/finley/src/NodeMapping.h
File MIME type: text/plain
File size: 1710 byte(s)
And get the *(&(*&(* name right
1 ksteube 1313
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