ESyS-Particle  4.0.1
MeshData.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __MESHDATA_H
14 #define __MESHDATA_H
15 
16 #include "Foundation/vec3.h"
17 
18 #include <iostream>
19 
24 {
25  MeshNodeData();
26 
27  MeshNodeData(int id, const Vec3 &pt, int tag=0);
28 
29  int id;
30  int tag;
31  double x,y,z;
32 
33  void read(std::istream&);
34 };
35 
40 {
41  MeshTriData();
42 
43  MeshTriData(int id, int nodeId0, int nodeId1, int nodeId2, int tag=0);
44 
45  int id,tag;
46  int p1,p2,p3;
47 
48  void read(std::istream&);
49 };
50 
51 
52 #endif // __MESHDATA_H