-
Notifications
You must be signed in to change notification settings - Fork 0
/
EOS_8H.html
177 lines (174 loc) · 10.5 KB
/
EOS_8H.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
<!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=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>REMORA: /home/runner/work/REMORA/REMORA/Source/EOS.H 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">REMORA
</div>
<div id="projectbrief">Energy Research and Forecasting: An Atmospheric Modeling Code</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('EOS_8H.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">EOS.H File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <<a class="el" href="REMORA__Constants_8H_source.html">REMORA_Constants.H</a>></code><br />
<code>#include <AMReX.H></code><br />
<code>#include <cmath></code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for EOS.H:</div>
<div class="dyncontent">
<div class="center"><img src="EOS_8H__incl.png" border="0" usemap="#a_2home_2runner_2work_2REMORA_2REMORA_2Source_2EOS_8H" alt=""/></div>
<map name="a_2home_2runner_2work_2REMORA_2REMORA_2Source_2EOS_8H" id="a_2home_2runner_2work_2REMORA_2REMORA_2Source_2EOS_8H">
<area shape="rect" title=" " alt="" coords="133,5,339,47"/>
<area shape="rect" href="REMORA__Constants_8H.html" title=" " alt="" coords="5,95,171,121"/>
<area shape="rect" title=" " alt="" coords="195,95,277,121"/>
<area shape="rect" title=" " alt="" coords="302,95,365,121"/>
<area shape="rect" title=" " alt="" coords="27,169,149,196"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="EOS_8H__dep__incl.png" border="0" usemap="#a_2home_2runner_2work_2REMORA_2REMORA_2Source_2EOS_8Hdep" alt=""/></div>
<map name="a_2home_2runner_2work_2REMORA_2REMORA_2Source_2EOS_8Hdep" id="a_2home_2runner_2work_2REMORA_2REMORA_2Source_2EOS_8Hdep">
<area shape="rect" title=" " alt="" coords="849,5,1056,47"/>
<area shape="rect" href="Derive_8cpp.html" title=" " alt="" coords="5,102,212,143"/>
<area shape="rect" href="REMORA__init_8cpp.html" title=" " alt="" coords="237,95,453,151"/>
<area shape="rect" href="REMORA__init1d_8cpp.html" title=" " alt="" coords="477,95,693,151"/>
<area shape="rect" href="REMORA__init__from__netcdf_8cpp.html" title=" " alt="" coords="717,95,940,151"/>
<area shape="rect" href="REMORA__make__new__level_8cpp.html" title=" " alt="" coords="965,95,1191,151"/>
<area shape="rect" href="Plotfile_8cpp.html" title=" " alt="" coords="1216,102,1441,143"/>
<area shape="rect" href="REMORA_8cpp.html" title=" " alt="" coords="1466,102,1685,143"/>
<area shape="rect" href="REMORA__ComputeTimestep_8cpp.html" title=" " alt="" coords="1709,95,1948,151"/>
</map>
</div>
</div>
<p><a href="EOS_8H_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 name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af56cd63dc6a1ed3fc8f38bb780cd0f12"><td class="memItemLeft" align="right" valign="top">AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE <a class="el" href="DataStruct_8H.html#aa307030d99f8c225e1a1adb20224ed36a7f80fcc452c2f1ed2bb51b39d0864df1">amrex::Real</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="EOS_8H.html#af56cd63dc6a1ed3fc8f38bb780cd0f12">getTgivenRandTh</a> (const <a class="el" href="DataStruct_8H.html#aa307030d99f8c225e1a1adb20224ed36a7f80fcc452c2f1ed2bb51b39d0864df1">amrex::Real</a> rho, const <a class="el" href="DataStruct_8H.html#aa307030d99f8c225e1a1adb20224ed36a7f80fcc452c2f1ed2bb51b39d0864df1">amrex::Real</a> temp)</td></tr>
<tr class="separator:af56cd63dc6a1ed3fc8f38bb780cd0f12"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="af56cd63dc6a1ed3fc8f38bb780cd0f12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af56cd63dc6a1ed3fc8f38bb780cd0f12">◆ </a></span>getTgivenRandTh()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE <a class="el" href="DataStruct_8H.html#aa307030d99f8c225e1a1adb20224ed36a7f80fcc452c2f1ed2bb51b39d0864df1">amrex::Real</a> getTgivenRandTh </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="DataStruct_8H.html#aa307030d99f8c225e1a1adb20224ed36a7f80fcc452c2f1ed2bb51b39d0864df1">amrex::Real</a> </td>
<td class="paramname"><em>rho</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="DataStruct_8H.html#aa307030d99f8c225e1a1adb20224ed36a7f80fcc452c2f1ed2bb51b39d0864df1">amrex::Real</a> </td>
<td class="paramname"><em>temp</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<div class="fragment"><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> {</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  amrex::Real p_loc = <a class="code" href="REMORA__Constants_8H.html#a60be2e6257954ef746019c916741cb2c">p_0</a> * std::pow(<a class="code" href="REMORA__Constants_8H.html#a08d0e6a452268bed60e81a08398c088a">R_d</a> * temp * <a class="code" href="REMORA__Constants_8H.html#a8b690ebe9cca98f047d552bd81b92f02">ip_0</a>, <a class="code" href="REMORA__Constants_8H.html#ae8ca591ba2325c0ad8b464de45f4c6b3">Gamma</a>);</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keywordflow">return</span> p_loc / (<a class="code" href="REMORA__Constants_8H.html#a08d0e6a452268bed60e81a08398c088a">R_d</a> * rho);</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> }</div>
<div class="ttc" id="aREMORA__Constants_8H_html_a08d0e6a452268bed60e81a08398c088a"><div class="ttname"><a href="REMORA__Constants_8H.html#a08d0e6a452268bed60e81a08398c088a">R_d</a></div><div class="ttdeci">#define R_d</div><div class="ttdef"><b>Definition:</b> REMORA_Constants.H:9</div></div>
<div class="ttc" id="aREMORA__Constants_8H_html_a60be2e6257954ef746019c916741cb2c"><div class="ttname"><a href="REMORA__Constants_8H.html#a60be2e6257954ef746019c916741cb2c">p_0</a></div><div class="ttdeci">#define p_0</div><div class="ttdef"><b>Definition:</b> REMORA_Constants.H:12</div></div>
<div class="ttc" id="aREMORA__Constants_8H_html_a8b690ebe9cca98f047d552bd81b92f02"><div class="ttname"><a href="REMORA__Constants_8H.html#a8b690ebe9cca98f047d552bd81b92f02">ip_0</a></div><div class="ttdeci">#define ip_0</div><div class="ttdef"><b>Definition:</b> REMORA_Constants.H:17</div></div>
<div class="ttc" id="aREMORA__Constants_8H_html_ae8ca591ba2325c0ad8b464de45f4c6b3"><div class="ttname"><a href="REMORA__Constants_8H.html#ae8ca591ba2325c0ad8b464de45f4c6b3">Gamma</a></div><div class="ttdeci">#define Gamma</div><div class="ttdef"><b>Definition:</b> REMORA_Constants.H:13</div></div>
</div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_74389ed8173ad57b461b9d623a1f3867.html">Source</a></li><li class="navelem"><a class="el" href="EOS_8H.html">EOS.H</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>