-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathParameters.h
28 lines (22 loc) · 885 Bytes
/
Parameters.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
//* DEFINE ALL THE PARAMETERS HERE */
#define iter 1
#define VER 32 // width of lattice matrix. for ex 6*6 lattice
#define DIM 2 // dimension of lattice // here 2; square lattice
#define latt_pc 1 // percentage of lattice points where atom exist
#define upspin_pc 0.5 // percentage of upspin in lattice
#define w 1 // omega(w) for bimmodal distribution of Bi in eq 6.1
#define N VER * VER // width of edge matrix. for ex 36*36 edges
#define V N+2 // source + width of edge matrix + sink
#define J 1
#define INFINITE 100000
#define HIGH INFINITE
//delta is multipling factor with Bmat
#define del_beg .7
#define del_end 1.5
#define del_inc .1
// text substitute
#define tab "\t"
#define d " : "
// used in push relabel
#define MIN(X,Y) ((X) < (Y) ? (X) : (Y))