Go to the source code of this file.
Classes | |
struct | utt_patches |
struct | utt_time_measurement |
struct | utt_paraview_field_descriptor |
Defines | |
#define | utm_max(x, y) ((x)>(y)?(x):(y)) |
#define | utm_min(x, y) ((x)<(y)?(x):(y)) |
#define | utm_abs(x) ((x)<0?-(x):(x)) |
#define | UTM_SAFE_FREE_PTR(ptr) if((ptr)!=NULL) { free((ptr));(ptr)=NULL; }; |
#define | UTM_SAFE_FREE_PTR_ARRAY(p_ar, n) if((p_ar)!=NULL){int i=0; for(;i<n;++i){UTM_SAFE_FREE_PTR(p_ar[i]);}}; |
#define | UTC_LIST_END_MARK -1 |
#define | UTC_MAXEL_PATCH 100 |
#define | UTC_MAXNO_PATCH 200 |
#define | UTC_MAX_INT_ENT_NEIG 300 |
Enumerations | |
enum | ute_paraview_flags { UTE_POINT_DATA = 0, UTE_CELL_DATA, UTE_SCALARS, UTE_VECTORS, UTE_TENSORS, UTE_DOUBLE, UTE_INT, UTE_VTK_LEGACY_FORMAT, UTE_VTK_XML, UTE_LAST } |
Functions | |
void | utr_ctrl_c_signal_handler (int param) |
void | utr_reset_time_counters (int Control) |
void | utr_display_time_counters (int Control) |
int | utr_set_interactive (char *Workdir, int Argc, char **Argv, FILE **Interactive_input, FILE **Interactive_output) |
int | utr_initialize_mesh (FILE *Interactive_output, const char *Work_dir, char Mesh_type, const char *Mesh_file) |
int | utr_initialize_field (FILE *Interactive_output, char Field_type, char Control, int Mesh_id, int Nreq, int Nr_sol, int Pdeg, char *Filename, double(*Fun_p)(int, double *, int)) |
int | utr_write_paraview_std_lin (int Mesh_id, int Field_id, const char *Workdir, const char *Filename, ute_paraview_flags VTK_file_version) |
utr_write_paraview_std_lin - to dump std_lin mesh and field in Paraview format | |
int | utr_write_paraview_mesh (int Mesh_id, const char *Work_dir, const char *Filename, ute_paraview_flags VTK_file_version) |
void | utr_write_paraview_partmesh (int Mesh_id, const char *Work_dir, const char *Filename, int *Parts, ute_paraview_flags VTK_file_version) |
int | utr_write_paraview_fields (const char *Work_dir, const char *Filename, double Current_time, const int N_descriptors, utt_paraview_field_descriptor *Field_descriptors, ute_paraview_flags VTK_file_version) |
int | utr_write_paraview_tensor (int Field_id, FILE *File, int *Dofs_write, double dt) |
int | utr_write_paraview_bc (int Mesh_id, const char *Work_dir, const char *Filename, ute_paraview_flags VTK_file_version) |
int | utr_get_ent_dofs (int Problem_id, int Dof_ent_type, int Dof_ent_id, int Nrdofs, int Vect_id, double *Vect_dofs) |
int | utr_create_patches (int Problem_id, utt_patches **patches_p) |
int | utr_create_patches_small (int Problem_id, utt_patches **patches_p) |
int | utr_recover_derivatives (int Field_id, int Sol_vec_id, int Nr_patches, utt_patches *patches) |
int | utr_recover_derivatives_small (int Field_id, int Sol_vec_id, int Nr_patches, utt_patches *patches) |
int | utr_adapt (int Problem_id, char *Work_dir, FILE *Interactive_input, FILE *Interactive_output) |
int | utr_test_refinements (int Problem_id, char *Work_dir, FILE *Interactive_input, FILE *Interactive_output) |
int | utr_manual_refinement (int Problem_id, char *Work_dir, FILE *Interactive_input, FILE *Interactive_output) |
int | utr_get_list_ent (int Problem_id, int *Nr_int_ent, int **List_int_ent_type, int **List_int_ent_id, int *Nr_dof_ent, int **List_dof_ent_type, int **List_dof_ent_id, int **List_dof_ent_nrdofs, int *Nrdofs_glob, int *Max_dofs_per_dof_ent) |
int | utr_get_list_dof_ent (int Problem_id, int *Nr_int_ent, int **List_int_ent_type, int **List_int_ent_id, int *Nr_dof_ent, int **List_dof_ent_type, int **List_dof_ent_id, int **List_dof_ent_nrdofs, int *Nrdofs_glob, int *Max_dofs_per_dof_ent) |
int | utr_get_list_int_ent (int Problem_id, int *Nr_int_ent, int **List_int_ent_type, int **List_int_ent_id) |
int | utr_get_list_ent_coarse (int Problem_id, int Nr_int_ent_fine, int *List_int_ent_type_fine, int *List_int_ent_id_fine, int Nr_dof_ent_fine, int *List_dof_ent_type_fine, int *List_dof_ent_id_fine, int *List_dof_ent_nrdof_fine, int Nrdof_glob_fine, int Max_dof_per_ent_fine, int *Pdeg_coarse_p, int *Nr_int_ent_p, int **List_int_ent_type, int **List_int_ent_id, int *Nr_dof_ent_p, int **List_dof_ent_type, int **List_dof_ent_id, int **List_dof_ent_nrdofs, int *Nrdofs_glob_p, int *Max_dofs_per_dof_ent_p) |
int | utr_get_max_num_grid_levels (int Problem_id) |
int | utr_dof_ent_sons (int Problem_id, int Ent_type, int Ent_id, int *Ent_sons) |
int | utr_comp_stiff_mat (int Problem_id, int Int_ent_type, int Int_ent_id, int Comp_sm, int *Pdeg_vec, int *Nr_dof_ent, int *List_dof_ent_type, int *List_dof_ent_id, int *List_dof_ent_nrdofs, int *Nrdofs_loc, double *Stiff_mat, double *Rhs_vect, char *Rewr_dofs) |
int | utr_create_assemble_stiff_mat (int Problem_id, int Level_id, int Comp_type, int *Pdeg_coarse_p, int Nr_int_ent, int *L_int_ent_type, int *L_int_ent_id, int Nr_colors_elems, int *L_color_index_elems, int Nr_colors_faces, int *L_color_index_faces, int *Asse_pos_first_dof_int_ent, int *Assembly_table, int *Pos_first_dof_int_ent, int *Local_to_global, int Max_dofs_int_ent) |
int | utr_rewr_sol (int Field_id, int Sol_from, int Sol_to) |
void | utr_renumber (int Nr_vertices, int *Nrneig, int **L_neig, int *Permutation_array) |
double | utr_average_sol_el (int Field_id, int El) |
double * | utr_dvector (int ncom, char error_text[]) |
int * | utr_ivector (int ncom, char error_text[]) |
void | utr_d_zero (double *Vec, int Num) |
int | utr_chk_list (int Num, int *List, int Ll) |
int | utr_put_list (int Num, int *List, int Ll) |
double | utr_mat3_inv (const double *mat, double *mat_inv) |
void | utr_vec3_add (const double vec_a[3], const double vec_b[3], double vec_c[3]) |
void | utr_vec3_subst (const double vec_a[3], const double vec_b[3], double vec_c[3]) |
void | utr_vec3_prod (const double *vec_a, const double *vec_b, double *vec_c) |
double | utr_vec3_mxpr (const double *vec_a, const double *vec_b, const double *vec_c) |
double | utr_vec3_length (const double *vec) |
void | utr_mat3vec (const double *m1, const double *v1, double *v2) |
void | utr_mat3mat (const double *m1, const double *m2, double *m3) |
double | utr_vec3_dot (const double vec_a[3], const double vec_b[3]) |
double | utr_vec3_angle (const double vec_a[3], const double vec_b[3]) |
double | utr_mat_det (const double *m, int n, char store, double *det) |
void | utr_skip_rest_of_line (FILE *Fp) |
int | utr_fprintf_double (FILE *stream, int sdigits, double value) |
void | utr_heap_sort (int *Ind_array, double *Val_array) |
int | utr_insert_sort (int *A, int p, int k) |
int | utr_io_read_mesh (const int Mesh_id, const char *Working_dir, const char *Mesh_files_regex, const char Mesh_type) |
Definitions:. | |
int | utr_export_field (int Field_id, int Nreq, int Select, int Accuracy, char *Filename) |
int | utr_io_export_mesh (FILE *Interactive_output, const int Mesh_id, char Mesh_type, char *Mesh_file) |
int | utr_menu_export_mesh (FILE *Interactive_output, FILE *Interactive_input, const int Mesh_id, const char *Work_dir, char *Mesh_file) |
int | utr_io_write_img_to_pbm (const char *Work_dir, const char *Filename, const char *Comment, const int Width, const int Height, const int Max_color_component_value, const int Magic_number, const unsigned char *Img_data, FILE *Interactive_output) |
int | utr_io_write_mesh_info_to_PAM (int Mesh_id, const char *Work_dir, const char *Filename, const char *Comment, FILE *Interactive_output) |
int | utr_io_write_img_to_pam (const char *Work_dir, const char *Filename, const int Width, const int Height, const int Depth, const int Maxval, const char *TUPLTYPE, const char *Img_data, FILE *Interactive_output) |
int | utr_io_write_img_to_pnm (const char *Work_dir, const char *Filename, const char *Comment, const int Width, const int Height, const int Max_color_component_value, const int Magic_number, const char *Img_data, FILE *Interactive_output) |
int | utr_color_int_ent_for_assembly (int Problem_id, int Level_id, int nr_elems, int nr_faces, int *L_int_ent_type, int *L_int_ent_id, int nr_dof_ent, int *nr_int_ent_loc, int **l_int_ent_index, int *Nr_colors_elems, int **L_color_index_elems, int *Nr_colors_faces, int **L_color_index_faces) |
int | utr_ctrl_pts_init (const char *Work_dir, const char *Filename, const int N_solutions, const char *Target_ctrl_pts_filename) |
utr_ctrl_pts_init - to initialize 'control points' functionality. It is coupled with utr_io_results_... functions, but to simplify useage this function wraps up several setup steps to make it work properly. | |
int | utr_ctrl_pts_add_values (const int Field_id) |
utr_ctrl_pts_add_values - this function computes values at previously defined control points and stores them until they will we written to the file when utr_io_result_write_values_and_proceed will be called. NOTE that before this function can be called, the utr_ctrl_pts_init must be called! This function can be called several times, to store more values from different fields, but no more then first N_solutions given in utr_ctrl_pts_init will be saved to file. | |
int | utr_generate_int_ent_coloring (const int nr_int_ent, int **elem2elem, int *Elem_colors) |
Variables | |
utt_time_measurement | utv_time |
int | utv_SIGINT_not_caught |
#define utm_abs | ( | x | ) | ((x)<0?-(x):(x)) |
#define utm_max | ( | x, | |||
y | ) | ((x)>(y)?(x):(y)) |
standard macro for max and min and abs
#define utm_min | ( | x, | |||
y | ) | ((x)<(y)?(x):(y)) |
#define UTM_SAFE_FREE_PTR_ARRAY | ( | p_ar, | |||
n | ) | if((p_ar)!=NULL){int i=0; for(;i<n;++i){UTM_SAFE_FREE_PTR(p_ar[i]);}}; |