IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ad1a150d authored by ralfulrich's avatar ralfulrich
Browse files

added parent() function to get original parent particle back

parent 86aec1c7
No related branches found
No related tags found
1 merge request!254History
......@@ -320,6 +320,8 @@ namespace corsika::stack {
StackType>& rhs) const {
return index_ != rhs.index_;
}
bool operator==(const StackIteratorInterface<TStackData, TParticleInterface, StackType>& rhs) const { return index_ == rhs.index_; }
bool operator!=(const StackIteratorInterface<TStackData, TParticleInterface, StackType>& rhs) const { return index_ != rhs.index_; }
const ParticleInterfaceType& operator*() const {
return static_cast<const ParticleInterfaceType&>(*this);
......
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