2021-10-08 14:17:20 -04:00
|
|
|
#ifndef MASKAPP_H
|
|
|
|
#define MASKAPP_H
|
|
|
|
|
|
|
|
#include "ReactionSystem.h"
|
|
|
|
#include "DecaySystem.h"
|
|
|
|
#include "OneStepSystem.h"
|
|
|
|
#include "TwoStepSystem.h"
|
|
|
|
#include "ThreeStepSystem.h"
|
|
|
|
#include "RxnType.h"
|
|
|
|
|
|
|
|
namespace Mask {
|
|
|
|
|
|
|
|
class MaskApp {
|
|
|
|
public:
|
|
|
|
MaskApp();
|
|
|
|
~MaskApp();
|
|
|
|
bool LoadConfig(const std::string& filename);
|
|
|
|
bool SaveConfig(const std::string& filename);
|
|
|
|
inline int GetNumberOfSamples() const { return m_nsamples; };
|
2021-12-03 09:28:08 -05:00
|
|
|
inline const std::string GetSystemName() const { return m_sys == nullptr ? "" : m_sys->GetSystemEquation(); };
|
2021-10-08 14:17:20 -04:00
|
|
|
inline const std::string GetOutputName() const { return m_outfile_name; };
|
|
|
|
inline const RxnType GetReactionType() const { return m_rxn_type; };
|
|
|
|
void Run();
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
2021-12-03 09:28:08 -05:00
|
|
|
ReactionSystem* m_sys;
|
2021-10-08 14:17:20 -04:00
|
|
|
|
|
|
|
std::string m_outfile_name;
|
|
|
|
|
|
|
|
RxnType m_rxn_type;
|
2021-12-03 09:28:08 -05:00
|
|
|
int m_nsamples;
|
2021-10-08 14:17:20 -04:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|