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

Contents of /trunk/finley/src/Mesh_dump.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1315 - (show annotations)
Tue Sep 25 02:41:13 2007 UTC (11 years, 11 months ago) by ksteube
File MIME type: text/plain
File size: 2299 byte(s)
Copied more files from MPI branch to 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
18 /* Finley: Mesh: dump and read mesh to/from NetCDF file */
19
20 /**************************************************************/
21
22 #include "Mesh.h"
23
24 /**************************************************************/
25
26
27 void Finley_Mesh_dump(Finley_Mesh *in,char* fname) {
28 /*
29 dump:
30 size, rank
31 in->Name;
32 in->order;
33 in->reduced_order;
34 in->Nodes;
35 Id;
36 Tag;
37 globalDegreesOfFreedom
38 globalReducedDOFIndex
39 globalReducedNodesIndex
40 globalNodesIndex
41 Coordinates
42 degreesOfFreedomDistribution->distribution
43 in->Elements;
44 ReferenceElement->ElementTypeId
45 Owner;
46 Id;
47 Tag;
48 Nodes;
49 Color;
50 in->FaceElements;
51 ReferenceElement->ElementTypeId
52 Owner;
53 Id;
54 Tag;
55 Nodes;
56 Color;
57 in->ContactElements;
58 ReferenceElement->ElementTypeId
59 Owner;
60 Id;
61 Tag;
62 Nodes;
63 Color;
64 in->Points;
65 ReferenceElement->ElementTypeId
66 Owner;
67 Id;
68 Tag;
69 Nodes;
70 Color;
71 in->TagMap;
72 name
73 tag_key
74 next;
75 ...
76 */
77 Finley_setError(IO_ERROR,"Mesh_dump: not implemented yet.");
78 return;
79 }
80 Finley_Mesh* Finley_Mesh_load(char* fname) {
81 Finley_Mesh* out=NULL;
82 index_t *distribution=NULL;
83 Finley_setError(IO_ERROR,"Mesh_load: not implemented yet.");
84 /* call Finley_Mesh_createMappings(out,distribution); */
85 return out;
86 }

  ViewVC Help
Powered by ViewVC 1.1.26