ESyS-Particle  4.0.1
MeshData2D.h
00001 
00002 //                                                         //
00003 // Copyright (c) 2003-2011 by The University of Queensland //
00004 // Earth Systems Science Computational Centre (ESSCC)      //
00005 // http://www.uq.edu.au/esscc                              //
00006 //                                                         //
00007 // Primary Business: Brisbane, Queensland, Australia       //
00008 // Licensed under the Open Software License version 3.0    //
00009 // http://www.opensource.org/licenses/osl-3.0.php          //
00010 //                                                         //
00012 
00013 #ifndef __MESHDATA2D_H
00014 #define __MESHDATA2D_H
00015 
00016 // -- IO includes --
00017 #include <iostream>
00018 using std::istream;
00019 
00028 struct MeshNodeData2D
00029 {
00030   int id;
00031   int tag;
00032   double x,y;
00033 
00034   void read(istream&);
00035 };
00036 
00045 struct MeshEdgeData2D
00046 {
00047   int id,tag;
00048   int p1,p2;
00049 
00050   void read(istream&);
00051 };
00052 
00053 #endif // __MESHDATA2D_H