summaryrefslogtreecommitdiff
path: root/c++/lbm_unit.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-10-18 18:01:14 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-10-18 18:01:14 +0200
commit24bf28a8fb9cc8c3a90b77de9b60728bece7885d (patch)
treedfcbfcb8775bf96847d4a187695158b968902889 /c++/lbm_unit.hpp
parenta980da34513a9ad41e309e66432fcb80ddaf2e31 (diff)
downloadlibs-lbm-24bf28a8fb9cc8c3a90b77de9b60728bece7885d.tar.gz
Moving project structure for more less compilation
Diffstat (limited to 'c++/lbm_unit.hpp')
-rw-r--r--c++/lbm_unit.hpp70
1 files changed, 0 insertions, 70 deletions
diff --git a/c++/lbm_unit.hpp b/c++/lbm_unit.hpp
deleted file mode 100644
index 2d90652..0000000
--- a/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>>;
-
-}
-}
-}