Add struct for the data

This commit is contained in:
Cory Balaton 2023-10-31 20:11:25 +01:00
parent f5404307e1
commit 1219b8c513
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B

View File

@ -3,9 +3,15 @@
#include <iostream> #include <iostream>
#include <omp.h> #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() int main()
{ {
IsingModel test(5, 1.);
return 0; return 0;
} }