-
Notifications
You must be signed in to change notification settings - Fork 0
/
THDM__c_8cpp.html
291 lines (266 loc) · 16.7 KB
/
THDM__c_8cpp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GM2Calc: /home/avoigt/research/GM2Calc/src/THDM/THDM_c.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">GM2Calc<span id="projectnumber"> 2.2.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_1672695a47b377b4e14cff0be868b5f0.html">THDM</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">THDM_c.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>contains definitions of C interface functions for the model
<a href="#details">More...</a></p>
<p><a href="THDM__c_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacegm2calc"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegm2calc.html">gm2calc</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a4472749374cbbbcfd6e8ce73b54d30d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="THDM_8h.html#ae0469b07c7542a9c1c5b7c3df9be02ad">gm2calc_THDM_yukawa_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="THDM__c_8cpp.html#a4472749374cbbbcfd6e8ce73b54d30d0">int_to_c_yukawa_type</a> (int i)</td></tr>
<tr class="memdesc:a4472749374cbbbcfd6e8ce73b54d30d0"><td class="mdescLeft"> </td><td class="mdescRight">convert int to gm2calc_THDM_yukawa_type <a href="THDM__c_8cpp.html#a4472749374cbbbcfd6e8ce73b54d30d0">More...</a><br /></td></tr>
<tr class="separator:a4472749374cbbbcfd6e8ce73b54d30d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a24c6e75232cfe4c6cc108c2a6383b299"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="THDM__c_8cpp.html#a24c6e75232cfe4c6cc108c2a6383b299">gm2calc_thdm_config_set_to_default</a> (<a class="el" href="structgm2calc__THDM__config.html">gm2calc_THDM_config</a> *config)</td></tr>
<tr class="memdesc:a24c6e75232cfe4c6cc108c2a6383b299"><td class="mdescLeft"> </td><td class="mdescRight">Sets configuration options to default values. <a href="THDM__c_8cpp.html#a24c6e75232cfe4c6cc108c2a6383b299">More...</a><br /></td></tr>
<tr class="separator:a24c6e75232cfe4c6cc108c2a6383b299"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a59939937c5428119b6f0aaa656377880"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gm2__error_8h.html#acd4c253277f408a870587b87f53579f6">gm2calc_error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="THDM__c_8cpp.html#a59939937c5428119b6f0aaa656377880">gm2calc_thdm_new_with_gauge_basis</a> (<a class="el" href="gm2__uncertainty__helpers_8h.html#a87cfd6a5e0900ef239fba3c08889e42b">gm2calc_THDM</a> **model, const <a class="el" href="structgm2calc__THDM__gauge__basis.html">gm2calc_THDM_gauge_basis</a> *basis, const <a class="el" href="structgm2calc__SM.html">::gm2calc_SM</a> *sm, const <a class="el" href="structgm2calc__THDM__config.html">gm2calc_THDM_config</a> *config)</td></tr>
<tr class="memdesc:a59939937c5428119b6f0aaa656377880"><td class="mdescLeft"> </td><td class="mdescRight">Allocate a new general THDM model with general basis input. <a href="THDM__c_8cpp.html#a59939937c5428119b6f0aaa656377880">More...</a><br /></td></tr>
<tr class="separator:a59939937c5428119b6f0aaa656377880"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a01b2c91ec7b859a6795c548646887911"><td class="memItemLeft" align="right" valign="top"><a class="el" href="gm2__error_8h.html#acd4c253277f408a870587b87f53579f6">gm2calc_error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="THDM__c_8cpp.html#a01b2c91ec7b859a6795c548646887911">gm2calc_thdm_new_with_mass_basis</a> (<a class="el" href="gm2__uncertainty__helpers_8h.html#a87cfd6a5e0900ef239fba3c08889e42b">gm2calc_THDM</a> **model, const <a class="el" href="structgm2calc__THDM__mass__basis.html">gm2calc_THDM_mass_basis</a> *basis, const <a class="el" href="structgm2calc__SM.html">::gm2calc_SM</a> *sm, const <a class="el" href="structgm2calc__THDM__config.html">gm2calc_THDM_config</a> *config)</td></tr>
<tr class="memdesc:a01b2c91ec7b859a6795c548646887911"><td class="mdescLeft"> </td><td class="mdescRight">Allocate a new general THDM model with physical basis input. <a href="THDM__c_8cpp.html#a01b2c91ec7b859a6795c548646887911">More...</a><br /></td></tr>
<tr class="separator:a01b2c91ec7b859a6795c548646887911"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6ffd1ec5766add6fcc7d517caed8515"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="THDM__c_8cpp.html#ad6ffd1ec5766add6fcc7d517caed8515">gm2calc_thdm_free</a> (<a class="el" href="gm2__uncertainty__helpers_8h.html#a87cfd6a5e0900ef239fba3c08889e42b">gm2calc_THDM</a> *model)</td></tr>
<tr class="memdesc:ad6ffd1ec5766add6fcc7d517caed8515"><td class="mdescLeft"> </td><td class="mdescRight">Deletes a general THDM model. <a href="THDM__c_8cpp.html#ad6ffd1ec5766add6fcc7d517caed8515">More...</a><br /></td></tr>
<tr class="separator:ad6ffd1ec5766add6fcc7d517caed8515"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >contains definitions of C interface functions for the model </p>
<p >This file contains the definitions for the C interface functions used to set and retrieve the model parameters and masses. </p>
<p class="definition">Definition in file <a class="el" href="THDM__c_8cpp_source.html">THDM_c.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a24c6e75232cfe4c6cc108c2a6383b299" name="a24c6e75232cfe4c6cc108c2a6383b299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c6e75232cfe4c6cc108c2a6383b299">◆ </a></span>gm2calc_thdm_config_set_to_default()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void gm2calc_thdm_config_set_to_default </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structgm2calc__THDM__config.html">gm2calc_THDM_config</a> * </td>
<td class="paramname"><em>config</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets configuration options to default values. </p>
<p >create a new config</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">config</td><td>pointer to configuration options </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="THDM__c_8cpp_source.html#l00178">178</a> of file <a class="el" href="THDM__c_8cpp_source.html">THDM_c.cpp</a>.</p>
</div>
</div>
<a id="ad6ffd1ec5766add6fcc7d517caed8515" name="ad6ffd1ec5766add6fcc7d517caed8515"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6ffd1ec5766add6fcc7d517caed8515">◆ </a></span>gm2calc_thdm_free()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void gm2calc_thdm_free </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gm2__uncertainty__helpers_8h.html#a87cfd6a5e0900ef239fba3c08889e42b">gm2calc_THDM</a> * </td>
<td class="paramname"><em>model</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deletes a general THDM model. </p>
<p >delete general THDM model</p>
<p >This function deletes a general THDM model object, which has been created using gm2calc_thdm_new() .</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">model</td><td>pointer to model object </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="THDM__c_8cpp_source.html#l00279">279</a> of file <a class="el" href="THDM__c_8cpp_source.html">THDM_c.cpp</a>.</p>
</div>
</div>
<a id="a59939937c5428119b6f0aaa656377880" name="a59939937c5428119b6f0aaa656377880"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59939937c5428119b6f0aaa656377880">◆ </a></span>gm2calc_thdm_new_with_gauge_basis()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="gm2__error_8h.html#acd4c253277f408a870587b87f53579f6">gm2calc_error</a> gm2calc_thdm_new_with_gauge_basis </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gm2__uncertainty__helpers_8h.html#a87cfd6a5e0900ef239fba3c08889e42b">gm2calc_THDM</a> ** </td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structgm2calc__THDM__gauge__basis.html">gm2calc_THDM_gauge_basis</a> * </td>
<td class="paramname"><em>basis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structgm2calc__SM.html">::gm2calc_SM</a> * </td>
<td class="paramname"><em>sm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structgm2calc__THDM__config.html">gm2calc_THDM_config</a> * </td>
<td class="paramname"><em>config</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocate a new general THDM model with general basis input. </p>
<p >This function allocates a new general THDM model and sets the pointer to the created object. To prevent a resource leak, the model should be destroyed using <a class="el" href="THDM__c_8cpp.html#ad6ffd1ec5766add6fcc7d517caed8515" title="Deletes a general THDM model.">gm2calc_thdm_free()</a> .</p>
<p >If an error occurs, the model pointer will be set to 0 and a corresponding error code will be returned.</p>
<dl class="section return"><dt>Returns</dt><dd>error code </dd></dl>
<p class="definition">Definition at line <a class="el" href="THDM__c_8cpp_source.html#l00199">199</a> of file <a class="el" href="THDM__c_8cpp_source.html">THDM_c.cpp</a>.</p>
</div>
</div>
<a id="a01b2c91ec7b859a6795c548646887911" name="a01b2c91ec7b859a6795c548646887911"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01b2c91ec7b859a6795c548646887911">◆ </a></span>gm2calc_thdm_new_with_mass_basis()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="gm2__error_8h.html#acd4c253277f408a870587b87f53579f6">gm2calc_error</a> gm2calc_thdm_new_with_mass_basis </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gm2__uncertainty__helpers_8h.html#a87cfd6a5e0900ef239fba3c08889e42b">gm2calc_THDM</a> ** </td>
<td class="paramname"><em>model</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structgm2calc__THDM__mass__basis.html">gm2calc_THDM_mass_basis</a> * </td>
<td class="paramname"><em>basis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structgm2calc__SM.html">::gm2calc_SM</a> * </td>
<td class="paramname"><em>sm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structgm2calc__THDM__config.html">gm2calc_THDM_config</a> * </td>
<td class="paramname"><em>config</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Allocate a new general THDM model with physical basis input. </p>
<p >This function allocates a new general THDM model and sets the pointer to the created object. To prevent a resource leak, the model should be destroyed using <a class="el" href="THDM__c_8cpp.html#ad6ffd1ec5766add6fcc7d517caed8515" title="Deletes a general THDM model.">gm2calc_thdm_free()</a> .</p>
<p >If an error occurs, the model pointer will be set to 0 and a corresponding error code will be returned.</p>
<dl class="section return"><dt>Returns</dt><dd>error code </dd></dl>
<p class="definition">Definition at line <a class="el" href="THDM__c_8cpp_source.html#l00241">241</a> of file <a class="el" href="THDM__c_8cpp_source.html">THDM_c.cpp</a>.</p>
</div>
</div>
<a id="a4472749374cbbbcfd6e8ce73b54d30d0" name="a4472749374cbbbcfd6e8ce73b54d30d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4472749374cbbbcfd6e8ce73b54d30d0">◆ </a></span>int_to_c_yukawa_type()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="THDM_8h.html#ae0469b07c7542a9c1c5b7c3df9be02ad">gm2calc_THDM_yukawa_type</a> int_to_c_yukawa_type </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>convert int to gm2calc_THDM_yukawa_type </p>
<p class="definition">Definition at line <a class="el" href="THDM__c_8cpp_source.html#l00158">158</a> of file <a class="el" href="THDM__c_8cpp_source.html">THDM_c.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Aug 2 2023 08:05:33 for GM2Calc by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>