Main Page   Modules   Compound List   File List   File Members  

Vertex.h

Go to the documentation of this file.
00001 /* $\Id$ 
00002    Vertex.h in library gridlock
00003    Written by Samit Ahlawat <ahlawat2@uiuc.edu>
00004    Distributed under GPL (GNU Public License)
00005 */
00006 
00013 #ifndef _VERTEX_H_
00014 #define _VERTEX_H_
00015 
00016 #include "common_headers.h"
00017 
00018 
00019 /******************************************************
00020  * Representation of class Vertex                     *
00021  ******************************************************/
00022 
00031 struct Vertex
00032 {
00033         /********************************************
00034          *  |  Your vertex based variables here |   *
00035          * \|/                                 \|/  *
00036          *  '                                   '   *
00037          ********************************************/
00038 
00039 
00040         /********************************************
00041          *  .                                   .   *
00042          * /|\Your vertex based variables above/|\  *
00043          *  |                                   |   *
00044          ********************************************/
00045         
00046         float coordinates[3];
00047         
00048         short boundary_vertex;
00049         
00050         int global_vertex_number;
00051 
00052 };
00053 
00054 void vertex_init (float* coor, int glob_num, struct Vertex* vt);
00055 
00056 void print_vt_debug_info (struct Vertex* vt);
00057 
00058 void output_vertex (FILE* fp, struct Vertex* vt);
00059 
00060 #endif

Generated on Sun Nov 27 23:41:48 2005 by doxygen1.2.18