FrontISTR  5.7.1
Large-scale structural analysis program with finit element method
separator.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #define NUM_CONTROL_PARAS 9
7 /*
8 typedef struct _tmp_grp_inf {
9  int num_of_item;
10  int *item;
11 } Tmp_grp_inf;
12 */
13 
14 typedef struct _separation_result {
18  int *lgraph;
19  int *rgraph;
20  int *mseparator;
22 
23 typedef struct _control_para_struct {
24  char adaptive_repartition[4];
25  int num_criteria;
26  float *balance_rate;
27  int num_repartition;
28  float itr_rate;
29  int wgtflag;
30  /* 0----- no weights (vwgt and adjwgt are both NULL
31  1 ---- Weights on the edges only (vwgt is NULL)
32  2 ----- Weights on the vertices only (adjwgt is NULL)
33  3 ----- Weights on both the vertices and edges)
34  */
35  char vwgt_filename[128];
36  char adjwgt_filename[128];
37  float *machine_wgt;
38  char output_filename[128];
40 
41 typedef struct _result_partition_struct {
42  int edgecut;
43  int t_node;
44  int *part;
46 
47 struct _adj_find_struct {
48  int vertex_num;
50 };
51 typedef struct _adj_find_struct Adj_find;
52 
53 struct _import_link_struct {
54  int node_num; /* local_id in current PE */
55  int local_id; /* local_id in import PE */
57 };
59 void separator_print_exit(char *str_msg);
60 void separator_memory_exit(char *str_msg);
struct _separation_result Separator_result
struct _result_partition_struct Result_part
struct _control_para_struct Control_para
void separator_memory_exit(char *str_msg)
Definition: mem_util.c:9
void separator_print_exit(char *str_msg)
Definition: mem_util.c:18
struct _adj_find_struct * next_vertex
Definition: hecmw_repart.h:60
char adjwgt_filename[128]
Definition: hecmw_repart.h:47
char vwgt_filename[128]
Definition: hecmw_repart.h:46
char adaptive_repartition[4]
Definition: hecmw_repart.h:35
char output_filename[128]
Definition: hecmw_repart.h:49