Main Page   Modules   Compound List   File List   File Members  

DomainBuilder.h

Go to the documentation of this file.
00001 /* $\Id$ 
00002    DomainBuilder.h in library gridlock
00003    Written by Samit Ahlawat <ahlawat2@uiuc.edu>
00004    Distributed under GPL (GNU Public License)
00005 */
00006 
00012 #ifndef _DOMAIN_BUILDER_H_
00013 #define _DOMAIN_BUILDER_H_
00014 
00015 #include "common_headers.h"
00016 
00017 /*************************************************
00018  * This is the default file reader. You could    *
00019  * provide your own file reader and register that*
00020  * with the object of class Domain.              *
00021  *************************************************/
00022 
00023 void default_file_reader (const char* file_name, struct Domain* d);
00024 
00031 void add_cell (int global_num, int* face_num_array, int fc_num, struct Domain* domain);
00032 
00039 void add_face (int global_num, int* edge_num_array, int ed_num, struct Domain* domain);
00040         
00046 void add_edge (int global_num, int vertex_nums[2], struct Domain* domain);
00047         
00054 void add_vertex (int global_num, float* coordinates, struct Domain* domain);
00055 
00062 void input_complete (struct Domain* domain);
00063 
00064 
00065 void find_boundary_elements (struct Domain* domain);
00066 
00072 void specify_file_reader (FILE_READER_PTR f_reader);
00073         
00074 void read_file (const char* file_name, struct Domain* domain);
00075 
00076 #endif

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