00001 #ifndef UTH_BC_H_ 00002 #define UTH_BC_H_ 00003 00004 #include "uth_mesh.h" 00005 00006 #ifdef __cplusplus 00007 extern "C" 00008 { 00009 #endif 00010 00054 00055 00056 typedef struct { 00057 int BC_num; 00058 int Ids[2]; 00059 utt_mesh_bc_type Id_type; 00060 } utt_bc_assignment; 00061 00062 00063 int utr_bc_read_to_insert_assigments(const char *Work_dir, 00064 const char *Filename, 00065 FILE *Interactive_output); 00066 00067 int utr_bc_to_insert_n_assigments(); 00068 00069 const utt_bc_assignment* utr_bc_to_insert_get_assigments( ); 00070 00071 int utr_bc_to_insert_completed(); 00072 00073 00082 int utr_bc_read_block_assigments(const char *Work_dir, 00083 const char *Filename, 00084 FILE *Interactive_output); 00085 00092 int utr_bc_get_blockID(int groupID); 00093 00099 int utr_bc_get_n_block_assignments(); 00100 00102 // * 00103 // * \param number const int 00104 // * \param bc_num_to_set utt_bc_assignment* 00105 // * \return int 00106 // * 00107 // */ 00108 //int utr_bc_get_assignment(const int number, utt_bc_assignment * bc_num_to_set); 00109 00110 double utr_temp2block_id(int id); 00111 int utr_temp2block_size(); 00112 00113 void utr_bc_clear_all(); 00114 // end of group 00116 00117 #ifdef __cplusplus 00118 } 00119 #endif 00120 00121 #endif // UTH_BC_H_