/usr/share/doc/libdune-grid-glue-doc/doxygen/a00107.html is in libdune-grid-glue-doc 2.4.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.11"/>
<title>dune-grid-glue: Dune::GridGlue::ProjectionImplementation Namespace 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="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">dune-grid-glue
 <span id="projectnumber">2.4.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="namespaces.html"><span>Namespace List</span></a></li>
<li><a href="namespacemembers.html"><span>Namespace Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="a00103.html">Dune</a></li><li class="navelem"><a class="el" href="a00104.html">GridGlue</a></li><li class="navelem"><a class="el" href="a00107.html">ProjectionImplementation</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Dune::GridGlue::ProjectionImplementation Namespace Reference</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aceaac4969247e38262453f82aca8bedf"><td class="memTemplParams" colspan="2">template<typename Coordinate , typename Field > </td></tr>
<tr class="memitem:aceaac4969247e38262453f82aca8bedf"><td class="memTemplItemLeft" align="right" valign="top">Coordinate </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00107.html#aceaac4969247e38262453f82aca8bedf">corner</a> (unsigned c)</td></tr>
<tr class="separator:aceaac4969247e38262453f82aca8bedf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6862697106891aa590435d076e949702"><td class="memItemLeft" align="right" valign="top">std::pair< unsigned, unsigned > </td><td class="memItemRight" valign="bottom"><a class="el" href="a00107.html#a6862697106891aa590435d076e949702">edgeToCorners</a> (unsigned edge)</td></tr>
<tr class="separator:a6862697106891aa590435d076e949702"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6cad77ef0322dd2d36743bee614e74e6"><td class="memTemplParams" colspan="2">template<typename Coordinate , typename Corners > </td></tr>
<tr class="memitem:a6cad77ef0322dd2d36743bee614e74e6"><td class="memTemplItemLeft" align="right" valign="top">Corners::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00107.html#a6cad77ef0322dd2d36743bee614e74e6">interpolate</a> (const Coordinate &x, const Corners &corners)</td></tr>
<tr class="separator:a6cad77ef0322dd2d36743bee614e74e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad16a87230471ed2c5af0980dfa1668f0"><td class="memTemplParams" colspan="2">template<typename Coordinate , typename Normals > </td></tr>
<tr class="memitem:ad16a87230471ed2c5af0980dfa1668f0"><td class="memTemplItemLeft" align="right" valign="top">Normals::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00107.html#ad16a87230471ed2c5af0980dfa1668f0">interpolate_unit_normals</a> (const Coordinate &x, const Normals &normals)</td></tr>
<tr class="separator:ad16a87230471ed2c5af0980dfa1668f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a870cd1d1b2cb9d977ceab3032db9dca6"><td class="memTemplParams" colspan="2">template<typename Coordinate , typename Field > </td></tr>
<tr class="memitem:a870cd1d1b2cb9d977ceab3032db9dca6"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00107.html#a870cd1d1b2cb9d977ceab3032db9dca6">inside</a> (const Coordinate &x, const Field &epsilon)</td></tr>
<tr class="separator:a870cd1d1b2cb9d977ceab3032db9dca6"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="aceaac4969247e38262453f82aca8bedf"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Coordinate , typename Field > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Coordinate Dune::GridGlue::ProjectionImplementation::corner </td>
<td>(</td>
<td class="paramtype">unsigned </td>
<td class="paramname"><em>c</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return corner coordinates of a simplex.</p>
<p>Given the number <code>c</code> of a corner, this function returns the coordinate of the <code>c</code>th corner of the standard simplex with the same dimension as <code>Coordinate</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">c</td><td>corner number </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>coordinate of <code>c</code>th corner of the standard simplex </dd></dl>
<p>Referenced by <a class="el" href="a00010.html#a7c9f996e92d0c0874c04b4fda3464aea">Dune::GridGlue::ConformingMerge< dim, dimworld, T >::ConformingMerge()</a>, <a class="el" href="a00063.html#a673c9012160a2b6330099acfa8771c75">Dune::GridGlue::StandardMerge< T, dim1, dim2, dimworld >::enableBruteForce()</a>, and <a class="el" href="a00063.html#afb62b35e1623927b1be7d834a78405b9">Dune::GridGlue::StandardMerge< T, grid1Dim, grid2Dim, dimworld >::nSimplices()</a>.</p>
</div>
</div>
<a class="anchor" id="a6862697106891aa590435d076e949702"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::pair<unsigned, unsigned> Dune::GridGlue::ProjectionImplementation::edgeToCorners </td>
<td>(</td>
<td class="paramtype">unsigned </td>
<td class="paramname"><em>edge</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Translate edge to corner numbers.</p>
<p>Given the number <code>edge</code> of an edge of a triangle, this function returns the number of the corners belonging to it.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">edge</td><td>edge number of a triangle </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>numbers of corners of the edge </dd></dl>
<p>Referenced by <a class="el" href="a00043.html#a4f1e3bfbc87fcad521b8bdb2890b64f0">Dune::GridGlue::Projection< Coordinate >::epsilon()</a>.</p>
</div>
</div>
<a class="anchor" id="a870cd1d1b2cb9d977ceab3032db9dca6"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Coordinate , typename Field > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Dune::GridGlue::ProjectionImplementation::inside </td>
<td>(</td>
<td class="paramtype">const Coordinate & </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Field & </td>
<td class="paramname"><em>epsilon</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the point <code>x</code> is inside the standard simplex.</p>
<p>This functions checks if the point <code>x</code> is in the inside (or on the boundary) of the standard simplex, that is <code>xᵢ ≥ 0</code> and <code>∑ xᵢ ≤ 1</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>coordinates of point to check </td></tr>
<tr><td class="paramname">epsilon</td><td>tolerance used for floating-point comparisions </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <code>x</code> is inside, <code>false</code> otherwise </dd></dl>
<p>References <a class="el" href="a00043.html#a0f443c28663148f72a8671a2ef9d096e">Dune::GridGlue::Projection< Coordinate >::Projection()</a>.</p>
<p>Referenced by <a class="el" href="a00043.html#a4f1e3bfbc87fcad521b8bdb2890b64f0">Dune::GridGlue::Projection< Coordinate >::epsilon()</a>.</p>
</div>
</div>
<a class="anchor" id="a6cad77ef0322dd2d36743bee614e74e6"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Coordinate , typename Corners > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Corners::value_type Dune::GridGlue::ProjectionImplementation::interpolate </td>
<td>(</td>
<td class="paramtype">const Coordinate & </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Corners & </td>
<td class="paramname"><em>corners</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert barycentric coordinates to euclidian coordinates.</p>
<p>This function converts barycentric coordinates <code>x</code> with respect to the triangle with corners <code>corners</code> to euclidian coordinates. For the result <code>y</code> the following equation holds: <code>yᵢ = (cornersᵢ₊₁ - corners₀) xᵢ</code></p>
<p>Note that this can also be for linear interpolation of normals given on the corners, but this does not preserve the norm (e.g. for unit normals).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>barycentric coordinates </td></tr>
<tr><td class="paramname">corners</td><td>coordinates or normals at the corners </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>euclidian coordinates or interpolated normal </dd></dl>
<p>Referenced by <a class="el" href="a00043.html#a4f1e3bfbc87fcad521b8bdb2890b64f0">Dune::GridGlue::Projection< Coordinate >::epsilon()</a>, <a class="el" href="a00107.html#ad16a87230471ed2c5af0980dfa1668f0">interpolate_unit_normals()</a>, <a class="el" href="a00108.html#a84bdedfab7dc7e7f9ed2f0ea09499414">Dune::GridGlue::ProjectionWriterImplementation::write_edge_intersection_points()</a>, and <a class="el" href="a00108.html#a20f7b27dad92956efe88514a4a3970ad">Dune::GridGlue::ProjectionWriterImplementation::write_points()</a>.</p>
</div>
</div>
<a class="anchor" id="ad16a87230471ed2c5af0980dfa1668f0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename Coordinate , typename Normals > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Normals::value_type Dune::GridGlue::ProjectionImplementation::interpolate_unit_normals </td>
<td>(</td>
<td class="paramtype">const Coordinate & </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Normals & </td>
<td class="paramname"><em>normals</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Interpolate between unit normals on corners of a simplex.</p>
<p>This functions interpolates between unit normals given on corners of a simplex using linear interpolation.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>barycentric coordinates </td></tr>
<tr><td class="paramname">normals</td><td>unit normals at corners </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>unit normal at <code>x</code> <a class="el" href="a00107.html#a6cad77ef0322dd2d36743bee614e74e6">interpolate(const Coordinate&, const Corners&)</a> </dd></dl>
<p>References <a class="el" href="a00107.html#a6cad77ef0322dd2d36743bee614e74e6">interpolate()</a>.</p>
<p>Referenced by <a class="el" href="a00043.html#a4f1e3bfbc87fcad521b8bdb2890b64f0">Dune::GridGlue::Projection< Coordinate >::epsilon()</a>, <a class="el" href="a00108.html#acba14119e369d32663687241e6abcca5">Dune::GridGlue::ProjectionWriterImplementation::write_edge_intersection_normals()</a>, and <a class="el" href="a00108.html#a127c7fdc1ce8ef1da9e80e5e4dc6189d">Dune::GridGlue::ProjectionWriterImplementation::write_normals()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|