Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
MakeCompilerStrategy.h
Go to the documentation of this file.
1#ifndef MAKE_COMPILER_STRATEGY_H
2#define MAKE_COMPILER_STRATEGY_H
3
4#include "CompilerStrategy.h"
5
6#include <filesystem>
7#include <utility>
8
30public:
38
49 void compile_run(const std::string& sourceFile, const std::string& outputBinary) override;
50
58 void compile(const std::string& sourceFile, const std::string& outputBinary) override;
59
68 void set_Q_match(double Q_match) {this->Q_match = Q_match;}
69
71 void set_param_file(std::filesystem::path path) { param_file_ = std::move(path); }
72
74 void set_output_file(std::filesystem::path path) { output_file_ = std::move(path); }
75
77 double Q_match = 80.379;
78
79private:
80 std::filesystem::path param_file_{};
81 std::filesystem::path output_file_{};
82
83};
84
85#endif
Declares compilation strategies and utilities for executing shell commands.
Abstract base class for compilation and run strategies.
std::string model
Model name.
std::string wilson
Wilson basis / label name.
Compilation strategy using a make-based build system.
MakeCompilerStrategy(std::string model, std::string wilson)
Constructs a MakeCompilerStrategy for a given (model, wilson) pair.
void compile_run(const std::string &sourceFile, const std::string &outputBinary) override
Compiles if necessary and then runs the resulting binary.
void set_output_file(std::filesystem::path path)
void set_param_file(std::filesystem::path path)
double Q_match
Matching scale (default: 80.379 GeV, the physical W mass).
void set_Q_match(double Q_match)
Sets the matching scale passed to the binary.
void compile(const std::string &sourceFile, const std::string &outputBinary) override
Invokes make in the given source directory.