From f17796404c1b0c4817e7232ba16dc667df9d7f68 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 25 Aug 2025 10:34:48 +0200 Subject: Added util to lbm header and changed collision in particles --- c++/environment.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'c++/environment.hpp') diff --git a/c++/environment.hpp b/c++/environment.hpp index 6b63f16..4915e3a 100644 --- a/c++/environment.hpp +++ b/c++/environment.hpp @@ -7,13 +7,18 @@ namespace kel { namespace lbm { +/** + * Returns the default output directory. + * Located outside the project dir because dispatching build jobs with output data in the git directory + * also copies simulated data which takes a long time. + */ saw::error_or output_directory(){ const char* home_dir = std::getenv("HOME"); if(not home_dir){ return saw::make_error("Couldn't find home dir"); } - return std::filesystem::path{home_dir} / ".lbm/"; + return std::filesystem::path{home_dir} / ".lbm"; } } } -- cgit v1.2.3