diff --git a/corsika/detail/media/GeomagneticModel.inl b/corsika/detail/media/GeomagneticModel.inl index 51dfd348e2cafb6547b9fd41a5e8bb988b2411ab..bc15958777b75d3ebf2b415121595f543575e9f4 100644 --- a/corsika/detail/media/GeomagneticModel.inl +++ b/corsika/detail/media/GeomagneticModel.inl @@ -10,7 +10,7 @@ namespace corsika { inline GeomagneticModel::GeomagneticModel(Point const& center, - std::string const& dataFile) + std::string const& dataFile) : center_(center) { // Read in coefficients @@ -73,8 +73,7 @@ namespace corsika { int iEpoch = int(epoch); if (parameters_.count(iEpoch) != 0) { - throw std::runtime_error( - "GeomagneticModel input file has duplicate Epoch. Fix."); + throw std::runtime_error("GeomagneticModel input file has duplicate Epoch. Fix."); } parameters_[iEpoch] = std::vector<ParameterLine>(nPar); @@ -89,9 +88,9 @@ namespace corsika { } inline MagneticFieldVector GeomagneticModel::getField(double const year, - LengthType const altitude, - double const latitude, - double const longitude) { + LengthType const altitude, + double const latitude, + double const longitude) { int iYear = int(year); int iEpoch = 0; @@ -185,7 +184,8 @@ namespace corsika { magneticfield[2] * cos(lat_sph - lat_geo); return MagneticFieldVector{center_.getCoordinateSystem(), magneticfield_geo[0] * 1_nT, - magneticfield_geo[1] * -1_nT, magneticfield_geo[2] * -1_nT}; + magneticfield_geo[1] * -1_nT, + magneticfield_geo[2] * -1_nT}; } } // namespace corsika \ No newline at end of file diff --git a/modules/conex b/modules/conex index cfcd301fefa951d04d259cbd8866ce855e20fd0c..dd4f4dcf325b40f76bb7e60bf61e77ebf99fa098 160000 --- a/modules/conex +++ b/modules/conex @@ -1 +1 @@ -Subproject commit cfcd301fefa951d04d259cbd8866ce855e20fd0c +Subproject commit dd4f4dcf325b40f76bb7e60bf61e77ebf99fa098 diff --git a/modules/data b/modules/data index eded833608bbc6845f9d7e2af4e151683f27818f..c42a119ea1dc5053cb748994a9d8a4561f2206d5 160000 --- a/modules/data +++ b/modules/data @@ -1 +1 @@ -Subproject commit eded833608bbc6845f9d7e2af4e151683f27818f +Subproject commit c42a119ea1dc5053cb748994a9d8a4561f2206d5