summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-02-20 10:59:39 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-02-20 10:59:39 +0100
commit17919d7dd2640190956bbee4aab0d31ce31244b7 (patch)
treeab5a7902a22ef11612e78f53200020a991499a0c /examples
parentdc1c481df599550fd5717790d908a3879f62960a (diff)
downloadlibs-lbm-17919d7dd2640190956bbee4aab0d31ce31244b7.tar.gz
Removing stale example
Diffstat (limited to 'examples')
-rw-r--r--examples/planetary_3d/.nix/derivation.nix38
-rw-r--r--examples/planetary_3d/planetary_3d.cpp33
2 files changed, 0 insertions, 71 deletions
diff --git a/examples/planetary_3d/.nix/derivation.nix b/examples/planetary_3d/.nix/derivation.nix
deleted file mode 100644
index f45815d..0000000
--- a/examples/planetary_3d/.nix/derivation.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{ lib
-, stdenv
-, scons
-, clang-tools
-, forstio
-, pname
-, version
-, kel-lbm
-}:
-
-stdenv.mkDerivation {
- pname = pname + "-examples-" + "planetary_3d";
- inherit version;
- src = ./..;
-
- nativeBuildInputs = [
- scons
- clang-tools
- ];
-
- buildInputs = [
- forstio.core
- forstio.async
- forstio.io
- forstio.io_codec
- forstio.codec
- forstio.codec-unit
- forstio.codec-json
- forstio.remote
- forstio.remote-filesystem
- forstio.remote-io
- kel-lbm
- ];
-
- preferLocalBuild = true;
-
- outputs = [ "out" "dev" ];
-}
diff --git a/examples/planetary_3d/planetary_3d.cpp b/examples/planetary_3d/planetary_3d.cpp
deleted file mode 100644
index 990652a..0000000
--- a/examples/planetary_3d/planetary_3d.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <forstio/error.hpp>
-#include <iostream>
-
-namespace kel {
-namespace sch {
-using namespace saw::schema;
-using KelConfig = Struct<
- Member<String,"resolution">
->;
-}
-
-saw::error_or<void> real_main(int argc, char** argv){
- return saw::make_void();
-}
-}
-
-int main(int argc, char** argv){
- auto eov = kel::kel_main(argc, argv);
- if(eov.is_error()){
- auto& err = eov.get_error();
- auto err_msg = err.get_message();
- std::cerr<<"[Error]: "<<err.get_category();
-
- if(not err_msg.empty()){
- std::cerr<<" - "<<err_msg;
- }
- std::cerr<<std::endl;
-
- return err.get_id();
- }
-
- return 0;
-}