From 7220084ddae1f4c6007f5111913cb7f87a794657 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 13 Aug 2026 13:11:05 +0200 Subject: Renaming velocity to momentum. for now --- .../.nix/derivation.nix | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 examples/schaefer_turek_durst_krause_rannbacher/.nix/derivation.nix (limited to 'examples/schaefer_turek_durst_krause_rannbacher/.nix/derivation.nix') 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" ]; +} -- cgit v1.2.3