From b9aacd9c2fdc61721c8ca3e1b40ebc92daa3772e Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 5 Nov 2025 13:38:04 +0100 Subject: Reworking structure --- lib/c++/lbm_unit.hpp | 70 ---------------------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 lib/c++/lbm_unit.hpp (limited to 'lib/c++/lbm_unit.hpp') diff --git a/lib/c++/lbm_unit.hpp b/lib/c++/lbm_unit.hpp deleted file mode 100644 index 2d90652..0000000 --- a/lib/c++/lbm_unit.hpp +++ /dev/null @@ -1,70 +0,0 @@ -#pragma once - /** - * Get the conversion parameter with the conversion type - */ - -#include - -#include - -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 -using SiMeter = Unit>; - -template -using LbmMeter = Unit>; - -template -using SiSecond = Unit>; - -template -using LbmSecond = Unit>; - -template -using SiVelocity = Unit, UnitElement>; - -template -using LbmVelocity = Unit, UnitElement>; - -template -using SiAcceleration = Unit, UnitElement>; - -template -using LbmAcceleration = Unit, UnitElement>; - -template -using SiKinematicViscosity = Unit, UnitElement>; - -template -using LbmKinematicViscosity = Unit, UnitElement>; - -} -} -} -- cgit v1.2.3