/[escript]/trunk-mpi-branch/finley/src/Mesh_dump.c
ViewVC logotype

Contents of /trunk-mpi-branch/finley/src/Mesh_dump.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1230 - (show annotations)
Thu Aug 9 06:19:35 2007 UTC (12 years, 9 months ago) by gross
File MIME type: text/plain
File size: 2548 byte(s)
the mappings of nodes of local and global DOFs added but program still crashes.

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
15 /* Finley: Mesh: dump and read mesh to/from NetCDF file */
16
17 /**************************************************************/
18
19 /* Author: gross@access.edu.au */
20 /* Version: $Id:*/
21
22 /**************************************************************/
23
24 #include "Mesh.h"
25
26 /**************************************************************/
27
28
29 void Finley_Mesh_dump(Finley_Mesh *in,char* fname) {
30 /*
31 dump:
32 size, rank
33 in->Name;
34 in->order;
35 in->reduced_order;
36 in->Nodes;
37 Id;
38 Tag;
39 globalDegreesOfFreedom
40 globalReducedDOFIndex
41 globalReducedNodesIndex
42 globalNodesIndex
43 Coordinates
44 degreesOfFreedomDistribution->distribution
45 in->Elements;
46 ReferenceElement->ElementTypeId
47 Owner;
48 Id;
49 Tag;
50 Nodes;
51 Color;
52 in->FaceElements;
53 ReferenceElement->ElementTypeId
54 Owner;
55 Id;
56 Tag;
57 Nodes;
58 Color;
59 in->ContactElements;
60 ReferenceElement->ElementTypeId
61 Owner;
62 Id;
63 Tag;
64 Nodes;
65 Color;
66 in->Points;
67 ReferenceElement->ElementTypeId
68 Owner;
69 Id;
70 Tag;
71 Nodes;
72 Color;
73 in->TagMap;
74 name
75 tag_key
76 next;
77 ...
78 */
79 Finley_setError(IO_ERROR,"Mesh_dump: not implemented yet.");
80 return;
81 }
82 Finley_Mesh* Finley_Mesh_load(char* fname) {
83 Finley_Mesh* out=NULL;
84 index_t *distribution=NULL;
85 Finley_setError(IO_ERROR,"Mesh_load: not implemented yet.");
86 /* call Finley_Mesh_createMappings(out,distribution); */
87 return out;
88 }

  ViewVC Help
Powered by ViewVC 1.1.26