1
0
Fork 0
mirror of https://github.com/gwm17/Mask.git synced 2024-11-13 22:08:52 -05:00
Mask/include/ThreeStepSystem.h

27 lines
717 B
C
Raw Normal View History

2020-11-16 13:38:39 -05:00
#ifndef THREESTEPSYSTEM_H
#define THREESTEPSYSTEM_H
#include "ReactionSystem.h"
class ThreeStepSystem : public ReactionSystem {
public:
ThreeStepSystem();
ThreeStepSystem(std::vector<int>& z, std::vector<int>& a);
~ThreeStepSystem();
bool SetNuclei(std::vector<int>& z, std::vector<int>& a);
void RunSystem();
inline const Nucleus& GetBreakup1() const { return step2.GetEjectile(); };
inline const Nucleus& GetBreakup2() const { return step2.GetResidual(); };
inline const Nucleus& GetBreakup3() const { return step3.GetEjectile(); };
inline const Nucleus& GetBreakup4() const { return step3.GetResidual(); };
protected:
void LinkTarget();
void SetSystemEquation();
Reaction step2, step3;
};
#endif