Working Version with Population update and T+ interactions.
This commit is contained in:
@@ -9,18 +9,21 @@
|
||||
#ifndef interaction_species_hpp
|
||||
#define interaction_species_hpp
|
||||
|
||||
#include "population.hpp"
|
||||
|
||||
#include "interaction_base.h"
|
||||
|
||||
typedef std::vector<Interaction*> InteractionsVec;
|
||||
|
||||
|
||||
class ParticleInteractions : public RNG_Base {
|
||||
Katrin *Kat;
|
||||
Population *Pop;
|
||||
species Species;
|
||||
InteractionsVec Interactions;
|
||||
|
||||
public:
|
||||
ParticleInteractions(Katrin *Kat, UniRNG *rngUni, NormalRNG *rngNormal, species Species) : RNG_Base(rngUni, rngNormal) {
|
||||
this->Kat = Kat;
|
||||
ParticleInteractions(species Species, Population *Pop, UniRNG *rngUni, NormalRNG *rngNormal) : RNG_Base(rngUni, rngNormal) {
|
||||
this->Pop = Pop;
|
||||
this->Species = Species;
|
||||
};
|
||||
|
||||
@@ -33,4 +36,5 @@ public:
|
||||
bool empty() const {return (Interactions.size()==0 ? true : false);}
|
||||
};
|
||||
|
||||
|
||||
#endif /* interaction_species_hpp */
|
||||
|
||||
Reference in New Issue
Block a user