From 6c76b3516b390bca437e3f5130c67375ee762189 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Thu, 30 Jan 2025 17:46:42 -0500 Subject: [PATCH] [bug] fix cfg.steps.x does not affect voxel size bug, close #107 --- src/mmc_cu_host.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mmc_cu_host.cu b/src/mmc_cu_host.cu index 03e7017..7e8167c 100644 --- a/src/mmc_cu_host.cu +++ b/src/mmc_cu_host.cu @@ -267,7 +267,7 @@ void mmc_run_simulation(mcconfig* cfg, tetmesh* mesh, raytracer* tracer, GPUInfo mesh->elemlen, cfg->mcmethod, cfg->method, - 1.f / cfg->unitinmm, + 1.f / cfg->steps.x, cfg->srcdir.w, mesh->nn, mesh->ne,