From cd746df6dba5fc4390abd217092a2a63f47600f1 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Wed, 6 Nov 2024 20:41:56 -0500 Subject: [PATCH] Revert "torch: save parameters" This reverts commit 253e1ca6328dae5d672152b0c5ed6a17d2cb2651. --- src/simtox.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/simtox.cpp b/src/simtox.cpp index bffef57..e2d6d25 100644 --- a/src/simtox.cpp +++ b/src/simtox.cpp @@ -24,10 +24,10 @@ int main(int argc, char **argv) torch.numphoton = n_photons; // Assign default values for position, time, momentum, and other attributes - torch.pos = {0.0f, 0.0f, -500.0f}; + torch.pos = {-10.0f, -30.0f, -90.0f}; torch.time = 0.0f; - torch.mom = {0.0f, -1.0f, +0.8f}; + torch.mom = {0.0f, 0.3f, 1.0f}; torch.mom = normalize(torch.mom); torch.weight = 0.0f; @@ -37,7 +37,7 @@ int main(int argc, char **argv) torch.zenith = {0.0f, 1.0f}; torch.azimuth = {0.0f, 1.0f}; - torch.radius = 100.0f; + torch.radius = 15.0f; torch.distance = 0.0f; torch.mode = 255; torch.type = T_DISC;