summaryrefslogtreecommitdiff
path: root/examples/schaefer_turek_durst_krause_rannbacher/.nix
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-08-13 13:11:05 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-08-13 13:11:05 +0200
commit7220084ddae1f4c6007f5111913cb7f87a794657 (patch)
treeab118dcda72d3fc85fb8087617705d76b647f62d /examples/schaefer_turek_durst_krause_rannbacher/.nix
parent919f5a625c5efeea94c0dd0de5039a27e77d3fac (diff)
downloadlibs-lbm-7220084ddae1f4c6007f5111913cb7f87a794657.tar.gz
Renaming velocity to momentum. for now
Diffstat (limited to 'examples/schaefer_turek_durst_krause_rannbacher/.nix')
-rw-r--r--examples/schaefer_turek_durst_krause_rannbacher/.nix/derivation.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/schaefer_turek_durst_krause_rannbacher/.nix/derivation.nix b/examples/schaefer_turek_durst_krause_rannbacher/.nix/derivation.nix
new file mode 100644
index 0000000..d5361c2
--- /dev/null
+++ b/examples/schaefer_turek_durst_krause_rannbacher/.nix/derivation.nix
@@ -0,0 +1,44 @@
+{ lib
+, stdenv
+, scons
+, clang-tools
+, forstio
+, python3
+, pname
+, version
+, adaptive-cpp
+, kel
+, particle_coupling ? "fplbm"
+}:
+
+let
+ slip_txt = if slip then "slip" else "noslip";
+in stdenv.mkDerivation {
+ pname = "${pname}-examples-stdkr_2d_gpu_${particle_coupling}";
+ inherit version;
+ src = ./..;
+
+ nativeBuildInputs = [
+ scons
+ clang-tools
+ python3
+ ];
+
+ buildInputs = [
+ forstio.core
+ forstio.async
+ forstio.codec
+ forstio.codec-unit
+ forstio.io
+ forstio.remote
+ forstio.remote-filesystem
+ forstio.codec-json
+ adaptive-cpp
+ kel.lbm.core
+ kel.lbm.sycl
+ ];
+
+ preferLocalBuild = true;
+
+ outputs = [ "out" "dev" ];
+}