Hyperiso
1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
SoftSusy.h
Go to the documentation of this file.
1
#ifndef SOFT_SUSY_H
2
#define SOFT_SUSY_H
3
4
#include <filesystem>
5
#include <optional>
6
#include <string>
7
8
#include "
Interface.h
"
9
10
namespace
SoftsusyRuntimeConfig
{
11
12
struct
Resolution
{
13
bool
valid
=
false
;
14
std::filesystem::path
executable
;
15
std::string
error
;
16
};
17
25
Resolution
set_external_path
(
const
std::string& path);
26
28
Resolution
resolve_executable
();
29
31
std::string
availability_message
();
32
33
}
// namespace SoftsusyRuntimeConfig
34
43
class
SoftsusyCalculator
:
public
ICalculator
{
44
public
:
45
void
calculateSpectrum
(
const
std::string& inputFilePath,
const
std::string& outputFilePath)
override
;
46
};
47
48
#endif
// SOFT_SUSY_H
Interface.h
Declares generic calculator interfaces and the general calculator factory.
ICalculator
Interface for calculator classes.
Definition
Interface.h:54
SoftsusyCalculator
Definition
SoftSusy.h:43
SoftsusyCalculator::calculateSpectrum
void calculateSpectrum(const std::string &inputFilePath, const std::string &outputFilePath) override
Performs the spectrum calculation.
Definition
SoftSusy.cpp:216
SoftsusyRuntimeConfig
Definition
SoftSusy.cpp:150
SoftsusyRuntimeConfig::availability_message
std::string availability_message()
Definition
SoftSusy.cpp:205
SoftsusyRuntimeConfig::set_external_path
Resolution set_external_path(const std::string &path)
Definition
SoftSusy.cpp:152
SoftsusyRuntimeConfig::resolve_executable
Resolution resolve_executable()
Definition
SoftSusy.cpp:161
SoftsusyRuntimeConfig::Resolution
Definition
SoftSusy.h:12
SoftsusyRuntimeConfig::Resolution::executable
std::filesystem::path executable
Definition
SoftSusy.h:14
SoftsusyRuntimeConfig::Resolution::error
std::string error
Definition
SoftSusy.h:15
SoftsusyRuntimeConfig::Resolution::valid
bool valid
Definition
SoftSusy.h:13
Hyperiso
core
src
ExternalIntegration
SoftSusy.h
Generated by
1.9.8