From 439ddb1a626e45b7a62c3ec7afdbb5448f864d4b Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@pm.me>
Date: Mon, 4 Jul 2022 22:32:15 +0200
Subject: [PATCH] updated to remove sanitizers and only use periodic

---
 meson.build        | 2 +-
 meson_options.txt  | 2 +-
 src/liblbm_f32.fut | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meson.build b/meson.build
index a8be97a..ffa4771 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 project('palathark', 'c',
   version : '0.1',
-  default_options : ['warning_level=2', 'buildtype=debug', 'b_sanitize=address,undefined', 'b_ndebug=if-release'])
+  default_options : ['warning_level=2', 'buildtype=debug', 'b_ndebug=if-release'])
 
 lattice = get_option('lattice')
 precision = get_option('precision')
diff --git a/meson_options.txt b/meson_options.txt
index 46c7648..69d03b9 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,5 +1,5 @@
 option('futhark-backend', type: 'combo', choices: ['c', 'multicore', 'opencl', 'cuda'], value: 'c', description: 'Select the backend that Futhark code compiles to')
-option('lattice', type: 'combo', choices: ['D3Q27', 'D3Q19'], value: 'D3Q27', description: 'Select the lattice that the model uses')
+option('lattice', type: 'combo', choices: ['D3Q27', 'D3Q19'], value: 'D3Q19', description: 'Select the lattice that the model uses')
 option('precision', type: 'combo', choices: ['DBL', 'FLT'], value: 'FLT', description: 'Select the numerical precision offloating point numbers that the model uses')
 option('cavity3d', type: 'feature', value: 'enabled', description: 'Enable the feature to compile the cavity3d case')
 option('kida', type: 'feature', value: 'enabled', description: 'Enable the feature to compile the Kida case')
diff --git a/src/liblbm_f32.fut b/src/liblbm_f32.fut
index 81d9805..fbefef4 100644
--- a/src/liblbm_f32.fut
+++ b/src/liblbm_f32.fut
@@ -7,9 +7,9 @@ module sim_d3q27_reg_bfl_f32 = mk_sim d3q27_reg_bfl_f32
 
 entry main_d3q27_reg = sim_d3q27_reg_bfl_f32.run
 
-module sim_d3q19_reg_bfl_f32 = mk_sim d3q19_reg_bfl_f32
+module sim_d3q19_reg_periodic_f32 = mk_sim d3q19_reg_periodic_f32
 
-entry main_d3q19_reg = sim_d3q19_reg_bfl_f32.run
+entry main_d3q19_reg = sim_d3q19_reg_periodic_f32.run
 
 entry main_mcubes_polygonise = mcubes_polygonise_f32
 
-- 
GitLab