initial upload
This commit is contained in:
441
docs/_site/pages/mstkla/MeshVertex.html
Normal file
441
docs/_site/pages/mstkla/MeshVertex.html
Normal file
@@ -0,0 +1,441 @@
|
||||
<html lang="en-gb" dir="ltr">
|
||||
|
||||
<head>
|
||||
<title>LaGriT</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="LaGriT : LaGriT is a library providing mesh generation and optimization for a variety of polyhedra and dimensions.">
|
||||
<link href="https://fonts.googleapis.com/css?family=Do+Hyeon|Fira+Sans" rel="stylesheet">
|
||||
<link rel="preload" href="https://getuikit.com/fonts/ProximaNova-Reg-webfont.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="preload" href="https://getuikit.com/fonts/ProximaNova-Light-webfont.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<link rel="stylesheet" href="/assets/css/uikit_theme.css">
|
||||
<link rel="icon" type="image/x-icon" href="https://www.lanl.gov/favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/footer.css">
|
||||
|
||||
<!-- load stylesheets -->
|
||||
<script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" defer=""></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/he/1.2.0/he.min.js" defer=""></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.6.2/marked.min.js" defer=""></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js" defer=""></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue-router/3.0.2/vue-router.min.js" defer=""></script>
|
||||
<script src="https://getuikit.com/assets/uikit/dist/js/uikit.min.js?1180" defer=""></script>
|
||||
<script src="https://getuikit.com/assets/uikit/dist/js/uikit-icons.min.js?1180" defer=""></script>
|
||||
<script src="https://getuikit.com/assets/highlightjs/highlight.min.js" defer=""></script>
|
||||
<script src="https://getuikit.com/app/main.min.js?1180" defer=""></script>
|
||||
<script src="https://www.googletagmanager.com/gtag/js?id=UA-42150424-1" async=""></script>
|
||||
|
||||
<!-- tipuesearch files -->
|
||||
<link rel="stylesheet" href="/assets/tipuesearch/css/normalize.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
||||
<script src="/assets/tipuesearch/tipuesearch_content.js"></script>
|
||||
<link rel="stylesheet" href="/assets/tipuesearch/css/tipuesearch.css">
|
||||
<script src="/assets/tipuesearch/tipuesearch_set.js"></script>
|
||||
<script src="/assets/tipuesearch/tipuesearch.min.js"></script>
|
||||
|
||||
<!-- Finally, load global style to overwrite template, tipuesearch, etc. -->
|
||||
<!--<link rel="stylesheet" href="/assets/globalstyle.css">-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<!-- Header -->
|
||||
<div uk-sticky="media: 960" class="uk-navbar-container tm-navbar-container uk-sticky uk-sticky-fixed" style="position: fixed; top: 0px; width: 100%; color: #212328;">
|
||||
<div class="uk-container uk-container-expand">
|
||||
<nav class="uk-navbar">
|
||||
<div class="uk-navbar-left">
|
||||
<a href="/" class="uk-navbar-item uk-logo" style="font-family: 'Do Hyeon', sans-serif; color: white;">
|
||||
<img uk-img src="/assets/img/logo.png" width="50" class="uk-margin-small-right" alt="LANL logo">
|
||||
LaGriT
|
||||
</a>
|
||||
</div>
|
||||
<div class="uk-navbar-right">
|
||||
<ul class="uk-navbar-nav uk-visible@m">
|
||||
<li><a href="/pages/commands">Commands</a></li>
|
||||
<li><a href="/pages/tutorial/index">Tutorials</a></li>
|
||||
<li><a href="/pages/release">Release Notes</a></li>
|
||||
<li><a href="/pages/publications">Publications</a></li>
|
||||
<li><a href="http://github.com/lanl/LaGriT"><span uk-icon="github"></span></a></li>
|
||||
|
||||
<!-- Begin search bar -->
|
||||
<div class="nav-overlay uk-navbar-right">
|
||||
<a class="uk-navbar-toggle" uk-search-icon uk-toggle="target: .nav-overlay; animation: uk-animation-fade" href="#"></a>
|
||||
</div>
|
||||
|
||||
<div class="nav-overlay uk-navbar-left uk-flex-1" hidden>
|
||||
<div class="uk-navbar-item uk-width-expand">
|
||||
<form class="uk-search uk-search-navbar uk-width-1-1" action="https://lanl.github.io/LaGriT/search/">
|
||||
<input class="uk-search-input" name="q" type="search" id="tipue_search_input" placeholder="Search..." autofocus>
|
||||
</form>
|
||||
</div>
|
||||
<a class="uk-navbar-toggle" uk-close uk-toggle="target: .nav-overlay; animation: uk-animation-fade" href="#"></a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#tipue_search_input').tipuesearch({
|
||||
'show': 10,
|
||||
'newWindow' : true,
|
||||
'showURL' : true,
|
||||
'showTitleCount' : true,
|
||||
'descriptiveWords' : 20,
|
||||
'highlightTerms' : true,
|
||||
'mode': 'static',
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- End search bar -->
|
||||
|
||||
</ul>
|
||||
|
||||
<a uk-navbar-toggle-icon="" href="#offcanvas" uk-toggle="" class="uk-navbar-toggle uk-hidden@m uk-icon uk-navbar-toggle-icon">
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="navbar-toggle-icon">
|
||||
<rect y="9" width="20" height="2"></rect>
|
||||
<rect y="3" width="20" height="2"></rect>
|
||||
<rect y="15" width="20" height="2"></rect>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="uk-sticky-placeholder" style="height: 80px; margin: 0px;"></div>
|
||||
<!-- End Header -->
|
||||
|
||||
<!-- Main Body text -->
|
||||
<div class="tm-main uk-section uk-section-default">
|
||||
<div class="uk-container uk-container-small uk-position-relative">
|
||||
|
||||
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
|
||||
“30”](http://www.ees.lanl.gov/staff/rao/mstkla/mstkla.md#MESH%20VERTEX:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
|
||||
“30”](http://www.ees.lanl.gov/staff/rao/mstkla/MeshEdge.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
|
||||
“30”](http://www.ees.lanl.gov/staff/rao/mstkla/GenRegion.md)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<hr />
|
||||
|
||||
<hr />
|
||||
|
||||
<p> <strong>MESH VERTEX OPERATORS</strong></p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>int</em> <strong>MV_Number</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v);</p>
|
||||
|
||||
<p>Return an ID number for the mesh vertex.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>VType</em> <strong>MV_Type</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v);</p>
|
||||
|
||||
<p>Return the mesh vertex type. Most useful in checking if a mesh vertex</p>
|
||||
|
||||
<p>has been deleted or if it is a parent vertex on an interface</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>PGeomEntity</em> <strong>MV_GMEntity</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v);</p>
|
||||
|
||||
<p>Return the geometric model entity the mesh vertex is classified on.</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>GType</em> <strong>MV_GMtype</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v);</p>
|
||||
|
||||
<p>Return the type of geometric model entity the mesh vertex is</p>
|
||||
|
||||
<p>classified on (GREGION, GFACE, GEDGE, GVERTEX, GUNKNOWN).</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>void</em> <strong>MV_Coords</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v, <em>double</em>
|
||||
*xyz);</p>
|
||||
|
||||
<p>Coordinates of mesh vertex</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>int</em> <strong>MV_IsParent</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v);</p>
|
||||
|
||||
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”A vertex not on an
|
||||
interface is its own parent - return value will be 1</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>int</em> <strong>MV_IsChild</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v);</p>
|
||||
|
||||
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”A vertex not on an
|
||||
interface is its own child - return value will be 1</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>PMeshVert</em> <strong>MV_Parent</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v);</p>
|
||||
|
||||
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”For a vertex not on an
|
||||
interface, the vertex itself is returned</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>void</em> <strong>MV_Children</strong>(<em>PMeshVert</em> mesh, <em>PMeshVert</em> v, <em>int</em>
|
||||
<em>nvc,
|
||||
*PMeshVert</em>
|
||||
*
|
||||
*vc)</p>
|
||||
|
||||
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”For a vertex not on an
|
||||
interface, a 1 item array with the vertex</p>
|
||||
|
||||
<p>pointer itself is returned and nvc = 1</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>void</em> <strong>MV_Edges</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v, <em>int</em>
|
||||
<em>nve,
|
||||
*PMeshEdge</em>
|
||||
*
|
||||
*vedges);</p>
|
||||
|
||||
<p>List of mesh edges connected to vertex. For this routine to work</p>
|
||||
|
||||
<p>properly, one must call MESH_BldAdj first. If not the routine will</p>
|
||||
|
||||
<p>just return 0.</p>
|
||||
|
||||
<p>If the vertex is a parent vertex, then the operator will return all</p>
|
||||
|
||||
<p>the edges connected to all the child vertices of the vertex. The edge</p>
|
||||
|
||||
<p>returned will be of type PARENT. Each of these edges will be made up</p>
|
||||
|
||||
<p>of ‘v’ and any other parent vertex it is connected to. If it is a</p>
|
||||
|
||||
<p>child vertex, then it will return edges connected only to itself. In</p>
|
||||
|
||||
<p>this case all the edges will be of type CHILD. Each edge will be made</p>
|
||||
|
||||
<p>up of the child vertex ‘v’ and any other child vertex it is connected</p>
|
||||
|
||||
<p>to. Note that vertices on 2-manifold (single material) boundaries and</p>
|
||||
|
||||
<p>in the interior can be considered a parent or a child as required.</p>
|
||||
|
||||
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/bullet12.gif" />“27” “31”
|
||||
*
|
||||
*</p>
|
||||
<ul>
|
||||
<li>IMPORTANT</li>
|
||||
</ul>
|
||||
|
||||
<p>*
|
||||
*
|
||||
*</p>
|
||||
|
||||
<p>When finished with the list of edges, call ME_Delete on each of the</p>
|
||||
|
||||
<p>edges and free the vedges list. This is important since the MeshEdge</p>
|
||||
|
||||
<p>data structures are created on the fly and the MESH object does not</p>
|
||||
|
||||
<p>keep track of them.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>void</em> <strong>MV_Faces</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v, <em>int</em>
|
||||
<em>nvf,
|
||||
*PMeshFace</em>
|
||||
*
|
||||
*vfaces);</p>
|
||||
|
||||
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
|
||||
*</p>
|
||||
<ul>
|
||||
<li>NOT YET TESTED
|
||||
*
|
||||
*</li>
|
||||
</ul>
|
||||
|
||||
<p>List of mesh faces connected to vertex. For this routine to work</p>
|
||||
|
||||
<p>properly, one must call MESH_BldAdj first. If not the routine will</p>
|
||||
|
||||
<p>just return 0.</p>
|
||||
|
||||
<p>The behavior of the operator for parent and child vertices is the same</p>
|
||||
|
||||
<p>as it is for MV_Edges.</p>
|
||||
|
||||
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/bullet12.gif" />“27” “31”
|
||||
*
|
||||
*</p>
|
||||
<ul>
|
||||
<li>IMPORTANT</li>
|
||||
</ul>
|
||||
|
||||
<p>*
|
||||
*
|
||||
*</p>
|
||||
|
||||
<p>When finished with the list of faces, call MF_Delete on each of the</p>
|
||||
|
||||
<p>faces and free the vfaces list. This is important since the MeshFace</p>
|
||||
|
||||
<p>data structures are created on the fly and the MESH object does not</p>
|
||||
|
||||
<p>keep track of them.</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>int</em> <strong>MV_numRegions</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v);</p>
|
||||
|
||||
<p>Number of mesh regions connected to mesh vertex. For this routine to</p>
|
||||
|
||||
<p>work properly, one must call MESH_BldUpAdj first. If not the routine</p>
|
||||
|
||||
<p>will just return 0.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>void</em> <strong>MV_Regions</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v, <em>int</em>
|
||||
<em>nr,
|
||||
*PMeshRegn</em>
|
||||
*
|
||||
*regns);</p>
|
||||
|
||||
<p>List of mesh regions connected to mesh vertex. For this routine to</p>
|
||||
|
||||
<p>work properly, one must call MESH_BldUpAdj first. If not the routine</p>
|
||||
|
||||
<p>will just return 0 for the number of regions and a NULL pointer for</p>
|
||||
|
||||
<p>the region list.</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>For a parent vertex, mesh regions in all the material regions</p>
|
||||
|
||||
<p>connected to all its children are returned. For a child vertex, only</p>
|
||||
|
||||
<p>mesh regions in the particular material region pointed to by the child</p>
|
||||
|
||||
<p>are returned.</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p>[]{#MV-Attribs<em>int</em> <strong>MV_GetAttVal</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v,
|
||||
*char
|
||||
**attname, *int
|
||||
**ival,</p>
|
||||
|
||||
<p>*double
|
||||
**rval, *char
|
||||
**cval, *void
|
||||
*
|
||||
**pval, *AttType
|
||||
**atype);</p>
|
||||
|
||||
<p>Depending on the type of the attribute, the appropriate field will be</p>
|
||||
|
||||
<p>filled on succesful completion. Arrays are returned in pval, integer in</p>
|
||||
|
||||
<p>ival and real number in rval (I don’t think lagrit supports character</p>
|
||||
|
||||
<p>attributes)</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<hr />
|
||||
|
||||
<p><em>int</em> <strong>MV_SetAttVal</strong>(<em>PMeshObj</em> mesh, <em>PMeshVert</em> v, *char</p>
|
||||
|
||||
<p><em>*attname, *int</em> ival,</p>
|
||||
|
||||
<p><em>double</em> rval, <em>char</em> cval, *void
|
||||
**pval);</p>
|
||||
|
||||
<p>This is similar to the GetAttVal routine - depending on the type and</p>
|
||||
|
||||
<p>rank, one sends in a value with the right variable</p>
|
||||
|
||||
<p>*
|
||||
*</p>
|
||||
<ul>
|
||||
<li>PERHAPS these routines need an additional variable, “rank” but
|
||||
for</li>
|
||||
</ul>
|
||||
|
||||
<p>now…..</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>
|
||||
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
|
||||
“30”](http://www.ees.lanl.gov/staff/rao/mstkla/mstkla.md#MESH%20VERTEX:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
|
||||
“30”](http://www.ees.lanl.gov/staff/rao/mstkla/MeshEdge.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
|
||||
“30”](http://www.ees.lanl.gov/staff/rao/mstkla/GenRegion.md)</p>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Begin footer -->
|
||||
<footer class="footer-distributed">
|
||||
<div class="footer-right">
|
||||
<div><img src="/assets/img/lanl_logo_white.png" height="80"></div>
|
||||
</div>
|
||||
|
||||
<div class="footer-left lg-background-color">
|
||||
<p class="footer-links" style="font-family: 'Fira Sans', sans-serif; color: white;">
|
||||
<a href="/">Home</a>
|
||||
·
|
||||
<a href="/pylagrit/original/index.html">PyLaGriT</a>
|
||||
·
|
||||
<a href="https://int.lanl.gov/org/ddste/aldcels/ees/index.shtml">EES-16</a>
|
||||
·
|
||||
<a href="/pages/licensing.html">License</a>
|
||||
·
|
||||
<a href="https://lagrit.lanl.gov/">Contact</a>
|
||||
</p>
|
||||
|
||||
<p>© 2019 Los Alamos National Laboratory</p>
|
||||
<p>EES-16 | Computational Earth Science</p>
|
||||
<p>LA-CC-15-069</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Begin Navigation Bar -->
|
||||
<div id="offcanvas" uk-offcanvas="mode: push; overlay: true" class="uk-offcanvas">
|
||||
<div class="uk-offcanvas-bar">
|
||||
<div class="uk-panel">
|
||||
<ul class="uk-nav uk-nav-default tm-nav">
|
||||
<form class="uk-search uk-search-default" action="https://lanl.github.io/LaGriT/search/">
|
||||
<a href="" uk-search-icon></a>
|
||||
<input class="uk-search-input" type="search" placeholder="" name="q" id="tipue_search_input_mobile">
|
||||
</form>
|
||||
<li class="uk-nav-header">General</li>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/pages/commands">Commands</a></li>
|
||||
<li><a href="/pages/release">Release Notes</a></li>
|
||||
<li><a href="/pages/publications">Publications</a></li>
|
||||
<li><a href="http://github.com/lanl/LaGriT">GitHub</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Navigation Bar -->
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user