From 1219b8c5134a92a59c921e7d16b0d0402417004f Mon Sep 17 00:00:00 2001 From: Cory Date: Tue, 31 Oct 2023 20:11:25 +0100 Subject: [PATCH] Add struct for the data --- src/main.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 73a1a22..221aaee 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,9 +3,15 @@ #include #include +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; }