-
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
205 changed files
with
14,312 additions
and
4,208 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,162 @@ | ||
<!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" lang="en-US"> | ||
<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.5"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>CoMMA: include/CoMMA/ARComputer.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 id="projectrow"> | ||
<td id="projectlogo"><img alt="Logo" src="logo-CoMMA_70x70.jpg"/></td> | ||
<td id="projectalign"> | ||
<div id="projectname">CoMMA<span id="projectnumber"> 1.3.2</span> | ||
</div> | ||
<div id="projectbrief">A geometric agglomerator for unstructured meshes</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.9.5 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
var searchBox = new SearchBox("searchBox", "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> | ||
</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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(document).ready(function(){initNavTree('_a_r_computer_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"> | ||
<div id="MSearchResults"> | ||
<div class="SRPage"> | ||
<div id="SRIndex"> | ||
<div id="SRResults"></div> | ||
<div class="SRStatus" id="Loading">Loading...</div> | ||
<div class="SRStatus" id="Searching">Searching...</div> | ||
<div class="SRStatus" id="NoMatches">No Matches</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="header"> | ||
<div class="summary"> | ||
<a href="#nested-classes">Classes</a> | | ||
<a href="#namespaces">Namespaces</a> </div> | ||
<div class="headertitle"><div class="title">ARComputer.h File Reference</div></div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<div class="textblock"><code>#include <cmath></code><br /> | ||
<code>#include <memory></code><br /> | ||
<code>#include <numeric></code><br /> | ||
<code>#include <unordered_map></code><br /> | ||
<code>#include <unordered_set></code><br /> | ||
<code>#include <vector></code><br /> | ||
<code>#include "<a class="el" href="_dual___graph_8h_source.html">CoMMA/Dual_Graph.h</a>"</code><br /> | ||
<code>#include "<a class="el" href="_util_8h_source.html">CoMMA/Util.h</a>"</code><br /> | ||
</div> | ||
<p><a href="_a_r_computer_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 id="nested-classes" name="nested-classes"></a> | ||
Classes</h2></td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_cell_features.html">comma::CellFeatures< IndexT, RealT, IntT ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Convenient class containing salient features of a cell. According to to the chosen AR computation (see <a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>), some features may be outdated. <a href="classcomma_1_1_cell_features.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_computer.html">comma::ARComputer< IndexT, RealT, IntT ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Similar to a functor, the key point is the method that computes the AR and update the features of a cell. Here, AR is used lightly, and might be any quantity which should be minimized in the coarsening process. This is an abstract class. <a href="classcomma_1_1_a_r_computer.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_diam_over_radius.html">comma::ARDiamOverRadius< IndexT, RealT, IntT, dim ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is the ratio of the diameter over the estimated one (typically, in 2D, the squared root of the surface). It is the definition used in CoMMA from 1.1 up to 1.3.2. <a href="classcomma_1_1_a_r_diam_over_radius.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_over_measure.html">comma::AROverMeasure< IndexT, RealT, IntT ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is the reciprocal of the measure, hence the optimal solution should be the one with the max measure. <a href="classcomma_1_1_a_r_over_measure.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_diam_over_min_edge.html">comma::ARDiamOverMinEdge< IndexT, RealT, IntT ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is the ratio of the diameter over the smallest edge. <a href="classcomma_1_1_a_r_diam_over_min_edge.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_external_weight_over_radius.html">comma::ARExternalWeightOverRadius< IndexT, RealT, IntT, dim ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is the ratio of the external weights over the measure. With <code>dim</code> equal to 2, it is roughly equivalent to the ration of the perimeter and the surface of the cell. Moreover, with <code>dim</code> = 2, it is equivalent to the definition used by CoMMA up to version 1.0. For an algebraic version (where no concern is given to adimensionalize the AR), use <code>dim</code> equal to 1. <a href="classcomma_1_1_a_r_external_weight_over_radius.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_diameter.html">comma::ARDiameter< IndexT, RealT, IntT ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is the approximated diameter. <a href="classcomma_1_1_a_r_diameter.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_external_weights.html">comma::ARExternalWeights< IndexT, RealT, IntT ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is the total external weights (that is, from a geometric point of view, the perimeter). Looking for the minimum leads in graph terms to a min-cut. <a href="classcomma_1_1_a_r_external_weights.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_over_internal_weights.html">comma::AROverInternalWeights< IndexT, RealT, IntT ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is one over the internal weights (looking for the minimum leads to the maximization of the internal weights). <a href="classcomma_1_1_a_r_over_internal_weights.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_max_bary_distance_over_radius.html">comma::ARMaxBaryDistanceOverRadius< IndexT, RealT, IntT, dim ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is the ratio of the maximum over minimum distance of the cell centers from the barycenter (computed as weighted average of centers). If a cell is totally internal, it won't be included in the computations. <a href="classcomma_1_1_a_r_max_bary_distance_over_radius.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcomma_1_1_a_r_max_over_min_bary_distance.html">comma::ARMaxOverMinBaryDistance< IndexT, RealT, IntT ></a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcomma_1_1_a_r_computer.html" title="Similar to a functor, the key point is the method that computes the AR and update the features of a c...">ARComputer</a>. Here, AR is the ratio of the maximum over minimum distance of the cell centers from the barycenter (computed as weighted average of centers). If a cell is totally internal, it won't be included in the computations. <a href="classcomma_1_1_a_r_max_over_min_bary_distance.html#details">More...</a><br /></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="namespaces" name="namespaces"></a> | ||
Namespaces</h2></td></tr> | ||
<tr class="memitem:namespacecomma"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecomma.html">comma</a></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
</table> | ||
</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_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_8f906a4a6ae3a71fbba10fd081503c31.html">CoMMA</a></li><li class="navelem"><a class="el" href="_a_r_computer_8h.html">ARComputer.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.5 </li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.