-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTutorial03.html
161 lines (159 loc) · 8.62 KB
/
Tutorial03.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<title>G+Smo: Tutorial 03: Simulation</title>
<link href="gismodoxy_tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://people.ricam.oeaw.ac.at/gismo/mj/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="gismodoxy.css" rel="stylesheet" type="text/css">
<!-- -->
<!-- <script type="text/javascript"> -->
<!-- </script> -->
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- <a name="top"></a> -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="gslogo-doxy.jpg"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname"><a href="index.html"><font style="font-variant:small-caps;">G+S</font><font style="font-variant:small-caps;"
color="#000000">mo</font></a>
 <span id="projectnumber">25.01.0</span>
</div>
<div id="projectbrief">Geometry + Simulation Modules</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function(){initNavTree('Tutorial03.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div><div class="header">
<div class="headertitle"><div class="title">Tutorial 03: Simulation</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>In this tutorial, you will learn to use the Expression-assembler of G+Smo, see <a class="el" href="classgismo_1_1gsExprAssembler.html">gsExprAssembler</a>. This powerful tool can be used to assemble a system of equations, given the expressions of a weak formulation.</p>
<h1><a class="anchor" id="files"></a>
Relevant source files</h1>
<p>The files relevant for using the <a class="el" href="classgismo_1_1gsExprAssembler.html">gsExprAssembler</a> are the following:</p>
<ul>
<li><code><a class="el" href="gsExprAssembler_8h.html" title="Generic expressions matrix assembly.">gsExprAssembler.h</a></code> : contains the assembly routines for generic expressions; all performed with the <a class="el" href="classgismo_1_1gsExprAssembler.html">gsExprAssembler</a>,</li>
<li><code><a class="el" href="gsExprEvaluator_8h.html" title="Generic expressions evaluator.">gsExprEvaluator.h</a></code> : contains the class that is used to evaluate expressions; <a class="el" href="classgismo_1_1gsExprEvaluator.html">gsExprEvaluator</a>,</li>
<li><code><a class="el" href="gsAssemblerOptions_8h.html" title="Provides assembler and solver options.">gsAssemblerOptions.h</a></code> : contains the <a class="el" href="structgismo_1_1gsAssemblerOptions.html">gsAssemblerOptions</a> class which is used to define options for the Expression-assembler,</li>
<li><code><a class="el" href="gsExpressions_8h.html" title="Defines different expressions.">gsExpressions.h</a></code> : contains classes that are the actual expressions and the arithmetic to evaluate them,</li>
<li><code><a class="el" href="gsExprHelper_8h.html" title="Generic expressions helper.">gsExprHelper.h</a></code> : contains the <a class="el" href="classgismo_1_1gsExprHelper.html">gsExprHelper</a> class to store evaluation data of expression-related objects,</li>
<li><code><a class="el" href="gsDirichletValues_8h.html" title="The functions compute Dirichlet degrees of freedom using various methods.">gsDirichletValues.h</a></code> : contains classes to evaluate non-homogeneous Dirichlet boundary conditions defined for a space.</li>
</ul>
<p>From those classes the top three (<a class="el" href="classgismo_1_1gsExprAssembler.html">gsExprAssembler</a>, <a class="el" href="classgismo_1_1gsExprEvaluator.html">gsExprEvaluator</a> and <a class="el" href="structgismo_1_1gsAssemblerOptions.html">gsAssemblerOptions</a>) are the ones that are actually called in your code, wheres the other ones are used under the hood.</p>
<p>Furthermore, for any boundary value problem boundary conditions are to be defined. This happens with the <a class="el" href="classgismo_1_1gsBoundaryConditions.html">gsBoundaryConditions</a> class.</p>
<h1><a class="anchor" id="poisson"></a>
Example 1: The Poisson Equation</h1>
<p>See <a class="el" href="poisson2_example.html">poisson2_example.cpp</a></p>
<h1><a class="anchor" id="kirchhoff"></a>
Example 2: The Kirchhoff-Love shell</h1>
<p>See <a class="el" href="kirchhoff-Love_example.html">kirchhoff-Love_example.cpp</a> </p>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Mon Feb 10 2025 09:21:44 for G+Smo by Doxygen v1.10.0 </li>
</ul>
</div>
<!-- Piwik -->
<!--
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.sylphide-consulting.com/piwik/" : "http://stats.sylphide-consulting.com/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 20);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://stats.sylphide-consulting.com/piwik/piwik.php?idsite=20" style="border:0" alt="" /></p></noscript>
-->
<!-- End Piwik Tracking Code -->
</body>
</html>