From c225c56d59c2662f8c710b70d8a99dada0b2f439 Mon Sep 17 00:00:00 2001
From: Nikos Karastathis <n.karastathis@kit.edu>
Date: Wed, 7 Apr 2021 14:19:16 +0200
Subject: [PATCH] added testRadio.cpp in CMakeLists.txt

---
 corsika/framework/core/PhysicalUnits.hpp | 5 +++++
 tests/modules/CMakeLists.txt             | 1 +
 2 files changed, 6 insertions(+)

diff --git a/corsika/framework/core/PhysicalUnits.hpp b/corsika/framework/core/PhysicalUnits.hpp
index 82373acc9..fad20d5c3 100644
--- a/corsika/framework/core/PhysicalUnits.hpp
+++ b/corsika/framework/core/PhysicalUnits.hpp
@@ -96,6 +96,11 @@ namespace corsika::units::si {
       phys::units::quantity<phys::units::dimensions<2, -1, 0>, double>;
   using MagneticFluxType =
       phys::units::quantity<phys::units::magnetic_flux_density_d, double>;
+  using ElectricFieldType =
+  phys::units::quantity<phys::units::dimensions<1, 1, -3, -1>, double>;
+  using MagneticFieldType =
+  phys::units::quantity<phys::units::dimensions<-1, 0, 0, 1>, double>;
+
 
   template <typename DimFrom, typename DimTo>
   auto constexpr conversion_factor_HEP_to_SI() {
diff --git a/tests/modules/CMakeLists.txt b/tests/modules/CMakeLists.txt
index 2073a7d50..78e3d5faf 100644
--- a/tests/modules/CMakeLists.txt
+++ b/tests/modules/CMakeLists.txt
@@ -12,6 +12,7 @@ set (test_modules_sources
   testParticleCut.cpp
   testSibyll.cpp
   testEpos.cpp
+        testRadio.cpp
   )
 
 CORSIKA_ADD_TEST (testModules SOURCES ${test_modules_sources})
-- 
GitLab