-
Notifications
You must be signed in to change notification settings - Fork 0
/
EOS_8H_source.html
120 lines (118 loc) · 8.17 KB
/
EOS_8H_source.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
<!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 Source File</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_source.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="headertitle">
<div class="title">EOS.H</div> </div>
</div><!--header-->
<div class="contents">
<a href="EOS_8H.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef _EOS_H_</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define _EOS_H_</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <<a class="code" href="REMORA__Constants_8H.html">REMORA_Constants.H</a>></span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <AMReX.H></span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <cmath></span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="EOS_8H.html#af56cd63dc6a1ed3fc8f38bb780cd0f12"> 9</a></span> amrex::Real <a class="code" href="EOS_8H.html#af56cd63dc6a1ed3fc8f38bb780cd0f12">getTgivenRandTh</a>(<span class="keyword">const</span> amrex::Real rho, <span class="keyword">const</span> amrex::Real temp)</div>
<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="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
<div class="ttc" id="aEOS_8H_html_af56cd63dc6a1ed3fc8f38bb780cd0f12"><div class="ttname"><a href="EOS_8H.html#af56cd63dc6a1ed3fc8f38bb780cd0f12">getTgivenRandTh</a></div><div class="ttdeci">AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getTgivenRandTh(const amrex::Real rho, const amrex::Real temp)</div><div class="ttdef"><b>Definition:</b> EOS.H:9</div></div>
<div class="ttc" id="aREMORA__Constants_8H_html"><div class="ttname"><a href="REMORA__Constants_8H.html">REMORA_Constants.H</a></div></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><!-- 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>