summaryrefslogtreecommitdiff
path: root/lib/core/c++/lbm_unit.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-07-05 15:59:23 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-07-05 15:59:23 +0200
commitc0549d71b2109f10c1238db8b22362e7826ba61b (patch)
tree16cd5264fcc3afe912e1b1b67738c8940d6d1177 /lib/core/c++/lbm_unit.hpp
parent9a3147bc79caf3c0fb1a9cdee29d156b5ff092c7 (diff)
downloadlibs-lbm-c0549d71b2109f10c1238db8b22362e7826ba61b.tar.gz
Just rename from lib to modules
Diffstat (limited to 'lib/core/c++/lbm_unit.hpp')
-rw-r--r--lib/core/c++/lbm_unit.hpp70
1 files changed, 0 insertions, 70 deletions
diff --git a/lib/core/c++/lbm_unit.hpp b/lib/core/c++/lbm_unit.hpp
deleted file mode 100644
index 2d90652..0000000
--- a/lib/core/c++/lbm_unit.hpp
+++ /dev/null
@@ -1,70 +0,0 @@
-#pragma once
- /**
- * Get the conversion parameter with the conversion type
- */
-
-#include <forstio/codec/unit/unit.hpp>
-
-#include <string_view>
-
-namespace kel {
-namespace lbm {
-namespace lbm_type {
-struct meter {
- static constexpr std::string_view name = "meter_lbm";
- static constexpr std::string_view short_name = "m_lbm";
-};
-
-struct second {
- static constexpr std::string_view name = "second_lbm";
- static constexpr std::string_view short_name = "s_lbm";
-};
-}
-
-namespace si_type {
-struct meter {
- static constexpr std::string_view name = "meter_si";
- static constexpr std::string_view short_name = "m_si";
-};
-
-struct second {
- static constexpr std::string_view name = "second_si";
- static constexpr std::string_view short_name = "s_si";
-};
-}
-
-namespace sch {
-using namespace saw::schema;
-template<typename S>
-using SiMeter = Unit<S, UnitElement<si_type::meter, 1>>;
-
-template<typename S>
-using LbmMeter = Unit<S, UnitElement<lbm_type::meter, 1>>;
-
-template<typename S>
-using SiSecond = Unit<S, UnitElement<si_type::second, 1>>;
-
-template<typename S>
-using LbmSecond = Unit<S, UnitElement<lbm_type::second, 1>>;
-
-template<typename S>
-using SiVelocity = Unit<S, UnitElement<si_type::meter, 1>, UnitElement<si_type::second, -1>>;
-
-template<typename S>
-using LbmVelocity = Unit<S, UnitElement<lbm_type::meter, 1>, UnitElement<lbm_type::second, -1>>;
-
-template<typename S>
-using SiAcceleration = Unit<S, UnitElement<si_type::meter, 1>, UnitElement<si_type::second, -2>>;
-
-template<typename S>
-using LbmAcceleration = Unit<S, UnitElement<lbm_type::meter, 1>, UnitElement<lbm_type::second, -2>>;
-
-template<typename S>
-using SiKinematicViscosity = Unit<S, UnitElement<si_type::meter, 2>, UnitElement<si_type::second, -1>>;
-
-template<typename S>
-using LbmKinematicViscosity = Unit<S, UnitElement<lbm_type::meter, 2>, UnitElement<lbm_type::second, -1>>;
-
-}
-}
-}