BSMPT 3.0.7
BSMPT - Beyond the Standard Model Phase Transitions : A C++ package for the computation of the EWPT in BSM models
Loading...
Searching...
No Matches
IncludeAllModels.h
Go to the documentation of this file.
1// Copyright (C) 2018 Philipp Basler and Margarete Mühlleitner
2// SPDX-FileCopyrightText: 2021 Philipp Basler, Margarete Mühlleitner and Jonas
3// Müller
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6
7// #ifndef INCLUDEALLMODELS_H_
8// #define INCLUDEALLMODELS_H_
9
10#pragma once
11
12#include <algorithm> // for max
13#include <memory>
14#include <string> // for string
15#include <unordered_map>
16#include <vector>
17
21namespace BSMPT
22{
23struct ISMConstants;
24class Class_Potential_Origin;
25namespace ModelID
26{
27
31enum class ModelIDs
32{
33 NotSet,
34 C2HDM,
35 R2HDM,
36 N2HDM,
37 CXSM,
38 CPINTHEDARK,
39 SM,
40
41 // Here you start adding your models
42 TEMPLATE,
43
44 // DO NOT EDIT the part below
45 stop
46};
47
52const std::unordered_map<std::string, ModelIDs> ModelNames{
53 {"c2hdm", ModelIDs::C2HDM},
54 {"r2hdm", ModelIDs::R2HDM},
55 {"n2hdm", ModelIDs::N2HDM},
56 {"cxsm", ModelIDs::CXSM},
57 {"sm", ModelIDs::SM},
58 {"cpinthedark", ModelIDs::CPINTHEDARK},
59 {"template", ModelIDs::TEMPLATE},
60};
61
66std::unordered_map<ModelIDs, std::string> InvertModelNames();
67
74[[deprecated(
75 "Will call FChoose with GetSMConstants(). Please use the detailed overload "
76 "to ensure consistent SM constants through all routines.")]] std::
77 unique_ptr<Class_Potential_Origin>
78 FChoose(ModelIDs choice);
79
88std::unique_ptr<Class_Potential_Origin>
89FChoose(ModelIDs choice, const ISMConstants &smConstants);
90
98ModelIDs getModel(const std::string &s);
99} // namespace ModelID
100
104void ShowInputError();
105
106} // namespace BSMPT
107
108// #endif /* INCLUDEALLMODELS_H_ */
const std::unordered_map< std::string, ModelIDs > ModelNames
Mapping between the model name which is given as the first argument to the binary and the ModelIDs el...
Definition IncludeAllModels.h:52
ModelIDs
The ModelIDs enum containing all IDs for identifying the Models.
Definition IncludeAllModels.h:32
std::unique_ptr< Class_Potential_Origin > FChoose(ModelIDs choice)
Definition IncludeAllModels.cpp:28
ModelIDs getModel(const std::string &s)
Definition IncludeAllModels.cpp:60
std::unordered_map< ModelIDs, std::string > InvertModelNames()
InvertModelNames.
Definition IncludeAllModels.cpp:78
This classes calculates the Bounce action of the potential with a set temperature.
Definition CalculateEtaInterface.h:24
void ShowInputError()
ShowInputError shows all the available models in the terminal.
Definition IncludeAllModels.cpp:95
The ISMConstants struct containing all necessary SM constants.
Definition SMparam.h:24