-
Notifications
You must be signed in to change notification settings - Fork 24
/
partition.h
21 lines (17 loc) · 1.15 KB
/
partition.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PARTITION_H
#define PARTITION_H
#include "mpi.h"
#include <stdio.h>
#include <stdlib.h>
#include "structs.h"
#include "system.h"
#include "sort.h"
//#include "metis.h"
extern int my_rank;
extern int np;
int* Partition_System_By_Leaves(Link** sys,unsigned int N,Link** leaves,unsigned int numleaves,unsigned int** my_sys,unsigned int* my_N,TransData* my_data,short int *getting);
int* Partition_System_By_Leaves_2(Link** sys,unsigned int N,Link** leaves,unsigned int numleaves,unsigned int** my_sys,unsigned int* my_N,TransData* my_data,short int *getting);
//int* Partition_METIS_Traditional(Link** sys,unsigned int N,Link** leaves,unsigned int numleaves,unsigned int** my_sys,unsigned int* my_N,TransData* my_data,short int *getting,UnivVars* GlobalVars);
//int* Partition_METIS_RainChanges(Link** sys,unsigned int N,Link** leaves,unsigned int numleaves,unsigned int** my_sys,unsigned int* my_N,TransData* my_data,short int *getting,UnivVars* GlobalVars);
//int* Partition_METIS_RainVolume(Link** sys,unsigned int N,Link** leaves,unsigned int numleaves,unsigned int** my_sys,unsigned int* my_N,TransData* my_data,short int *getting,UnivVars* GlobalVars);
#endif