IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 86aec1c7 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by ralfulrich
Browse files

first time working w/o crash

parent 0e6a77e8
No related branches found
No related tags found
1 merge request!254History
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#pragma once #pragma once
#include <corsika/history/HistoryStackExtension.h> #include <corsika/history/HistoryStackExtension.h>
#include <corsika/history/HistorySecondaryView.hpp>
#include <corsika/stack/CombinedStack.h> #include <corsika/stack/CombinedStack.h>
#include <corsika/stack/node/GeometryNodeStackExtension.h> #include <corsika/stack/node/GeometryNodeStackExtension.h>
#include <corsika/stack/nuclear_extension/NuclearStackExtension.h> #include <corsika/stack/nuclear_extension/NuclearStackExtension.h>
...@@ -78,7 +79,7 @@ namespace corsika::setup { ...@@ -78,7 +79,7 @@ namespace corsika::setup {
// corsika::setup::detail::StackWithGeometryInterface>; // corsika::setup::detail::StackWithGeometryInterface>;
corsika::setup::detail::StackWithHistoryInterface>; corsika::setup::detail::StackWithHistoryInterface>;
#elif defined(__GNUC__) || defined(__GNUG__) #elif defined(__GNUC__) || defined(__GNUG__)
using StackView = corsika::stack::MakeView<corsika::setup::Stack>::type; using StackView = corsika::history::HistorySecondaryView<corsika::stack::MakeView<corsika::setup::Stack>::type>;
#endif #endif
} // namespace corsika::setup } // namespace corsika::setup
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <boost/histogram/ostream.hpp> #include <boost/histogram/ostream.hpp>
#include <fstream> #include <fstream>
#include <iostream>
using namespace corsika::units::si; using namespace corsika::units::si;
using namespace corsika::history; using namespace corsika::history;
......
...@@ -55,6 +55,8 @@ namespace corsika::history { ...@@ -55,6 +55,8 @@ namespace corsika::history {
corsika::setup::Stack::ParticleType const& vParticle, corsika::setup::Stack::ParticleType const& vParticle,
corsika::setup::Trajectory const& vTrajectory); corsika::setup::Trajectory const& vTrajectory);
void print();
private: private:
void fillHistoryHistogram(setup::Stack::ParticleType const&); void fillHistoryHistogram(setup::Stack::ParticleType const&);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment