initial upload

This commit is contained in:
2025-12-17 11:00:57 +08:00
parent 2bc7b24a71
commit a09a73537f
4614 changed files with 3478433 additions and 2 deletions

View File

@@ -0,0 +1,235 @@
<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”](mstkla.md#GENERIC%20MESH%20REGION%20QUERIES:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](MeshVertex.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](Geom.md)</p>
<hr />
<hr />
<p>  <strong>GENERIC REGION TYPE OPERATORS</strong></p>
<hr />
<p> <em>int</em> <strong>RType_NumVerts</strong>(<em>ElType</em> type);</p>
<p>Number of vertices for a generic element of a particular type</p>
<hr />
<p><em>int</em> <strong>RType_NumEdges</strong>(<em>ElType</em> type);</p>
<p>Number of edges for a generic element of a particular type</p>
<hr />
<p><em>int</em> <strong>RType_NumFaces</strong>(<em>ElType</em> type);</p>
<p>Number of faces for a generic element of a particular type</p>
<hr />
<p><em>void</em> <strong>RType_EdgeVertMap</strong>(<em>ElType</em> type, <em>int</em> ienum, <em>int</em></p>
<p>*evnums);</p>
<p>Get the local vertex numbers for local edge ienum of element type.</p>
<hr />
<p><em>void</em> <strong>RType_FaceVertMap</strong>(<em>ElType</em> type, <em>int</em> ifnum, <em>int</em>
<em>nfv,
*int</em>
*
*fvnums);</p>
<p>Get the local vertex numbers for local facee ifnum of element type.</p>
<hr />
<p><em>void</em> <strong>RType_FaceEdgeMap</strong>(<em>ElType</em> type, <em>int</em> ifnum, <em>int</em>
<em>nfe,
*int</em>
*
*fenums);</p>
<p>Get the local edge numbers for local face ifnum of element type.</p>
<hr />
<p><em>void</em> <strong>RType_EdgeVertMap</strong>(<em>ElType</em> type, <em>int</em> ienum, <em>int</em></p>
<p>*evnums);</p>
<p>Get the local vertex numbers for local edge ienum of element type.</p>
<p> </p>
<p> <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#GENERIC%20MESH%20REGION%20QUERIES:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](MeshVertex.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](Geom.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>&copy; 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>

View File

@@ -0,0 +1,250 @@
<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”](mstkla.md#GMTKLA_Init) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GenRegion.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomEntity.md)</p>
<hr />
<hr />
<p> <strong>GEOMETRIC MODEL INITIALIZATION:</strong></p>
<p> </p>
<hr />
<p><em>void</em> <strong>GMTKLA_Init</strong>(<em>void</em>);</p>
<p>Initialize the geometric model interface (does nothing for now but</p>
<p>include it for completeness sake).</p>
<hr />
<hr />
<p>   <strong>MODEL OPERATORS:</strong></p>
<p> </p>
<hr />
<p> <em>int</em> <strong>GM_NumRegions</strong>(<em>void</em>);</p>
<p>Number of model regions. Note this has nothing to do with number of</p>
<p>material attributes. That is the analysis preprocessing concern not</p>
<p>the mesh generators or the geometric modelers. The number of model</p>
<p>regions refers to the number of distinct volumes in the geometric</p>
<p>model.</p>
<hr />
<p><em>int</em> <strong>GM_NumFaces</strong>(<em>void</em>);</p>
<p>Number of model faces. For now, this just returns the number of</p>
<p>surfaces in the geometric model although they are strictly not the</p>
<p>same.</p>
<hr />
<p><em>PGeomRegn</em> <strong>GM_Region</strong>(<em>int</em> i);</p>
<p>Return the ith geometric model region</p>
<hr />
<p><em>PGeomFace</em> <strong>GM_Face</strong>(<em>int</em> i);</p>
<p>Return the ith geometric model face</p>
<hr />
<p><em>void</em> <strong>GM_Regions</strong>(<em>int</em>
<em>nr, *PGeomRegn</em>
*
*gregs);</p>
<p>Get all the model regions</p>
<hr />
<p><em>void</em> <strong>GM_Faces</strong>(<em>int</em>
<em>nf, *PGeomFace</em>
*
*gfaces);</p>
<p>Get all the model faces
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#GMTKLA_Init) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GenRegion.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomEntity.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>&copy; 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>

View File

@@ -0,0 +1,207 @@
<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”](mstkla.md#MODEL%20EDGE:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GeomFace.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomVertex.md)</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/construction14.gif" />“169” “131”</p>
<hr />
<p><em>int</em> <strong>GEs_AreSame</strong>(<em>PGeomEdge</em> pe1, <em>PGeomEdge</em> pe2)</p>
<p> </p>
<hr />
<p><em>void</em> <strong>GE_Faces</strong>(<em>PGeomEdge</em> pe, <em>int</em>
<em>nf, *PGeomFace</em>
*
*faces)</p>
<p> </p>
<hr />
<p><em>void</em> <strong>GE_Regions</strong>(<em>PGeomEdge</em> pe, <em>int</em>
<em>nr, *PGeomRegn</em></p>
<p>*
*regns)</p>
<p> </p>
<hr />
<p><em>int</em> <strong>GE_OnBoundary</strong>(<em>PGeomEdge</em> pe, <em>PGeomEntity</em> gent)</p>
<p> </p>
<p> 
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#MODEL%20EDGE:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GeomFace.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomVertex.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>&copy; 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>

View File

@@ -0,0 +1,249 @@
<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”](mstkla.md#MODEL%20ENTITY:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](Geom.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomRegion.md)</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/construction14.gif" />“169” “131”</p>
<hr />
<hr />
<p><strong>MODEL ENTITY OPERATORS:</strong></p>
<hr />
<p><em>GType</em> <strong>GEnt_Type</strong>(<em>PGeomEntity</em> gent);</p>
<p>Type of a geometric model entity (GREGION, GFACE, GEDGE, GVERTEX,</p>
<p>GUNKNOWN).  Typically can be used in conjunction with the operator to</p>
<p>get mesh entity classification. So one can get the model entity a mesh</p>
<p>vertex is on, query what type it is and do something based on the</p>
<p>response (e.g. reposition the vertex only if it is classified in a</p>
<p>model region).</p>
<p> </p>
<hr />
<p><em>int</em> <strong>GEnt_Number</strong>(<em>PGeomEntity</em> gent);</p>
<p>ID Number of geometric model entity. Can be called instead of</p>
<p>GR_Number, GF_Number, GE_Number and GV_Number.</p>
<p> </p>
<hr />
<p><em>int</em> <strong>GEnt_OnBoundary</strong>(<em>PGeomEntity</em> g1, <em>PGeomEntity</em> g2);</p>
<p>Check if g2 is on the boundary of g1 (Check if a face is on the</p>
<p>boundary of a region, an edge is on the boundary of a face, a vertex</p>
<p>is on the boundary of a region)</p>
<hr />
<p><em>int</em> <strong>GEnts_Common</strong>(<em>int</em> nent, <em>GType</em>
<em>types, *PGeomEntity</em></p>
<p><em>gents, *int</em>
<em>ncm, *GType</em>
<em>ctypes, *PGeomEntity</em>
*cgents)</p>
<p>Given <em>nent</em> entitities (the entity pointers given in <em>gents</em> and their
types in <em>types</em>), find their  common entities, <em>cgents</em>. The entities
will be of the lowest order possible (but higher than the highest order
of the input entities). For example, if we were given two model edges
connected by one common face, the output would be this common face. On
the other hand if these edges were not connected by a common face but
the faces connected to them are on the boundary of the same model
region, the model region would be returned as a common entity.
Naturally, there may be more than one such common model entity in
general geometric models.</p>
<hr />
<p><em>int</em> <strong>GEnt_OnExtBoundary</strong>(<em>PGeomEntity</em> gent)</p>
<p>Check if model entity is on external boundary</p>
<hr />
<p> 
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#MODEL%20ENTITY:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](Geom.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomRegion.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>&copy; 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>

View File

@@ -0,0 +1,201 @@
<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”](mstkla.md#MODEL%20FACE:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GeomRegion.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomEdge.md)</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/construction14.gif" />“169” “131”</p>
<hr />
<hr />
<p>   <strong>MODEL FACE OPERATORS:</strong></p>
<hr />
<p> <em>void</em> <strong>GF_Regions</strong>(<em>PGeomFace</em> gf, <em>PGeomRegn</em> gr[2]);</p>
<p>Get the regions on either side of the face. gr[0] is the region on
the</p>
<p>opposite side of the normal while gr[1] is the region on the same
side</p>
<p>of the normal.  In principle (not in LaGriT), both entries of gr may</p>
<p>be filled _AND_ gr[0] may be equal to gr[1]. Also in principle,
both</p>
<p>entries of gr may be NULL.</p>
<p> </p>
<p> 
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#MODEL%20REGION:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GeomRegion.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomEdge.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>&copy; 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>

View File

@@ -0,0 +1,223 @@
<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”](mstkla.md#MODEL%20REGION:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GeomEntity.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomFace.md)</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/construction14.gif" />“169” “131”</p>
<hr />
<hr />
<p>   <strong>MODEL REGION OPERATORS:</strong> </p>
<hr />
<p><em>void</em> <strong>GR_Faces</strong>(<em>PGeomRegn</em> gr, <em>int</em>
<em>nf, *PGeomFace</em>
*faces);</p>
<p>Get the model faces that form the boundary of a model region.</p>
<hr />
<p><em>int</em> <strong>GR_FaceDir</strong>(<em>PGeomRegn</em> gr, <em>PGeomFace</em> gf);</p>
<p>Get the sense in which a model region is using a face, i.e., is the</p>
<p>face normal pointing into the region (return value 0), out of the</p>
<p>region (return value 1), both (return value 2) or none (return value</p>
<p>-1).
*
*
*
*</p>
<ul>
<li>MUST VERIFY THiS WITH CODE VALUES
*
*
*
*
*
*</li>
</ul>
<hr />
<p><em>int</em> <strong>GR_OnBoundary</strong>(<em>PGeomRegn</em> this, <em>PGeomEntity</em> gent);</p>
<p> </p>
<p> </p>
<p> 
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#MODEL%20REGION:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GeomEntity.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GeomFace.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>&copy; 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>

View File

@@ -0,0 +1,172 @@
<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”](mstkla.md#MODEL%20VERTEX) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GeomEdge.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](utilities.md)
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/construction14.gif" />“169” “131”<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#MODEL%20VERTEX) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](GeomEdge.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](utilities.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>&copy; 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>

View File

@@ -0,0 +1,495 @@
<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#MSTKLA_Init) <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/prelim.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/MeshRegion.md)</p>
<hr />
<hr />
<p><strong>MESH INITIALIZATION:</strong>  </p>
<hr />
<p> </p>
<p><em>void</em> <strong>MSTKLA_Init</strong>(<em>void</em>);</p>
<p>Initialize the mesh toolkit.</p>
<hr />
<hr />
<p><strong>MESH OPERATORS</strong></p>
<p> </p>
<p>These operators work on variables of type <em>PMeshObj.</em></p>
<hr />
<p><em>PMeshObj</em> <strong>MESH_Create</strong>();</p>
<p>Creates a default mesh object and returns it - At this point all the
info</p>
<p>in it is useless.</p>
<hr />
<p><em>void</em> <strong>MESH_InitFromFile</strong>(<em>PMeshObj</em> mesh, *char
**filename, *char</p>
<p><em>*format, *int</em> iotype, *char
*
**name);</p>
<p>Read a mesh in from “<em>filename</em>” and initialize the “<em>mesh</em>”.</p>
<p>The file is in the format “<em>format</em>” (“<em>lagrit</em>” for LaGriT dumps,
<em>gmv</em>” for GMV files, “<em>avs</em>” for AVS files).</p>
<p><em>iotype</em> is 1 for ascii and 0 for binary.</p>
<p><em>name</em> is the name of the mesh that is read and returned</p>
<p>If a LaGriT file is read, the geometric model info will be read as well.</p>
<hr />
<p><em>void</em> <strong>MESH_InitFromCMO</strong>(<em>PMeshObj</em> mesh, <em>char</em>
*cmoname);</p>
<p>Initialize the mesh object from a given cmo. If <em>cmoname</em> is NULL (say
sent in as the character string ), the mesh object is initialized from
the default mesh object. If not the given cmo is made is active and the
mesh object is</p>
<p>initialized from that.</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”This implies that
sometime in the middle of a LaGriT subroutine, one can call a C routine
which initializes a mesh object and then uses the functionality of
MSTKLA!! (Cool!)</p>
<hr />
<p><em>int</em> <strong>MESH_Select</strong>(<em>PMeshObj</em> mesh);</p>
<p>Make a particular mesh object active</p>
<hr />
<p><em>void</em> <strong>MESH_Delete</strong>(<em>PMeshObj</em> mesh);</p>
<p>Delete a particular mesh object.</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
*</p>
<ul>
<li>NOT YET IMPLEMENTED</li>
</ul>
<p>*</p>
<ul>
<li>WILL BE IN SOON</li>
</ul>
<hr />
<p><em>void</em> <strong>MESH_WriteToFile</strong>(<em>PMeshObj</em> mesh, <em>char</em>
<em>filename, *char</em></p>
<p><em>format, *int</em> iotype);</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
*</p>
<ul>
<li>NOT YET IMPLEMENTED</li>
</ul>
<p>*</p>
<ul>
<li>WILL BE IN SOON
*
*</li>
</ul>
<hr />
<p><em>PMeshObj</em> <strong>MESH_Duplicate</strong>(<em>PMeshObj</em> mesh);</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
*</p>
<ul>
<li>NOT YET IMPLEMENTED</li>
</ul>
<p>*
*</p>
<hr />
<p><em>int</em> <strong>MESH_NumVertices</strong>(<em>PMeshObj</em> mesh);</p>
<p>Number of vertices (nodes) in the mesh.</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>This count may include deleted vertices, parent vertices and other</p>
<p>types of vertices that should be ignored. So when looping through</p>
<p>vertices of a mesh, one should check if the vertex is to be ignored</p>
<p>by checking if MV_Type returns VIGNORE or VDELETED.</p>
<hr />
<p><em>int</em> <strong>MESH_NumRegions</strong>(<em>PMeshObj</em> mesh);</p>
<p>Number of regions (elements) in the mesh.</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>This count may include deleted regions. While looping through the</p>
<p>regions of a mesh, one should check if the region is to be ignored</p>
<p>by checking if MR_Type returns RDELETED.</p>
<hr />
<p><em>PMeshVert</em> <strong>MESH_Vertex</strong>(<em>PMeshObj</em> mesh, <em>int</em> i);</p>
<p>Fetch the ith vertex (node) of the mesh (This is C so remember i</p>
<p>starts from 0) The returned mesh vertex object can be queried for</p>
<p>information. The returned vertex must always be checked for its type</p>
<p>to see if it deleted or must otherwise be ignored.</p>
<hr />
<p><em>PMeshRegn</em> <strong>MESH_Region</strong>(<em>PMeshObj</em> mesh, <em>int</em> i);</p>
<p>Fetch the ith region (element) of the mesh. The returned mesh region</p>
<p>can be queried for information. The returned region must be checked if</p>
<p>it is a deleted region.</p>
<hr />
<p><em>void</em> <strong>MESH_BldUpAdj</strong>(<em>PMeshObj</em> mesh);</p>
<p>Build the vertex to region connectivity. This will allow upward</p>
<p>adjacency operator MV_Regions to be called. In fact those operators</p>
<p>will function properly only after this is called.</p>
<hr />
<p><em>void</em> <strong>MESH_DelUpAdj</strong>(<em>PMeshObj</em> mesh);</p>
<p>Delete the vertex to region connectivity information to save</p>
<p>memory. It is not possible for MSTKLA to determine when this</p>
<p>information is not needed and call this routine automatically.</p>
<hr />
<p><em>void</em> <strong>MESH_IncrNodeLists</strong>(<em>PMeshObj</em> mesh);</p>
<p>Increment all the node lists.</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”(
*</p>
<ul>
<li>NOT FULLY TESTED</li>
</ul>
<p>*
*)</p>
<hr />
<p><em>void</em> <strong>MESH_IncrElemLists</strong>(<em>PMeshObj</em> mesh);</p>
<p>Increment all the element lists.</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”(
*</p>
<ul>
<li>NOT FULLY TESTED</li>
</ul>
<p>*
*)</p>
<hr />
<p><em>void</em> <strong>MESH_CmprNodeLists</strong>(<em>PMeshObj</em> mesh);</p>
<p>Compress all the element lists.</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
*
*</p>
<ul>
<li>NOT YET
IMPLEMENTED
*
*
*</li>
</ul>
<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>There is one side effect of compression of lists. If one is storing a</p>
<p>list of node numbers or PMeshVerts (which for the LaGriT interface are</p>
<p>just integers cast as pointers), then after compression, the node</p>
<p>numbers or PMeshVert “addresses” may not be referring to the nodes you</p>
<p>think they are.</p>
<hr />
<p><em>void</em> <strong>MESH_CmprElemLists</strong>(<em>PMeshObj</em> mesh);</p>
<p>Compress all the element lists. 
*
*</p>
<ul>
<li>NOT YET IMPLEMENTED
*
*
*</li>
</ul>
<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>There is one side effect of compression of lists. If one is storing a</p>
<p>list of element numbers or PMeshRegns (which for the LaGriT interface</p>
<p>are just integers cast as pointers), then after compression, the</p>
<p>element numbers or PMeshRegn “addresses” may not be referring to the</p>
<p>elements you think they are.</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#MSTKLA_Init) <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/prelim.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/MeshRegion.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>&copy; 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>

View File

@@ -0,0 +1,306 @@
<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”](mstkla.md#MESH%20VERTEX:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](MeshEdge.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](GenRegion.md)</p>
<p> </p>
<hr />
<hr />
<p>   <strong>MESH ATTRIBUTE OPERATORS</strong></p>
<p> </p>
<hr />
<p><em>void</em> <strong>MESH_AddAtt</strong>(<em>PMeshObj</em> mesh, <em>char
**attname, *AttType</em>
attype, <em>Rank</em> rank,</p>
<p><em>MType</em> mtype, <em>Interp</em> interp, <em>int</em> persist, <em>char
**ioflags,
*double</em> defval);</p>
<p><em>AttType</em>, <em>Rank</em> and <em>Interp</em> are typedef enums which are available if
one</p>
<p>includes “<em>mstkla.h</em>”. The specific names (which are pretty much the
strings</p>
<p>that are used in LaGriT) are given in <em>mstkla_types.h</em> (See <a href="prelim.md">MSTKLA
typedefs</a>)</p>
<p>persist must be 0 for temporary atts and 1 for permanent attribs</p>
<p>ioflags is a string as in lagrit  (may be any combination of a, g,
f, s, x, no for</p>
<p>AVS, GMV, FEHM, SGI, LaGriT or None)</p>
<p>mtype is <strong>MVERTEX</strong> if the attribute is to be node based and is
<strong>MFACE</strong> or</p>
<p><strong>MREGION</strong> if the attribute is to be element based depending on whether
the mesh</p>
<p>is 2D or 3D respectively.</p>
<hr />
<p><em>void</em> <strong>MESH_ModAtt</strong>(<em>PMeshObj</em> mesh, *char
**attname, *char</p>
<p><em>*fieldname, *int</em> inew,</p>
<p><em>double</em> rnew, *char
**cnew);</p>
<p>Here depending on the fieldname, one has to fill the right value for
inew,</p>
<p>rnew or cnew.</p>
<p>*
*</p>
<ul>
<li>NOT TESTED
*
*
*</li>
</ul>
<hr />
<p><em>void</em> <strong>MESH_CopyAtt</strong>(<em>PMeshObj</em> trgmsh, <em>PMeshObj</em> srcmsh, <em>char</em></p>
<p><em>trgatt, *char</em>
*srcatt);</p>
<p>*
*</p>
<ul>
<li>NOT TESTED
*
*
*</li>
</ul>
<hr />
<p> <em>void</em> <strong>MESH_DelAtt</strong>(<em>PMeshObj</em> mesh, *char
**attname);</p>
<hr />
<p><em>void</em> <strong>MESH_SetAtt</strong>(<em>PMeshObj</em> mesh, <em>char
**attname, *int</em> ifirst,
<em>int</em> ilast, <em>int</em></p>
<p>istride, <em>char
**psetname, *double</em> value);</p>
<p>If psetname is specified ifirst is ignored</p>
<p>*
*</p>
<ul>
<li>NOT TESTED
*
*
*</li>
</ul>
<hr />
<hr />
<p>Once attributes have been created, one can go to an individual mesh
entity</p>
<p>and ask for the value of an attribute for that entity or change the
value.</p>
<p>The entities can be Mesh Vertices (always), Mesh Faces (for a surface
mesh</p>
<p>only), Mesh Regions (for a solid mesh only).</p>
<p>For example one can use <strong>MR_GetAttVal</strong> operator to get the value of
an</p>
<p>attribute for a given element or use <strong>MR_SetAttVal</strong> to set it.</p>
<p>See attribute operators for<a href="/pages/mstkla/MeshVertex.html#MV-Attribs">Mesh Vertices</a>,<a href="/pages/mstkla/MeshRegion.html#MR-Attribs">Mesh Regions</a> and <a href="MeshFace.md#MF-Attribs">Mesh
Faces</a></p>
<p> 
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#MESH%20VERTEX:) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](MeshEdge.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](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>&copy; 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>

View File

@@ -0,0 +1,390 @@
<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%20EDGE:) <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/MeshFace.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/MeshVertex.md)</p>
<hr />
<hr />
<p>   <strong>MESH EDGES:</strong></p>
<hr />
<p>Since LaGriT does not really store mesh edges, the mesh edge data</p>
<p>structure (<em>MeshEdge</em>, <em>PMeshEdge</em>) is created on the fly whenever edge</p>
<p>information is requested. Therefore after utilizing the edge(s) get</p>
<p>information, it (they) should be destroyed by calling ME_Delete</p>
<p>operator.</p>
<hr />
<p><em>int</em> <strong>ME_Number</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> e);</p>
<p>*</p>
<ul>
<li>This will return 0 for now since I havent yet decided on a good</li>
</ul>
<p>*</p>
<ul>
<li>way to assign a unique number to the (virtual) edges of the mesh.</li>
</ul>
<hr />
<p><em>void</em> <strong>ME_Delete</strong>(<em>PMeshEdge</em> e);</p>
<p>Free the data structure associated with this edge created on the fly.</p>
<p>(There is an operator for creation but I cannot yet imagine needing to</p>
<p>make that a publicly available operator).</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>ME_Delete will not remove any connections in the mesh. It just destroys
the</p>
<p>temporary data structure used to store the edge info</p>
<hr />
<p><em>int</em> <strong>ME_IsParent</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> pe);</p>
<p>If both vertices of the edge are parents, the edge is a parent.</p>
<hr />
<p><em>PMeshEdge</em> <strong>ME_Parent</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> pe);</p>
<p>The parents of each vertex of the edge are obtained and a new parent</p>
<p>edge is constructed from them.</p>
<hr />
<p><em>void</em> <strong>ME_Children</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> pe, <em>int</em>
<em>nec,
*PMeshEdge</em>
*
*ec);</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
*
*</p>
<ul>
<li>NOT YET
IMPLEMENTED
*
*
*</li>
</ul>
<p>Child vertices of the face are found and appropriate combinations of
these vertices are used to construct the new child faces. For a
combination to be appropriate, the vertices of the child face has to
point to the same material region.</p>
<hr />
<p><em>int</em> <strong>MEs_areSame</strong>(<em>PMeshEdge</em> e1, <em>PMeshEdge</em> e2);</p>
<p>Compare the data in two MeshEdge data structures and see if they</p>
<p>represent the same connection in the mesh. This operator is needed</p>
<p>since the on-the-fly <em>PMeshEdge</em> pointers may not be the same and they</p>
<p>do not directly point to any persistent “object” in the database.</p>
<hr />
<p><em>PGeomEntity</em> <strong>ME_GMentity</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> e);</p>
<p>Return the geometric model entity the edge is on. In the absence of
explicit</p>
<p>edge representation in the database, this may be problematic in a few
cases</p>
<p>cases where multiple classifications are possible.</p>
<hr />
<p><em>GType</em> <strong>ME_GMtype</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> e);</p>
<p>Return the type of geometric model entity the edge is on. This (I</p>
<p>think) is more deterministically found from the classifications of its</p>
<p>vertices but still there may be some incorrect cases. The way around</p>
<p>is complicated and will not be implemented for now.</p>
<hr />
<p><em>PMeshVert</em> <strong>ME_Vertex</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> e, <em>int</em> i);</p>
<p>Return the ith vertex of the mesh edge. i can only be 0 or 1.</p>
<p>Parent edges return parent vertices and child edges return child
vertices.</p>
<p>If a vertex is not on an interface the vertex itself is returned.</p>
<hr />
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/new1.gif" />“31” “12”<em>PMeshVert</em>
<strong>ME_OtherVertex</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> e, <em>PMeshVert</em> v);</p>
<p>Return the other vertex of the mesh edge (obviously the one that is not
v).</p>
<hr />
<p><em>void</em> <strong>ME_Faces</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> e, <em>int</em>
<em>nef,
*PMeshFace</em>
*
*efaces);</p>
<p>Get the “faces” of an “edge”. The faces data structures are also</p>
<p>constructed on the fly since they do not exist in the LaGriT</p>
<p>database. Also, as with other upward connectivity queries, this can</p>
<p>execute usefully only if the routine MESH_BldUpAdj is called</p>
<p>beforehand. Also, see note on freeing the <em>PMeshFace</em> structures listed</p>
<p>under MV_Edges and MV_Faces.</p>
<p>The behavior of this operator for parent and child edges is similar to</p>
<p>MV_Edges.</p>
<hr />
<p><em>void</em> <strong>ME_Regions</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> e, <em>int</em>
<em>ner,
*PMeshRegn</em>
*
*eregions);</p>
<p>Get the regions connected to an edge. MESH_BldUpAdj must be called
before this operator can be called usefully.</p>
<p>The behavior of this operator for child and parent edges is similar to</p>
<p>that of MV_Regions.</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>Since MESH_BldUpAdj builds explicit upward adjacency information, this</p>
<p>routine does not require a seed region to be provided. Also, this</p>
<p>routine will work regardless of whether there is a complete cycle of</p>
<p>regions around the edge and whether the edge is an arbitrary type of</p>
<p>non-manifold edge!!</p>
<hr />
<p><em>int</em> <strong>ME_EntOnBdry</strong>(<em>PMeshObj</em> mesh, <em>PMeshEdge</em> pe, <em>PMeshVert</em>e
pv);</p>
<p>Check if vertex is on the boundary of edge. In other words, is this</p>
<p>vertex one of the edges vertices.</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%20EDGE:) <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/MeshFace.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/MeshVertex.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>&copy; 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>

View File

@@ -0,0 +1,461 @@
<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%20FACE:) <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/MeshRegion.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/MeshEdge.md)</p>
<hr />
<hr />
<p>    <strong>MESH FACES:</strong></p>
<hr />
<p>Since LaGriT does not really store mesh faces, the mesh face data</p>
<p>structure (MeshFace, <em>PMeshFace</em>) is created on the fly whenever face</p>
<p>information is requested. Therefore after utilizing the face(s) get</p>
<p>information, it (they) should be destroyed by calling MF_Delete</p>
<p>operator.</p>
<hr />
<p><em>int</em> <strong>MF_Number</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f);</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
*</p>
<ul>
<li>This will return 0
for now since I havent yet decided on a good</li>
</ul>
<p>*</p>
<ul>
<li>way to assign a unique number to the (virtual) faces of the mesh.</li>
</ul>
<hr />
<p><em>void</em> <strong>MF_Delete</strong>(<em>PMeshFace</em> f);</p>
<p>Free the data structure associated with this face created on the fly.</p>
<p>(There is an operator for creation but I cannot yet imagine needing to</p>
<p>make that a publicly available operator).</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>MF_Delete will not remove any connections in the mesh. It just</p>
<p>destroys the temporary data structure used to store the face info</p>
<hr />
<p><em>int</em> <strong>MF_IsParent</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> pf);</p>
<p>If all vertices of the face are parents, the face is a parent.</p>
<hr />
<p><em>PMeshFace</em> <strong>MF_Parent</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> pf);</p>
<p>The parents of all vertices of the face are obtained and a new</p>
<p>parent face is constructed from them.</p>
<hr />
<p><em>void</em> <strong>MF_Children</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> pf, <em>int</em>
<em>nfc,
*PMeshFace</em>
*
*fc);</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
*
*</p>
<ul>
<li>NOT YET
IMPLEMENTED
*
*
*</li>
</ul>
<p>Child vertices of the face are found and appropriate combinations of
these vertices are used to construct the new child faces. For a
combination to be appropriate, the vertices of the child face has to
point to the same material region.</p>
<hr />
<p><em>int</em> <strong>MFs_areSame</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f1, <em>PMeshFace</em> f2);</p>
<p>Compare the data in two MeshFace data structures and see if they</p>
<p>represent the same connection in the mesh. This operator is needed</p>
<p>since the on-the-fly <em>PMeshFace</em> pointers may not be the same and they</p>
<p>do not directly point to any persistent “object” in the database.</p>
<hr />
<p><em>PGeomEntity</em> <strong>MF_GMentity</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f);</p>
<p>Return the geometric model entity the face is on. In the absence of</p>
<p>explicit face representation in the database, this may be problematic</p>
<p>in a few cases cases where multiple classifications are possible.</p>
<hr />
<p><em>GType</em> <strong>MF_GMtype</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f);</p>
<p>Return the type of geometric model entity the face is on. This (I</p>
<p>think) is more deterministically found from the classifications of its</p>
<p>vertices but some problems may still occur. See Comments in ME_GMtype.</p>
<hr />
<p><em>PMeshVert</em> <strong>MF_Vertices</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f, <em>int</em></p>
<p><em>nfv, *PMeshVert</em>ex
*
*fverts);</p>
<p>Return the vertices of the mesh face. The vertices are in no</p>
<p>particular order.  Parent faces return parent vertices and child faces</p>
<p>child vertices. If a vertex is not on an non-manifold boundary</p>
<p>(interface) the vertex itself is returned.</p>
<hr />
<p><em>PMeshVert</em> <strong>MF_VerticesOrd</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f, <em>int</em></p>
<p><em>nfv, *PMeshVert</em>ex
*
*fverts);</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”
*</p>
<ul>
<li>NOT YET IMPLEMENTED</li>
</ul>
<p>*
*</p>
<p>Return the vertices of the mesh face. The vertices are ordered such</p>
<p>that the smallest one is the first. Also, the sequence is such that</p>
<p>the face points out of the region connected to it or in case there are</p>
<p>two regions connected to it, such that it points out of the region</p>
<p>with the lower ID Number. The behavior of the operator for parent and</p>
<p>child faces is the same as MF_Vertices</p>
<hr />
<p><em>void</em> <strong>MF_Edges</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f, <em>int</em>
<em>nef,
*PMeshFace</em>
*
*efaces);</p>
<p>Get the “edges” of an “face”. The edges data structures are</p>
<p>constructed on the fly since they do not exist in the LaGriT</p>
<p>database. See note on freeing the <em>PMeshFace</em> structures listed under</p>
<p>MV_Edges and MV_Faces. Parent faces return parent edges and child</p>
<p>faces return child edges.</p>
<hr />
<p><em>void</em> <strong>MF_Regions</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f, <em>PMeshRegn</em>
fregions[2]);</p>
<p>Get the regions connected to an face. MESH_BldUpAdj must be called</p>
<p>before this operator can be called usefully. The regions will be</p>
<p>returned such that the face f as defined will point out fregions[0]</p>
<p>(if it exists) and into fregions[1] (if it exists).</p>
<p>A parent face will return both regions connected to it while a child</p>
<p>face will return a region only on its side of the interface. If a</p>
<p>“child” face constructed from interior nodes and child nodes on an</p>
<p>interface, both regions connected to it are returned.</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>Since MESH_BldUpAdj builds explicit upward adjacency information, this</p>
<p>routine does not require a seed region to be provided.</p>
<hr />
<p><em>int</em> <strong>MF_EntOnBdry</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f, MType mtype,
PMeshEntity pent);</p>
<p>Check if mesh entity of type mtype is on the boundary of mesh</p>
<p>face. mtype can only be MEDGE or MVERTEX. In other words, check if</p>
<p>mesh face is made up of mesh edge or vertex in question.</p>
<p> </p>
<p> </p>
<hr />
<p>[]{#MF-Attribs<em>int</em> <strong>MF_GetAttVal</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f,
*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 dont think lagrit supports character</p>
<p>attributes)</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/bullet12.gif" />“27” “31” Will only work for
surface meshes</p>
<hr />
<p><em>int</em> <strong>MR_SetAttVal</strong>(<em>PMeshObj</em> mesh, <em>PMeshFace</em> f, *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/bullet12.gif" />“27” “31” Will only work for
surface meshes
<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%20FACE:) <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/MeshRegion.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/MeshEdge.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>&copy; 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>

View File

@@ -0,0 +1,372 @@
<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%20REGION:) <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/Mesh.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/MeshFace.md)</p>
<p> </p>
<hr />
<hr />
<p>   <strong>MESH REGIONS</strong>:</p>
<hr />
<p> <em>int</em> <strong>MR_Number</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r);</p>
<p>Number ID for mesh region</p>
<hr />
<p><em>PGeomEntity</em> <strong>MR_GMEntity</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r);</p>
<p>Geometric entity (can only be a region) mesh region is classified on</p>
<hr />
<p><em>ElType</em> <strong>MR_Type</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r);</p>
<p>Type of element that mesh region is (TET, HEX etc)</p>
<hr />
<p><em>int</em> <strong>MR_NumVerts</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r);</p>
<p>Number of vertices in the element</p>
<hr />
<p><em>void</em> <strong>MR_Vertices</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, <em>int</em>
<em>nv,
*PMeshVert</em>
*
*verts);</p>
<p>List of vertices of a mesh region</p>
<hr />
<p><em>void</em> <strong>MR_VerticesE</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, <em>PMeshEdge</em> e,
<em>PMeshVert</em>
*rverts);</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”<strong>THIS OPERATOR IS
APPLICABLE ONLY TO TETS</strong></p>
<p>Return the vertices of the given tet w.r.t to the given edge. The</p>
<p>vertices v1 and v2 are vertices of the edge (maybe (0,1) or (1,0)) -</p>
<p>these are returned as rverts[0] and rverts[1]. The vertices
rverts[2]</p>
<p>(call it k1) and rverts[3] (k2) are returned such that if the
vertices</p>
<p>are above the edge then looking from vertex 0 to vertex 1 of the edge</p>
<p>k2 is to the left of k1. Mathematically,</p>
<p>   (v2k1 X v2k2) . v2v1 &gt; 0</p>
<p>where v2k1 is the vector from v2 to k1, etc.</p>
<hr />
<p><em>void</em> <strong>MR_VerticesLocE</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, <em>int</em> enum,
<em>PMeshVert</em>
*rverts);</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/note1.gif" />“31” “32”<strong>THIS OPERATOR IS
APPLICABLE ONLY TO TETS</strong></p>
<p>Same as MR_VerticesE (above) but the edge is specified by a local edge</p>
<p>number of the region instead of an explicit pointer.</p>
<hr />
<p><em>int</em> <strong>MR_NumFaces</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r);</p>
<p>Number of faces of element</p>
<hr />
<p><em>void</em> <strong>MR_Edges</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, <em>int</em>
<em>num,
*PMeshEdge</em>
*
*edge);</p>
<p>List of edges of a mesh region</p>
<hr />
<p><em>void</em> <strong>MR_Faces</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, <em>int</em>
<em>num,
*PMeshFace</em>
*
*faces);</p>
<p>List of faces of a mesh region</p>
<hr />
<p><em>int</em> <strong>MR_LocEdgeNum</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, <em>PMeshEdge</em> e);</p>
<p>Local edge number of the given edge in the given region</p>
<hr />
<p><em>int</em> <strong>MR_LocFaceNum</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, <em>PMeshFace</em> f);</p>
<p>Local face number of the given face in the given region.</p>
<hr />
<p><em>int <strong>MR_EntOnBdry</strong></em>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, MType mtype,
PMeshEntity pent);</p>
<p>Check if mesh entity of type mtype is on the boundary of mesh</p>
<p>region. mtype can be MFACE, MEDGE or MVERTEX. In other words, the</p>
<p>operator checks if mesh region is made up of mesh face, edge or vertex</p>
<p>in question.</p>
<p> </p>
<hr />
<p><em>PMeshRegn</em> <strong>MR_FaceNebr</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, <em>int</em>
lfnum);</p>
<p>Return the mesh region adjacent to face number lfnum of region r</p>
<p>The local face numbering starts from 0 in C style.</p>
<p> </p>
<hr />
<p>[]{#MR-Attribs<em>int</em> <strong>MR_GetAttVal</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r,
*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 dont think lagrit supports character</p>
<p>attributes)</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/bullet12.gif" />“27” “31” Will only work for
solid meshes</p>
<hr />
<p><em>int</em> <strong>MR_SetAttVal</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> r, *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/bullet12.gif" />“27” “31” Will only work for
solid meshes</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%20REGION:) <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/Mesh.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/MeshFace.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>&copy; 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>

View 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 dont 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>&copy; 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>

View File

@@ -0,0 +1,725 @@
<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”](mstkla.md#EXAMPLE) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](utilities.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](linking.md)</p>
<p>/
*</p>
<p>==========================================================================</p>
<p>#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#</p>
<p>  Example program with MSTKLA</p>
<p>#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#</p>
<p>==========================================================================</p>
<p>*</p>
<p>#include &lt;stdio.h&gt;</p>
<p>#include &lt;stdlib.h&gt;</p>
<p>#include “mstkla.h”</p>
<p>#include “gmtkla.h”</p>
<p>int main(int argc, char
*argv[]) {</p>
<p>  char
*meshname;</p>
<p>  PMeshObj mesh;</p>
<p>  PMeshVert vert, rverts[8];</p>
<p>  PMeshRegn reg, oreg;</p>
<p>  ElType type;</p>
<p>  int nv, nf, nr, nrv, i, j,
*rfside, nrf, ngr, ngf;</p>
<p>  double xyz[3];</p>
<p>  PGeomEntity gent;</p>
<p>  PGeomFace
*rflist,
*gflist;</p>
<p>  PGeomRegn
*grlist;</p>
<p> </p>
<p>  ***/</p>
<ul>
<li>Initialization
<em>**/</em></li>
</ul>
<p> </p>
<p>  MSTKLA_Init();</p>
<p>  GMTKLA_Init();</p>
<p> </p>
<p>  ***/</p>
<ul>
<li>Create a mesh object and fill in the data after reading from a
file
<em>**/</em></li>
</ul>
<p>  mesh = MESH_Create();</p>
<p>  MESH_InitFromFile(mesh, argv[1], argv[2], 1, &amp;meshname);</p>
<p> </p>
<p>  ***/</p>
<ul>
<li>Model info
<em>**/</em></li>
</ul>
<p> </p>
<p>  ngr = GM_NumRegions();</p>
<p>  fprintf(stderr,”Number of model regions: %d</p>
<p>n”,ngr);</p>
<p> </p>
<p>  ngf = GM_NumFaces();</p>
<p>  fprintf(stderr,”Number of model faces: %d</p>
<p>n”,ngf);</p>
<p> </p>
<p>  ***/</p>
<ul>
<li>Get all the regions in the model
<em>**/</em></li>
</ul>
<p>  GM_Regions(&amp;ngr, &amp;grlist);</p>
<p> </p>
<p>  ***/</p>
<ul>
<li>Loop through the regions and print out info about the faces***</li>
</ul>
<p><strong><em>     bounding this region</em></strong></p>
<p><em>**    
**</em>/*</p>
<p> </p>
<p>  for (i = 0; i &lt; ngr; i++) {</p>
<p>    fprintf(stderr,”Region %-d</p>
<p>n:</p>
<p>n”,(i+1));</p>
<p> </p>
<p>    ***/</p>
<ul>
<li>Faces of the region
<em>**/</em></li>
</ul>
<p> </p>
<p>    GR_Faces(grlist[i],&amp;nrf,&amp;rflist,&amp;rfside);</p>
<p> </p>
<p>    fprintf(stderr,”  %d Faces</p>
<p>n”,nrf);</p>
<p>    for (j = 0; j &lt; nrf; j++) {</p>
<p>      fprintf(stderr,”Face %-d  Dir %-d Type %-d</p>
<p>n”,</p>
<p>       GF_Number(rflist[j]),rfside[j],GF_Type(rflist[j]));</p>
<p>   </p>
<p> </p>
<p>  for (i = 0; i &lt; ngr; i++)</p>
<p>    GR_Delete(grlist[i]);</p>
<p>  free(grlist);</p>
<p>  <em>*/</em></p>
<ul>
<li>Just get the all the faces of the model
<em>**/</em></li>
</ul>
<p>***  /</p>
<ul>
<li>Delete the objects containing that info - the surfaces
themselves***</li>
</ul>
<p><strong><em>     dont get deleted</em></strong></p>
<p><em>**    
**</em>/*</p>
<p>  GM_Faces(&amp;ngf, &amp;gflist);</p>
<p>  for (i = 0; i &lt; ngf; i++)</p>
<p>    GF_Delete(gflist[i]);</p>
<p>  free(gflist);</p>
<p> </p>
<p>  ***/</p>
<ul>
<li>Mesh Info
<em>**/</em></li>
</ul>
<p>  fprintf(stderr,”Number of nodes in
mesh:</p>
<p>t%d</p>
<p>n”,MESH_NumVertices(mesh));</p>
<p>  fprintf(stderr,”Number of elements in
mesh:</p>
<p>t%d</p>
<p>n”,MESH_NumRegions(mesh));</p>
<p>  ***/</p>
<ul>
<li>Loop through each mesh vertex and print some info about it</li>
</ul>
<p><em>**/</em></p>
<p>  nv = MESH_NumVertices(mesh);</p>
<p>  for (i = 0; i &lt; nv; i++) {</p>
<p>    vert = MESH_Vertex(mesh,i);</p>
<p>    if (MV_Type(mesh,vert) == VDELETED MV_Type(mesh,vert) ==
VIGNORE)</p>
<p>      continue;</p>
<p>    ***/</p>
<ul>
<li>Get the classification (model entity that mesh entity is on)
of***</li>
</ul>
<p><strong><em>       the mesh vertex</em></strong></p>
<p><em>**      
**</em>/*</p>
<p>    gent = MV_GMentity(mesh,vert);</p>
<p>    ***/</p>
<ul>
<li>Get the coordinates of the mesh vertex
<em>**/</em></li>
</ul>
<p>    MV_Coords(mesh, vert, xyz);</p>
<p>    if (gent)</p>
<p>      fprintf(stderr,”V%-d [ G%-d (order %1d) —  %lf %lf %lf</p>
<p>n”,</p>
<p>       MV_Number(mesh,vert),GEnt_Number(gent), MV_GMtype(mesh,vert),</p>
<p>       xyz[0],xyz[1],xyz[2]);</p>
<p>    else</p>
<p>      fprintf(stderr,”V%-d [ G</p>
<ul>
<li>(order %1d) —  %lf %lf %lf</li>
</ul>
<p>n”,</p>
<p>       MV_Number(mesh,vert),MV_GMtype(mesh,vert),</p>
<p>       xyz[0],xyz[1],xyz[2]);</p>
<p> </p>
<p>  fprintf(stderr,”</p>
<p>n</p>
<p>n”);</p>
<p>  nr = MESH_NumRegions(mesh);</p>
<p>  ***/</p>
<ul>
<li>Loop through each mesh regions and print some info about it</li>
</ul>
<p><em>**/</em></p>
<p>  for (i = 0; i &lt; nr; i++) {</p>
<p>    reg = MESH_Region(mesh,i);</p>
<p>    ***/</p>
<ul>
<li>Region type - TET, PYRAMID, PRISM, HEX?
<em>**/</em></li>
</ul>
<p>    type = MR_Type(mesh,reg);</p>
<p> </p>
<p>    ***/</p>
<ul>
<li>Vertices of region aka nodes of element
<em>**/</em></li>
</ul>
<p>    MR_Vertices(mesh, reg, &amp;nrv, (PMeshVert
*) rverts);</p>
<p> </p>
<p>    ***/</p>
<ul>
<li>Classification of mesh region i.e. what model region it is in</li>
</ul>
<p><em>**/</em></p>
<p>    gent = MR_GMentity(mesh,reg);</p>
<p>    if (GEnt_Type(gent) != GREGION)</p>
<p>      fprintf(stderr,”Mesh Region not classified on model
region???</p>
<p>n”);</p>
<p> </p>
<p>    fprintf(stderr,”R%-d [ G%-d — “, MR_Number(mesh,reg),
GEnt_Number(gent));</p>
<p>    for (j = 0; j &lt; nrv; j++)</p>
<p>      fprintf(stderr,”%d  “, MV_Number(mesh,rverts[j]));</p>
<p>    fprintf(stderr,”</p>
<p>n”);</p>
<p> </p>
<p> </p>
<p>  ***/</p>
<ul>
<li>Loop through the regions of the mesh and print the face
neighbor info
<em>**/</em></li>
</ul>
<p>  for (i = 0; i &lt; nr; i++) {</p>
<p>    reg = MESH_Region(mesh,i);</p>
<p>    fprintf(stderr,”Region %-d neighbors: “, MR_Number(mesh,reg));</p>
<p>    type = MR_Type(mesh,reg);</p>
<p>    nf = RType_NumFaces(type);</p>
<p>    for (j = 0; j &lt; nf; j++) {</p>
<p>      ***/</p>
<ul>
<li>Find the other region sharing face j of reg
<em>**/</em></li>
</ul>
<p>      oreg = MR_FaceNebr(mesh,reg,j);</p>
<p>      if (oreg) { ***/</p>
<ul>
<li>a region exists on the other side of face,
print info
<em>**/</em></li>
</ul>
<p>         fprintf(stderr,”R%-d “,MR_Number(mesh,oreg));</p>
<p>     </p>
<p>   </p>
<p>    fprintf(stderr,”</p>
<p>n”);</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#EXAMPLE) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](utilities.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](linking.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>&copy; 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>

View File

@@ -0,0 +1,391 @@
<html lang="en-gb" dir="ltr">
<head>
<title>MSTKLA Online Manual</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/construction24.gif" />“249”
“87”<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/construc6.gif" />“248” “166”</p>
<hr />
<p><strong>MSTKLA - Mesh ToolKit interface to <a href="http://lagrit.lanl.gov">LAgrit</a></strong></p>
<p>(LA-UR-99-6711)</p>
<hr />
<p><strong>DIRECT LINKS</strong>
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/model.gif" />“142”
“24”](Geom.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/mesh.gif" />“143”
“26”](Mesh.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/utilities.gif" />“143”
“25”](utilities.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/attributes.gif" />“1”
“26”](MeshAttributes.md)
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/modelenty.gif" />“144”
“24”](GeomEntity.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/modelregn.gif" />“141”
“25”](GeomRegion.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/modelface.gif" />“143”
“26”](GeomFace.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/modeledge.gif" />“143”
“25”](GeomEdge.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/modelvert.gif" />“142”
“24”](GeomVertex.md)
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/genregn.gif" />“1”
“25”](GenRegion.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/meshregn.gif" />“143”
“25”](MeshRegion.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/meshface.gif" />“143”
“26”](MeshFace.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/meshedge.gif" />“143”
“25”](MeshEdge.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/meshvert.gif" />“143”
“25”](MeshVertex.md)
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/trivia.gif" />“144” “25”](trivia.md)</p>
<hr />
<hr />
<p>Questions, Comments, Suggestions? Contact:</p>
<p>                Rao V Garimella,
PostDoc                                                                      
Tel: (505) 665-4636</p>
<p>                EES-5, MS D0                                       
</p>
<p>      </p>
<p>                                   FAX: (505) 665-69</p>
<p>                Los Alamos National Lab                              ( 
)-(  )                                Email: &lt;rao@lanl.gov</p>
<p>                Los Alamos, NM 8</p>
<hr />
<p> </p>
<p><strong>MSTKLA</strong> is a C interface to the <strong>LaGriT</strong> code which is designed to
make it easier to use the LaGriT functionality. It tries to hide some of
the internals of LaGriT and provides an API that works in a somewhat
object oriented way. It does not attempt to provide or enhance
interactive commands that exist in LaGriT. Rather, it is designed more
with writing automated mesh generation procedures and complex meshing
algorithms within LaGriT in mind.</p>
<p>MSTKLA has one or more <em>mesh objects</em>, which have mesh <strong><em>regions</em></strong>,
mesh <strong><em>faces,</em></strong> mesh <strong><em>edges</em></strong> and mesh <strong><em>vertices</em></strong> (nodes).
<em>Mesh faces and mesh edges are objects defined on the fly in terms of
their vertices.</em> One can ask these objects various questions or modify
their info through operators. In addition there is a <strong><em>geometric
model</em></strong> and <strong><em>geometric model objects</em></strong> (In the spirit of consistent
naming, I am labeling this set of functions <strong>GMTKLA</strong>). Since LaGriT
does not really store curves or points in the database, these are also
faked on the fly.</p>
<p>The mesh and model entities are related through the concept of
<strong><em>CLASSIFICATION</em></strong>.</p>
<p><strong><em>“A mesh entity is classified on a model entity if it forms all or
part of that model entitys discretization (grid) but not its
boundarys”.</em></strong></p>
<p>So mesh regions can be classified only on a model region.  Mesh faces
can be classified on a model face or a model region. Mesh vertices can
be classified on a model vertex, model edge, model face or model region.</p>
<p>Classification information can be queried from MSTKLA if it is
available. In particular, in LaGriT, only <strong><em>external faces</em></strong> (what
LaGriT calls <strong><em>“reflective” boundaries</em></strong>) and <strong><em>internal faces or
interfaces</em></strong> created with the option <strong><em>“intrcons”</em></strong> in the
<strong><em><a href="http://www.t12.lanl.gov/~lagrit/SURFACE.md">surface</a></em></strong>
command have the information required to retrieve full classification
information. Full classification information includes the <strong><em>type</em></strong> of
geometric model entity the mesh entity is classified on, the <strong><em>ID of
that geometric model entity</em></strong> and <strong><em>a pointer to the geometric model
object</em></strong> (which can be further queried). Interface surfaces created
with the surface command option “<strong><em>intrface</em></strong><strong>do not</strong> have the
necessary information to relate the mesh and the model fully. (In the
future, I may put in code to take the “intrface” type surfaces and add
the info needed to find out the classification information).</p>
<p>Note that the current interface works for querying an existing mesh but
not <strong>yet</strong> for modifying it. The operators for this are on the way.
Operators for calling the actual meshing operators (connect, refine,
smooth, etc) will also be added in the near future.</p>
<p>Finally, the basic interface (low level query and modification
operators) are expected to retain the same format regardless of what the
underlying database is (LaGriT or something else). So, for example, I am
hoping that an operator to retrieve the nodes of an element will retain
the same form shown below regardless of how it functions internally:</p>
<p><em>void</em> <strong>MR_Vertices</strong>(<em>PMeshObj</em> mesh, <em>PMeshRegn</em> reg, *int
**nv,
*PMeshVert
**rverts);</p>
<p>I will try hard to maintain this API constant but cannot absolutely
guarantee it.</p>
<p> 
[]{#parent-childAlso see <strong><a href="http://www.ees.lanl.gov/staff/rao/mstkla/parent-child.md">Parent-Child Node (Vertex)
Issues</a></strong></p>
<hr />
<hr />
<p>[]{#typedefs<a href="http://www.ees.lanl.gov/staff/rao/mstkla/prelim.md">TYPEDEFS</a> </p>
<hr />
<hr />
<p>[]{#MSTKLA_Init<strong>MSTKLA Interface Operators</strong></p>
<hr />
<hr />
<p><strong>MESH INITIALIZATION:</strong></p>
<p> </p>
<p><em>void</em> <strong>MSTKLA_Init</strong>(<em>void</em>);</p>
<p>Initialize the mesh toolkit.</p>
<hr />
<p><strong>MESH OPERATORS:</strong></p>
<p> </p>
<p> []{#MESH OBJECT:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/Mesh.md">MESH
OBJECT:</a></p>
<p> []{#MESH REGION:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/MeshRegion.md">MESH
REGION:</a></p>
<p> []{#MESH FACE:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/MeshFace.md">MESH
FACE:</a></p>
<p> []{#MESH EDGE:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/MeshEdge.md">MESH
EDGE:</a></p>
<p> []{#MESH VERTEX:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/MeshVertex.md">MESH
VERTEX:</a></p>
<p> </p>
<p> []{#GENERIC MESH REGION QUERIES:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/GenRegion.md">GENERIC MESH REGION
QUERIES:</a></p>
<hr />
<hr />
<p>[]{#GMTKLA_Init<strong>GEOMETRIC MODEL INITIALIZATION:</strong></p>
<p><em>void</em> <strong>GMTKLA_Init</strong>(<em>void</em>);</p>
<p>Initialize the geometric model interface.</p>
<hr />
<p><strong>MODEL OPERATORS:</strong></p>
<p> []{#GEOMETRIC MODEL:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/Geom.md">GEOMETRIC
MODEL:</a></p>
<p> []{#MODEL ENTITY:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/GeomEntity.md">MODEL
ENTITY:</a></p>
<p> []{#MODEL REGION:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/GeomRegion.md">MODEL
REGION:</a></p>
<p> []{#MODEL FACE:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/GeomFace.md">MODEL
FACE:</a></p>
<p> []{#MODEL EDGE:<a href="http://www.ees.lanl.gov/staff/rao/mstkla/GeomEdge.md">MODEL
EDGE:</a></p>
<p> []{#MODEL VERTEX<a href="http://www.ees.lanl.gov/staff/rao/mstkla/GeomVertex.md">MODEL
VERTEX</a>
&gt; Not implemented fully</p>
<p> </p>
<hr />
<hr />
<p>[]{#UTILITIES:<strong><a href="http://www.ees.lanl.gov/staff/rao/mstkla/utilities.md">UTILITIES:</a></strong></p>
<hr />
<hr />
<p>[]{#EXAMPLE<strong><a href="http://www.ees.lanl.gov/staff/rao/mstkla/example.md">EXAMPLE OF PROGRAMMING WITH
MSTKLA</a></strong></p>
<p> </p>
<hr />
<hr />
<p>[]{#EXECUTABLE<strong><a href="http://www.ees.lanl.gov/staff/rao/mstkla/linking.md">LIBRARIES, INCLUDE FILES AND CREATING AN
EXECUTABLE</a></strong></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>&copy; 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>

View File

@@ -0,0 +1,304 @@
<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”](mstkla.md#EXECUTABLE) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](example.md)</p>
<hr />
<p><strong>INCLUDE FILES FOR MSTKLA</strong></p>
<hr />
<p>**
#include “mstkla.h”<strong>            with the addition of
**-I/home/rao/meshing/mstkla/1.0/include</strong> in the link line</p>
<p>**
#include “gmtkla.h”<strong>            with the addition of
**-I/home/rao/meshing/mstkla/1.0/include</strong> in the link line</p>
<p>**
#include “utilities.h”<strong>           with the addition of
**-I/home/rao/utilities/1.0/include</strong> in the link line</p>
<p>**
#include “macros.h”<strong>            with the addition of
**-I/home/rao/meshing/mstkla/1.0/include</strong> in the link line</p>
<hr />
<p>  <strong>Linking with MSTKLA </strong> </p>
<hr />
<p><strong>MSTKLA</strong> (and the embedded <strong>GMTKLA</strong>) are in the following libs:</p>
<p><strong>/home/rao/develop/meshing/mstkla/1.0/lib/
$ARCHOS</strong>/</p>
<p>where</p>
<p>**
$ARCHOS** is a variable that combines the architecture and operating
system info.</p>
<p>You can have it set in your <strong>Makefile</strong> by appropriately calling the
script</p>
<p><strong>/home/rao/bin/getarch</strong> (See the <strong>Makefile</strong> in
<strong>/home/rao/develop/meshing/test</strong>)</p>
<p>The libraries are <strong>libmstk.a</strong> (debug version) and <strong>libmstk-O.a</strong>
(optimized version)</p>
<hr />
<p><strong>MSTKLA</strong> also uses 2 other modules called <strong>clagrit</strong> and
<strong>utilities</strong>. The libs for clagrit  are in</p>
<p><strong>/home/rao/develop/meshing/clagrit/1.0/lib/
$ARCHOS</strong>/</p>
<p>The libs are l<strong>ibclagrit.a</strong> (debug) and <strong>libclagrit-O.a</strong>
(optimized).</p>
<p> </p>
<p>The libs for utilities are in</p>
<p><strong>/home/rao/develop/utilities/1.0/lib/
$ARCHOS</strong>/</p>
<p>and the libs are <strong>libutilities.a</strong> (debug) and <strong>libutilities-O.a</strong>
(optimized)</p>
<hr />
<p>Also, the standard l<strong>agrit</strong> and <strong>util</strong> libs have to be included.</p>
<p>They are located in</p>
<p><strong>/pvcs.config/t3d/bin</strong></p>
<p>The libs are <strong>liblagrit_
$ARCH.a</strong>, <strong>libutil_
$ARCH.a</strong> (debug) and
<strong>liblagrit_
$ARCH_opt.a</strong>, <strong>libutil_
$ARCH_opt.a</strong> (optimized).
Here, **
$ARCH** is as follows:</p>
<p>    Solaris:     sol</p>
<p>    HP:           hp</p>
<p>    DEC:        dec</p>
<p>    SGI:          sgi</p>
<p>    SGI/64:     sgi_64</p>
<p>    IBM:         ibm</p>
<hr />
<p>The order of libraries that works while linking (until more complicated
library interdependencies creep in) is</p>
<p> </p>
<p>**-L
$(MSTKLA_LIBDIR) -lmstkla -L
$(CLAGRIT_LIBDIR) -lclagrit</p>
<p>**</p>
<p>**-L
$(MYUTIL_LIBDIR)  -lutilities</p>
<p>**</p>
<p>**-L
$(LAGRIT_LIBDIR) -llagrit_
$(ARCH)  -L
$(CLAGRIT_LIBDIR)
-lclagrit</p>
<p>**</p>
<p>**-L
$(UTIL_LIBDIR) -lutil</p>
<p>**</p>
<p><strong>-lm</strong></p>
<p> </p>
<p> <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#EXECUTABLE) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](utilities.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>&copy; 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>

View File

@@ -0,0 +1,292 @@
<html lang="en-gb" dir="ltr">
<head>
<title>MSTKLA - Mesh ToolKit interface to 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">
<h1 id="mstkla---mesh-toolkit-interface-to-lagrit">MSTKLA - Mesh ToolKit interface to LaGriT</h1>
<p>Note these pages have not been updated to newer versions of MSTKLA</p>
<p>(LA-UR-99-6711)</p>
<hr />
<p>Questions, Comments, Suggestions? Contact:</p>
<p>Rao V Garimella,</p>
<p>Email: rao@lanl.gov</p>
<hr />
<p><strong>MSTKLA</strong> is a C interface to the <strong>LaGriT</strong> code which is designed to
make it easier to use the LaGriT functionality. It tries to hide some of
the internals of LaGriT and provides an API that works in a somewhat
object oriented way. It does not attempt to provide or enhance
interactive commands that exist in LaGriT. Rather, it is designed more
with writing automated mesh generation procedures and complex meshing
algorithms within LaGriT in mind.</p>
<p>MSTKLA has one or more <em>mesh objects</em>, which have mesh <strong>regions</strong>,
mesh <strong>faces,</strong> mesh <strong>edges</strong> and mesh <strong>vertices</strong> (nodes).
<em>Mesh faces and mesh edges are objects defined on the fly in terms of
their vertices.</em> One can ask these objects various questions or modify
their info through operators. In addition there is a <strong>geometric
model</strong> and <strong>geometric model objects</strong> (In the spirit of consistent
naming, I am labeling this set of functions <strong>GMTKLA</strong>). Since LaGriT
does not really store curves or points in the database, these are also
faked on the fly.</p>
<p>The mesh and model entities are related through the concept of
<strong>CLASSIFICATION</strong>.</p>
<p>“A mesh entity is classified on a model entity if it forms all or
part of that model entitys discretization (grid) but not its
boundarys”.</p>
<p>So mesh regions can be classified only on a model region.  Mesh faces
can be classified on a model face or a model region. Mesh vertices can
be classified on a model vertex, model edge, model face or model region.</p>
<p>Classification information can be queried from MSTKLA if it is
available. In particular, in LaGriT, only <strong>external faces</strong> (what
LaGriT calls <strong>“reflective” boundaries</strong>) and <strong>internal faces or
interfaces</strong> created with the option <strong>“intrcons”</strong> in the
<strong>surface</strong>
command have the information required to retrieve full classification
information. Full classification information includes the <strong>type</strong> of
geometric model entity the mesh entity is classified on, the <strong>ID of
that geometric model entity</strong> and <strong>a pointer to the geometric model
object</strong> (which can be further queried). Interface surfaces created
with the surface command option “<strong>intrface</strong><strong>do not</strong> have the
necessary information to relate the mesh and the model fully. (In the
future, I may put in code to take the “intrface” type surfaces and add
the info needed to find out the classification information).</p>
<p>Note that the current interface works for querying an existing mesh but
not <strong>yet</strong> for modifying it. The operators for this are on the way.
Operators for calling the actual meshing operators (connect, refine,
smooth, etc) will also be added in the near future.</p>
<p>Finally, the basic interface (low level query and modification
operators) are expected to retain the same format regardless of what the
underlying database is (LaGriT or something else). So, for example, I am
hoping that an operator to retrieve the nodes of an element will retain
the same form shown below regardless of how it functions internally:</p>
<p>void MR_Vertices(PMeshObj mesh, PMeshRegn reg, int nv, PMeshVert rverts);</p>
<p>I will try hard to maintain this API constant but cannot absolutely guarantee it.</p>
<p>parent-child Also see <a href="/pages/mstkla/parent-child.html">Parent-Child Node</a></p>
<p>typedefs<a href="/pages/mstkla/prelim.html">TYPEDEFS</a></p>
<h2 id="mstkla_init-mstkla-interface-operators">MSTKLA_Init MSTKLA Interface Operators</h2>
<p><strong>MESH INITIALIZATION:</strong></p>
<p>void MSTKLA_Init(void);</p>
<p>Initialize the mesh toolkit.</p>
<p><strong>MESH OPERATORS:</strong></p>
<p>MESH OBJECT: <a href="/pages/mstkla/Mesh.html">MESH OBJECT</a></p>
<p>MESH REGION:<a href="/pages/mstkla/MeshRegion.html">MESH REGION</a></p>
<p>MESH FACE:<a href="/pages/mstkla/MeshFace.html">MESH FACE</a></p>
<p>MESH EDGE:<a href="/pages/mstkla/MeshEdge.html">MESH EDGE</a></p>
<p>MESH VERTEX:<a href="/pages/mstkla/MeshVertex.html">MESH VERTEX</a></p>
<p>GENERIC MESH REGION QUERIES:<a href="/pages/mstkla/GenRegion.html">GENERIC MESH REGION QUERIES</a></p>
<p><strong>GMTKLA_Init GEOMETRIC MODEL INITIALIZATION:</strong></p>
<p>void GMTKLA_Init(void);</p>
<p>Initialize the geometric model interface.</p>
<p><strong>MODEL OPERATORS:</strong></p>
<p>GEOMETRIC MODEL:<a href="/pages/mstkla/Geom.html">GEOMETRIC MODEL</a></p>
<p>MODEL ENTITY:<a href="/pages/mstkla/GeomEntity.html">MODEL ENTITY</a></p>
<p>MODEL REGION:<a href="/pages/mstkla/GeomRegion.html">MODEL REGION</a></p>
<p>MODEL FACE:<a href="/pages/mstkla/GeomFace.html">MODEL FACE</a></p>
<p>MODEL EDGE:<a href="/pages/mstkla/GeomEdge.html">MODEL EDGE</a></p>
<p>MODEL VERTEX: <a href="/pages/mstkla/GeomVertex.html">MODEL VERTEX</a> <em>Not implemented fully</em></p>
<p>UTILITIES: <a href="/pages/mstkla/utilities.html">UTILITIES:</a></p>
<p>EXAMPLE: <a href="/pages/mstkla/example.html">EXAMPLE OF PROGRAMMING WITH MSTKLA</a>**</p>
<p>EXECUTABLE: <a href="/pages/mstkla/linking.html">LIBRARIES, INCLUDE FILES AND CREATING AN EXECUTABLE</a></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>&copy; 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>

143
docs/_site/pages/mstkla/mstkla.md Executable file
View File

@@ -0,0 +1,143 @@
# MSTKLA - Mesh ToolKit interface to LaGriT
Note these pages have not been updated to newer versions of MSTKLA
(LA-UR-99-6711)
------------------------------------------------------------------------
Questions, Comments, Suggestions? Contact:
Rao V Garimella,
Email: rao@lanl.gov
------------------------------------------------------------------------
**MSTKLA** is a C interface to the **LaGriT** code which is designed to
make it easier to use the LaGriT functionality. It tries to hide some of
the internals of LaGriT and provides an API that works in a somewhat
object oriented way. It does not attempt to provide or enhance
interactive commands that exist in LaGriT. Rather, it is designed more
with writing automated mesh generation procedures and complex meshing
algorithms within LaGriT in mind.
MSTKLA has one or more *mesh objects*, which have mesh **regions**,
mesh **faces,** mesh **edges** and mesh **vertices** (nodes).
*Mesh faces and mesh edges are objects defined on the fly in terms of
their vertices.* One can ask these objects various questions or modify
their info through operators. In addition there is a **geometric
model** and **geometric model objects** (In the spirit of consistent
naming, I am labeling this set of functions **GMTKLA**). Since LaGriT
does not really store curves or points in the database, these are also
faked on the fly.
The mesh and model entities are related through the concept of
**CLASSIFICATION**.
"A mesh entity is classified on a model entity if it forms all or
part of that model entity's discretization (grid) but not its
boundary's".
So mesh regions can be classified only on a model region.  Mesh faces
can be classified on a model face or a model region. Mesh vertices can
be classified on a model vertex, model edge, model face or model region.
Classification information can be queried from MSTKLA if it is
available. In particular, in LaGriT, only **external faces** (what
LaGriT calls **"reflective" boundaries**) and **internal faces or
interfaces** created with the option **"intrcons"** in the
**surface**
command have the information required to retrieve full classification
information. Full classification information includes the **type** of
geometric model entity the mesh entity is classified on, the **ID of
that geometric model entity** and **a pointer to the geometric model
object** (which can be further queried). Interface surfaces created
with the surface command option "**intrface**" **do not** have the
necessary information to relate the mesh and the model fully. (In the
future, I may put in code to take the "intrface" type surfaces and add
the info needed to find out the classification information).
Note that the current interface works for querying an existing mesh but
not **yet** for modifying it. The operators for this are on the way.
Operators for calling the actual meshing operators (connect, refine,
smooth, etc) will also be added in the near future.
Finally, the basic interface (low level query and modification
operators) are expected to retain the same format regardless of what the
underlying database is (LaGriT or something else). So, for example, I am
hoping that an operator to retrieve the nodes of an element will retain
the same form shown below regardless of how it functions internally:
void MR_Vertices(PMeshObj mesh, PMeshRegn reg, int nv, PMeshVert rverts);
I will try hard to maintain this API constant but cannot absolutely guarantee it.
parent-child Also see [Parent-Child Node](parent-child.md)
typedefs[TYPEDEFS](prelim.md)
## MSTKLA_Init MSTKLA Interface Operators
**MESH INITIALIZATION:**
void MSTKLA_Init(void);
Initialize the mesh toolkit.
**MESH OPERATORS:**
MESH OBJECT: [MESH OBJECT](Mesh.md)
MESH REGION:[MESH REGION](MeshRegion.md)
MESH FACE:[MESH FACE](MeshFace.md)
MESH EDGE:[MESH EDGE](MeshEdge.md)
MESH VERTEX:[MESH VERTEX](MeshVertex.md)
GENERIC MESH REGION QUERIES:[GENERIC MESH REGION QUERIES](GenRegion.md)
**GMTKLA_Init GEOMETRIC MODEL INITIALIZATION:**
void GMTKLA_Init(void);
Initialize the geometric model interface.
**MODEL OPERATORS:**
GEOMETRIC MODEL:[GEOMETRIC MODEL](Geom.md)
MODEL ENTITY:[MODEL ENTITY](GeomEntity.md)
MODEL REGION:[MODEL REGION](GeomRegion.md)
MODEL FACE:[MODEL FACE](GeomFace.md)
MODEL EDGE:[MODEL EDGE](GeomEdge.md)
MODEL VERTEX: [MODEL VERTEX](GeomVertex.md) *Not implemented fully*
UTILITIES: [UTILITIES:](utilities.md)
EXAMPLE: [EXAMPLE OF PROGRAMMING WITH MSTKLA](example.md)**
EXECUTABLE: [LIBRARIES, INCLUDE FILES AND CREATING AN EXECUTABLE](linking.md)

View File

@@ -0,0 +1,207 @@
<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”](mstkla.md#parent-child) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](mstkla.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](prelim.md) </p>
<hr />
<hr />
<p><strong>Parent-Child Node (Vertex) Issues</strong> </p>
<hr />
<p> </p>
<p>All the operators are designed to work consistently with parent and
child nodes(if they exist) consistently. Operators exist for getting the
parent of a vertex, edge and face. The parent edge/face of a  edge/face
is constructed from the parents of its component vertices. Operators
also exist for obtaining the child vertices/edges/faces of
vertices/edges/faces.</p>
<p>The upward and downward adjacency information is designed to be returned
in a consistent manner as described below. If upward adjacency
information is requested for a child entity then only those higher order
entities connected to the child will be returned. On the other hand, if
it is requested for a parent, upward adjacency information from all its
children will be consolidated and returned. For example, if regions of a
child vertex (node) are requested, then only the regions classified in
that model region will  be returned. On the other hand if one wants all
the regions in all model regions connected to the node, one should get
the parent of the vertex and ask for the regions connected to the parent
vertex.  The behavior of downward adjacency information queries is
determined by the type of entity and how it is constructed. Asking for
the nodes of a vertex will return only the child nodes if any of the
nodes are on  an interface. Parent faces and edges on an interface will
return parent nodes and child faces and edges on an interface will
return child nodes. <em>Lastly, if the entity is not on an interface, it is
its own parent or its own child.</em>
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#parent-child) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](mstkla.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](prelim.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>&copy; 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>

View File

@@ -0,0 +1,322 @@
<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”](mstkla.md#typedefs) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](parent-child.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](Mesh.md)</p>
<hr />
<hr />
<p>  <strong>TYPEDEFS FOR MESH AND MODEL ENTITIES</strong></p>
<hr />
<p> </p>
<p>A mesh object (actually a pointer to it) in the interface can be
declared as</p>
<p> <em>PMeshObj</em> mesh1, mesh2;</p>
<p> </p>
<p>Mesh entity types are as follows:</p>
<p> /</p>
<ul>
<li>Mesh Regions
*/</li>
</ul>
<p> <em>PMeshRegn</em> reg1, oreg, regarr[50];</p>
<p> </p>
<p> /</p>
<ul>
<li>Mesh Vertices (nodes)
*/</li>
</ul>
<p> <em>PMeshVert</em> vert,
*verts. vert[20][30];</p>
<p> /</p>
<ul>
<li>Mesh Face
*/</li>
</ul>
<p> <em>PMeshFace</em> rface;</p>
<p> /</p>
<ul>
<li>Mesh Edge
*/</li>
</ul>
<p> <em>PMeshEdge</em> face_edges[4];</p>
<p> /</p>
<ul>
<li>Type of mesh region or element      
*/</li>
</ul>
<p> /</p>
<ul>
<li>This is an enum decl which can be   
*/</li>
</ul>
<p> /</p>
<ul>
<li>TET, PYRAMID, PRISM, HEX or RDELETED
*/</li>
</ul>
<p> <em>ElType</em> reg_type;</p>
<p> /</p>
<ul>
<li>Type of mesh vertec
*/</li>
</ul>
<p> /</p>
<ul>
<li>Can be VIGNORE, VPARENT, VDELETED
*/</li>
</ul>
<p> <em>VType</em> vert_type;</p>
<p> </p>
<p> </p>
<p>Geometric model entity types are:</p>
<p> /</p>
<ul>
<li>Model entity - can be a region, face, edge or a vertex
*/</li>
</ul>
<p> <em>PGeomEntity</em>  gent;</p>
<p> /</p>
<ul>
<li>Model region
*/</li>
</ul>
<p> <em>PGeomRegn</em> greg;</p>
<p> </p>
<p> /</p>
<ul>
<li>Model face
*/</li>
</ul>
<p> <em>PGeomFace</em> gfaces[20],
*
*gfaces2, interface;</p>
<p> /</p>
<ul>
<li>Model edge - not used at this point
*/</li>
</ul>
<p> <em>PGeomEdge</em> geds[],
*gfeds;</p>
<p> /</p>
<ul>
<li>Model vertex - not used at this point
*/</li>
</ul>
<p> <em>PGeomVert</em> gv1, gv2;</p>
<p> /</p>
<ul>
<li>Type of model entity - can be GREGION, GFACE, GEDGE, GVERTEX
*/</li>
</ul>
<p><em> GType</em> geomtype;</p>
<p> </p>
<p> <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow2.gif" />“30”
“30”](mstkla.md#typedefs) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow3.gif" />“30”
“30”](parent-child.md) <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/arrow4.gif" />“30”
“30”](Mesh.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>&copy; 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>

View File

@@ -0,0 +1,189 @@
<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”](mstkla.md#MODEL%20ENTITY:)</p>
<p><strong>Trivia</strong></p>
<p>How to pronounce MSTKLA?</p>
<p>Well…..</p>
<p>MSTKLA is the precursor to MSTK. It is hoped that the underlying
structure of MSTK will be all new code independent of LaGriT. However,
since we are using LaGriT as the underlying structure for now, the
toolkit is called MSTKLA.</p>
<p>M-S-T-K rolls off the tongue nicely, not so M-S-T-K-L-A. Therefore,
judging by the peoples first reaction to the name (the second reaction
is Blechhhch!!), why not pronounce it as <em>misticlaa</em>?</p>
<p>Rao</p>
<p>P.S.: Sorry, I am lousy at christening pieces of code!! Just take a look
at my API…</p>
<p> </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>&copy; 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>

View File

@@ -0,0 +1,377 @@
<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#UTILITIES:) <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/GeomVertex.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/example.md)</p>
<p><img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/construction14.gif" />“169” “131”</p>
<hr />
<hr />
<p>   <strong>UTILITIES:</strong></p>
<hr />
<p> </p>
<p><em>void</em> <strong>ReportError</strong>(<em>char</em>
<em>modulename, *char</em>
<em>message, *ErrType</em>
severity);</p>
<p>Report an error message. The severity may be specified as</p>
<p><strong>MESSG</strong>: Print a message to the screen</p>
<p><strong>WARNING</strong>: Print message with additional attention grabbing text</p>
<p><strong>ERROR</strong>: Print message with additional attention grabbing text</p>
<p><strong>FATAL</strong>: Print attention grabbing message and exit.</p>
<p> </p>
<p> </p>
<hr />
<hr />
<p> <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/new1.gif" />“31” “12” <strong>VECTOR FUNCTIONS:</strong></p>
<hr />
<p><em>void</em> <strong>vdiff</strong>(<em>double</em>
<em>a, *double</em>
<em>b, *double</em>
*a_minus_b);</p>
<hr />
<p><em>void</em> <strong>vsum</strong>(<em>double</em>
<em>a, *double</em>
<em>b, *double</em>
*a_plus_b);</p>
<hr />
<p><em>double</em> <strong>vmag2</strong>(<em>double</em>
*v);</p>
<hr />
<p><em>double</em> <strong>vmag</strong>(<em>double</em>
*v);</p>
<hr />
<p><em>void</em> <strong>vcross</strong>(<em>double</em>
<em>a, *double</em>
<em>b, *double</em>
*a_cross_b);</p>
<hr />
<p><em>double</em> <strong>vdot</strong>(<em>double</em>
<em>a, *double</em>
*b);</p>
<hr />
<p><em>void</em> <strong>vnorm</strong>(<em>double</em>
<em>a, *double</em>
*unita);</p>
<hr />
<hr />
<p>  <strong> <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/new1.gif" />“31” “12”REAL NUMBER
COMPARISON FUNCTIONS:</strong></p>
<hr />
<p> </p>
<p><em>int</em> <strong>REAL_le</strong>(<em>double</em> a, <em>double</em> b);</p>
<hr />
<p><em>int</em> <strong>REAL_ge</strong>(<em>double</em> a, <em>double</em> b);</p>
<hr />
<p><em>int</em> <strong>REAL_eq</strong>(<em>double</em> a, <em>double</em> b);</p>
<hr />
<p> </p>
<hr />
<hr />
<p> <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/new1.gif" />“31” “12” <strong>COMP GEOM
FUNCTIONS:</strong></p>
<hr />
<p><em>int</em> <strong>pntInTriangle2</strong>(<em>double</em>
<em>pnt, *double</em> (
<em>tri)[3], *double</em>
tol, <em>int</em> flag, <em>int</em>
<em>mtype, *int</em>
*locID);</p>
<p> </p>
<p>Check if a point that is guaranteed to be in the plane of a triangle is
inside the triangle itself.</p>
<p>If <strong>flag = 1</strong>, check if point is strictly inside</p>
<p>    <strong>flag = 0</strong>, check if point is inside or on the boundary within a
real tolerance tol</p>
<p>Return <strong>value =  1 (inside), 0 (outside), -1 (on boundary)</strong></p>
<p>If point is on the boundary, <strong>mtype</strong> indicates type of entity it is
on</p>
<p><strong>locID</strong> indicates the local ID number of the vertex or edge it is on</p>
<p> </p>
<hr />
<p><em>int</em> <strong>pntInTet</strong>(<em>double</em>
<em>pnt, *double</em> (
<em>tet)[3], *double</em> tol,
<em>int</em> flag, <em>int</em>
<em>mtype, *int</em>
*locID);</p>
<p>Check if a point is inside a tet</p>
<p>If <strong>flag = 1</strong>, check if point is strictly inside</p>
<p>    <strong>flag = 0</strong>, check if point is inside or on the booundary</p>
<p>              within a real tolerance tol</p>
<p>Return <strong>value =  1 (inside), 0 (outside), -1 (on boundary)</strong></p>
<p>If point is on the boundary, <strong>mtype</strong> indicates type of entity it is
on</p>
<p><strong>locID</strong> indicates the local ID number of the vertex or edge it is on</p>
<p> </p>
<hr />
<p><em>void</em> <strong>Tri_CircumCen</strong>(<em>double</em> (
<em>xyz)[3], *double</em>
*cen);</p>
<hr />
<p><em>double</em> <strong>Tri_Area</strong>(<em>double</em> (
*xyz)[3]);</p>
<hr />
<p><em>void</em>   <strong>Tri_Normal</strong>(<em>double</em> (
<em>xyz)[3], *double</em>
*normal);</p>
<hr />
<p><em>double</em> <strong>Tet_Volume</strong>(<em>double</em> (
*xyz)[3]);</p>
<hr />
<p><em>void</em>   <strong>Tet_CircumCen</strong>(<em>double</em> (
<em>xyz)[3], *double</em>
*cen);</p>
<hr />
<p> </p>
<p> </p>
<p> </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#UTILITIES:) <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/GeomVertex.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/example.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>&copy; 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>