/[escript]/trunk-mpi-branch/finley/src/IndexList.h
ViewVC logotype

Contents of /trunk-mpi-branch/finley/src/IndexList.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1087 - (show annotations)
Thu Apr 12 10:01:47 2007 UTC (12 years, 2 months ago) by gross
File MIME type: text/plain
File size: 1833 byte(s)
the MPI version of PASO.PCG is running. 
There is a bug in the rectangular mesh generators but they need to be
revised in any case to clean up the code.


1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12 /**************************************************************/
13
14 /* Finley: Converting an element list into a matrix shape */
15
16 /**************************************************************/
17
18 /* Author: gross@access.edu.au */
19 /* Version: $Id$ */
20
21 /**************************************************************/
22
23 #ifndef INC_FINLEY_INDEXLIST
24 #define INC_FINLEY_INDEXLIST
25
26 #include "Finley.h"
27 #include "ElementFile.h"
28 #include "Mesh.h"
29
30 /* structure to build system matrix */
31
32 #define INDEXLIST_LENGTH 85
33
34 typedef struct Finley_IndexList {
35 index_t index[INDEXLIST_LENGTH];
36 dim_t n;
37 struct Finley_IndexList *extension;
38 } Finley_IndexList;
39
40 int Finley_IndexList_localToGlobal(Finley_NodeDistribution* dofDistribution, int localIndex);
41 void Finley_IndexList_insertElements(Finley_IndexList*, Finley_Mesh*, Finley_ElementFile*,dim_t, index_t*,dim_t, index_t*);
42 void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);
43 void Finley_IndexList_toArray(Finley_IndexList*, index_t*);
44 dim_t Finley_IndexList_count(Finley_IndexList*);
45 void Finley_IndexList_free(Finley_IndexList*);
46
47 /* this will go */
48 #ifdef PASO_MPI
49 int Finley_IndexList_localToGlobal(Finley_NodeDistribution *dofDistribution, int localIndex);
50 #endif
51
52 #endif /* #ifndef INC_FINLEY_INDEXLIST */

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26