-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
199 changed files
with
3,154 additions
and
3,044 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
<!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>ERF: Source/Radiation/Albedo.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">ERF | ||
</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('Albedo_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">Albedo.H File Reference</div> </div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
|
||
<p><a href="Albedo_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:a677778ad4c4fb53a8c7076ace6d436ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="Albedo_8H.html#a677778ad4c4fb53a8c7076ace6d436ce">set_albedo</a> (const real1d &coszrs, real2d &albedo_dir, real2d &albedo_dif)</td></tr> | ||
<tr class="separator:a677778ad4c4fb53a8c7076ace6d436ce"><td class="memSeparator" colspan="2"> </td></tr> | ||
</table> | ||
<h2 class="groupheader">Function Documentation</h2> | ||
<a id="a677778ad4c4fb53a8c7076ace6d436ce"></a> | ||
<h2 class="memtitle"><span class="permalink"><a href="#a677778ad4c4fb53a8c7076ace6d436ce">◆ </a></span>set_albedo()</h2> | ||
|
||
<div class="memitem"> | ||
<div class="memproto"> | ||
<table class="memname"> | ||
<tr> | ||
<td class="memname">void set_albedo </td> | ||
<td>(</td> | ||
<td class="paramtype">const real1d & </td> | ||
<td class="paramname"><em>coszrs</em>, </td> | ||
</tr> | ||
<tr> | ||
<td class="paramkey"></td> | ||
<td></td> | ||
<td class="paramtype">real2d & </td> | ||
<td class="paramname"><em>albedo_dir</em>, </td> | ||
</tr> | ||
<tr> | ||
<td class="paramkey"></td> | ||
<td></td> | ||
<td class="paramtype">real2d & </td> | ||
<td class="paramname"><em>albedo_dif</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="l00013"></a><span class="lineno"> 13</span> {</div> | ||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="comment">// Albedos for land type I (Briegleb)</span></div> | ||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">auto</span> nswbands = albedo_dir.extent(0);</div> | ||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">auto</span> ncol = albedo_dif.extent(1);</div> | ||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  yakl::c::parallel_for(yakl::c::Bounds<2>(nswbands,ncol), YAKL_LAMBDA (<span class="keywordtype">int</span> ibnd, <span class="keywordtype">int</span> icol) {</div> | ||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  albedo_dir(ibnd, icol) = 1.4 * 0.24 / ( 1. + 0.8 * coszrs(icol));</div> | ||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  albedo_dif(ibnd, icol) = 1.2 * 0.24;</div> | ||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  });</div> | ||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> }</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="dir_6ac3198e61556f99812dcb8dcfabb874.html">Radiation</a></li><li class="navelem"><a class="el" href="Albedo_8H.html">Albedo.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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
var Albedo_8H = | ||
[ | ||
[ "set_albedo", "Albedo_8H.html#a677778ad4c4fb53a8c7076ace6d436ce", null ] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
<!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>ERF: Source/Radiation/Albedo.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">ERF | ||
</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('Albedo_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">Albedo.H</div> </div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<a href="Albedo_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="comment">/*------------------------------------------------------------</span></div> | ||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> Computes surface albedos</span></div> | ||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> For more details , see Briegleb, Bruce P., 1992: Delta-Eddington</span></div> | ||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Approximation for Solar Radiation in the NCAR Community Climate Model,</span></div> | ||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> Journal of Geophysical Research, Vol 97, D7, pp7603-7612).</span></div> | ||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"></span> </div> | ||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> NOTE: this is the simplest formula for albedo calculation, we have to</span></div> | ||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> update to the latest implementation from microphysics output.</span></div> | ||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">*/</span></div> | ||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifndef ERF_ALBEDO_H_</span></div> | ||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#define ERF_ALBEDO_H_</span></div> | ||
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="Albedo_8H.html#a677778ad4c4fb53a8c7076ace6d436ce"> 12</a></span> <span class="keywordtype">void</span> <a class="code" href="Albedo_8H.html#a677778ad4c4fb53a8c7076ace6d436ce">set_albedo</a>(<span class="keyword">const</span> real1d& coszrs, real2d& albedo_dir, real2d& albedo_dif)</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="comment">// Albedos for land type I (Briegleb)</span></div> | ||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">auto</span> nswbands = albedo_dir.extent(0);</div> | ||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">auto</span> ncol = albedo_dif.extent(1);</div> | ||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  yakl::c::parallel_for(yakl::c::Bounds<2>(nswbands,ncol), YAKL_LAMBDA (<span class="keywordtype">int</span> ibnd, <span class="keywordtype">int</span> icol) {</div> | ||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  albedo_dir(ibnd, icol) = 1.4 * 0.24 / ( 1. + 0.8 * coszrs(icol));</div> | ||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  albedo_dif(ibnd, icol) = 1.2 * 0.24;</div> | ||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  });</div> | ||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> }</div> | ||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#endif</span></div> | ||
<div class="ttc" id="aAlbedo_8H_html_a677778ad4c4fb53a8c7076ace6d436ce"><div class="ttname"><a href="Albedo_8H.html#a677778ad4c4fb53a8c7076ace6d436ce">set_albedo</a></div><div class="ttdeci">void set_albedo(const real1d &coszrs, real2d &albedo_dir, real2d &albedo_dif)</div><div class="ttdef"><b>Definition:</b> Albedo.H:12</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="dir_6ac3198e61556f99812dcb8dcfabb874.html">Radiation</a></li><li class="navelem"><a class="el" href="Albedo_8H.html">Albedo.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> |
Oops, something went wrong.