00001
00002
00003
00004
00005
00006
00012 #ifndef _DOMAIN_BUILDER_H_
00013 #define _DOMAIN_BUILDER_H_
00014
00015 #include "common_headers.h"
00016
00017
00018
00019
00020
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