CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::CombinedStackImpl< Stack1Impl, Stack2Impl > Class Template Reference

Memory implementation of a combined data stack. More...

#include <CombinedStack.hpp>

Inheritance diagram for corsika::CombinedStackImpl< Stack1Impl, Stack2Impl >:

Public Member Functions

void clear ()
 
unsigned int getSize () const
 
unsigned int getCapacity () const
 
void copy (const unsigned int i1, const unsigned int i2)
 Function to copy particle at location i1 in stack to i2.
 
void swap (const unsigned int i1, const unsigned int i2)
 Function to copy particle at location i2 in stack to i1.
 
void incrementSize ()
 
void decrementSize ()
 

Detailed Description

template<typename Stack1Impl, typename Stack2Impl>
class corsika::CombinedStackImpl< Stack1Impl, Stack2Impl >

Memory implementation of a combined data stack.

The two stack data user objects Stack1Impl and Stack2Impl are merged into one consistent Stack container object providing access to the combined number of data entries.

Definition at line 98 of file CombinedStack.hpp.


The documentation for this class was generated from the following file: