CCEX-1.0.0
Loading...
Searching...
No Matches
cluster_dsjitb.h
1#ifndef __CCEX_CLUSTER_DSJ_H_
2#define __CCEX_CLUSTER_DSJ_H_
3
4
5#include <stdio.h>
6#include <stdlib.h>
7#include <string.h>
8#include <stdbool.h>
9#include "general.h"
10#include "bath.h"
11#include "utilities.h"
12#include "cluster.h"
13
14void clusterizeDsjItb(Cluster* cls, int*** cmap, float*** stmap, BathArray* ba);
15//double calCouplingStrength(double* spin1, double* spin2);
16void makeDuo13CwithCS(double*** Duo13CwithCS, int nspin, int*** cmap, float*** stmap);
17void jointSpinSpin(int** group, int len, int spin1, int spin2);
18void jointGroupSpin(int** group, int spin);
19void jointGroupGroup(int** group1, int** group2);
20void updateGroupChecker(int*** GroupChecker, int* newGroup, int newGroupNumber);
21int Delete_Int_2dArr(int*** arr, int row, int col, int delrow);
22int addNewGroup(int*** Groups, int* group, int order);
23void addInterBathPair(int*** Pairs, int spin1, int spin2);
24//void writeClusters(int** arr , int order,const char* fname);
25//void writeBathSpins(InputData* ID, Gyro* Gy);
26//void createDisjointClusters(CCE_group* CCE, InputData* ID, int order,int clusalgo, int nprocess, int rank);
27
28void sort2DArray(int*** arr,int ROWS, int COLS, int col);
29void QuickSort_Double_2d(double ***arr, int col, int left, int right);
30//void writeCoherenceEachCluster(double _Complex* arr, int len, const char* fname);
31void shrinkClusterO1(Cluster* cls);
32
33
34#endif // __CCEX_CLUSTER_H_
Definition bath.h:131
Definition cluster.h:16