Add struct for the data
This commit is contained in:
parent
f5404307e1
commit
1219b8c513
10
src/main.cpp
10
src/main.cpp
@ -3,9 +3,15 @@
|
||||
#include <iostream>
|
||||
#include <omp.h>
|
||||
|
||||
typedef struct data {
|
||||
double E = 0.;
|
||||
double E_squared = 0.;
|
||||
double M = 0.;
|
||||
double M_squared = 0.;
|
||||
double M_abs = 0.;
|
||||
} data_t;
|
||||
|
||||
int main()
|
||||
{
|
||||
IsingModel test(5, 1.);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user