Skip to content

Commit 3c6a50e

Browse files
committed
Refactor links in HTML files to remove target="_blank" attributes and update SolidificationFront2D tutorial with emphasis on solution calculation time
1 parent 580c1ea commit 3c6a50e

9 files changed

+66
-56
lines changed

index.html

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h1>A JavaScript Finite Element Simulation Library</h1>
8181
<li><a href="#licensing">Licensing</a></li>
8282
<li class="menu-separator">|</li>
8383
<li>
84-
<a href="https://blog.feascript.com/" target="_blank">
84+
<a href="https://blog.feascript.com/">
8585
FEAScript blog
8686
<img
8787
src="https://upload.wikimedia.org/wikipedia/commons/4/43/Feed-icon.svg"
@@ -92,10 +92,10 @@ <h1>A JavaScript Finite Element Simulation Library</h1>
9292
</li>
9393

9494
<li>
95-
<a href="https://platform.feascript.com/" target="_blank"> FEAScript platform 🧩 </a>
95+
<a href="https://platform.feascript.com/"> FEAScript platform 🧩 </a>
9696
</li>
9797
<li>
98-
<a href="https://github.com/FEAScript/" target="_blank">
98+
<a href="https://github.com/FEAScript/">
9999
GitHub
100100
<img
101101
src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
@@ -134,7 +134,7 @@ <h2 id="gettingstarted"><a name="Getting Started"></a>Getting Started</h2>
134134
</li>
135135
<li>
136136
<strong>Visual Editor:</strong> The
137-
<a href="https://platform.feascript.com" target="_blank">FEAScript platform</a>
137+
<a href="https://platform.feascript.com">FEAScript platform</a>
138138
provides a no-code, block-based interface for creating simulations without writing any JavaScript
139139
code.
140140
</li>
@@ -143,18 +143,18 @@ <h2 id="gettingstarted"><a name="Getting Started"></a>Getting Started</h2>
143143
<div class="highlight-container" style="margin-bottom: 1.5em">
144144
<p>
145145
<strong>Latest stable release:</strong>
146-
<a href="https://github.com/FEAScript/FEAScript-core/releases" target="_blank">0.1.2</a>
147-
(<a href="https://www.npmjs.com/package/feascript" target="_blank">npm</a>)
146+
<a href="https://github.com/FEAScript/FEAScript-core/releases">0.1.2</a>
147+
(<a href="https://www.npmjs.com/package/feascript">npm</a>)
148148
<br />
149149
<strong>See the roadmap for the upcoming major release </strong>
150-
<a href="https://github.com/orgs/FEAScript/discussions/17" target="_blank">0.2.0</a>
150+
<a href="https://github.com/orgs/FEAScript/discussions/17">0.2.0</a>
151151
</p>
152152
</div>
153153

154154
<p>
155155
<strong>Quick Start:</strong> To use FEAScript in your HTML include it via CDN
156156
(<code>https://core.feascript.com/dist/feascript.esm.js</code>) or download it from
157-
<a href="https://github.com/FEAScript/FEAScript-core" target="_blank">GitHub</a> &#8594; add a canvas
157+
<a href="https://github.com/FEAScript/FEAScript-core">GitHub</a> &#8594; add a canvas
158158
(e.g., <code>&lt;div id="solutionPlot">&lt;/div&gt;</code>) &#8594; add a mesh file (e.g., "your.msh")
159159
or use FEAScript mesh generation tools &#8594; create and run a simulation using the JavaScript API (see
160160
<a href="#tutorials">tutorials</a> for detailed examples):
@@ -201,7 +201,7 @@ <h2 id="gettingstarted"><a name="Getting Started"></a>Getting Started</h2>
201201
🚧
202202
<strong>FEAScript is currently under heavy development with new features being added regularly</strong>.
203203
Interested in contributing? Please check out our
204-
<a href="https://github.com/FEAScript/FEAScript-core/blob/main/CONTRIBUTING.md" target="_blank"
204+
<a href="https://github.com/FEAScript/FEAScript-core/blob/main/CONTRIBUTING.md"
205205
>contribution guidelines</a
206206
>
207207
to get started.
@@ -224,7 +224,7 @@ <h2 id="features"><a name="Features"></a>Features</h2>
224224
<li>Simple mesh generation (1D and rectangular 2D domains)</li>
225225
<li>
226226
Unstructured mesh import from
227-
<a href="https://gmsh.info/" target="_blank">
227+
<a href="https://gmsh.info/">
228228
Gmsh
229229
<img
230230
src="https://upload.wikimedia.org/wikipedia/commons/4/44/Icon_External_Link.svg"
@@ -275,9 +275,9 @@ <h2 id="features"><a name="Features"></a>Features</h2>
275275

276276
<p>
277277
For a visual approach to creating simulations, we are also developing the
278-
<a href="https://platform.feascript.com" target="_blank">FEAScript platform</a> - a
278+
<a href="https://platform.feascript.com">FEAScript platform</a> - a
279279
<strong>browser-based visual editor</strong> built on the
280-
<a href="https://developers.google.com/blockly/" target="_blank"
280+
<a href="https://developers.google.com/blockly/"
281281
>Blockly
282282
<img
283283
src="https://upload.wikimedia.org/wikipedia/commons/4/44/Icon_External_Link.svg"
@@ -301,52 +301,52 @@ <h2 id="tutorials"><a name="Tutorials"></a>Tutorials</h2>
301301
<ul>
302302
<li>
303303
<strong>Heat conduction through wall</strong>:
304-
<a href="https://feascript.com/tutorials/HeatConduction1DWall.html" target="_blank">API</a>
304+
<a href="https://feascript.com/tutorials/HeatConduction1DWall.html">API</a>
305305
|
306-
<a href="https://feascript.com/tutorials/HeatConduction1DWallPlatform.html" target="_blank"
306+
<a href="https://feascript.com/tutorials/HeatConduction1DWallPlatform.html"
307307
>XML (FEAScript platform)</a
308308
>
309309
</li>
310310
<li>
311311
<strong>Heat conduction in a two-dimensional fin</strong>:
312-
<a href="https://feascript.com/tutorials/HeatConduction2DFin.html" target="_blank">API (standard)</a>
312+
<a href="https://feascript.com/tutorials/HeatConduction2DFin.html">API (standard)</a>
313313
|
314-
<a href="https://feascript.com/tutorials/HeatConduction2DFinWorker.html" target="_blank"
314+
<a href="https://feascript.com/tutorials/HeatConduction2DFinWorker.html"
315315
>API (web worker)</a
316316
>
317317
|
318-
<a href="https://feascript.com/tutorials/HeatConduction2DFinGmsh.html" target="_blank"
318+
<a href="https://feascript.com/tutorials/HeatConduction2DFinGmsh.html"
319319
>API (Gmsh mesh)</a
320320
>
321321
|
322-
<a href="https://feascript.com/tutorials/HeatConduction2DFinPlatform.html" target="_blank"
322+
<a href="https://feascript.com/tutorials/HeatConduction2DFinPlatform.html"
323323
>XML (FEAScript platform)</a
324324
>
325325
</li>
326326
<li>
327327
<strong>Solidification front propagation in a two-dimensional domain</strong>:
328-
<a href="https://feascript.com/tutorials/SolidificationFront2D.html" target="_blank">API</a>
328+
<a href="https://feascript.com/tutorials/SolidificationFront2D.html">API</a>
329329
</li>
330330
</ul>
331331
<p>
332332
Please report any feedback on the above tutorials to the GitHub
333-
<a href="https://github.com/orgs/FEAScript/discussions" target="_blank">discussions</a> or
334-
<a href="https://github.com/FEAScript/FEAScript-core/issues" target="_blank">issues</a>.
333+
<a href="https://github.com/orgs/FEAScript/discussions">discussions</a> or
334+
<a href="https://github.com/FEAScript/FEAScript-core/issues">issues</a>.
335335
</p>
336336

337337
<h2 id="documentation"><a name="Documentation"></a>Documentation</h2>
338338
<p>
339339
The documentation for FEAScript is currently under development. In the meantime, for information on the
340340
numerical methods used in FEAScript and other technical resources, please visit the
341-
<a href="https://blog.feascript.com" target="_blank">FEAScript Blog</a>.
341+
<a href="https://blog.feascript.com">FEAScript Blog</a>.
342342
</p>
343343

344344
<h2 id="licensing"><a name="Licensing"></a>Licensing</h2>
345345
<p>
346346
The core library of FEAScript is distributed under the terms of the
347-
<a href="https://github.com/FEAScript/FEAScript-core/blob/main/LICENSE" target="_blank">MIT license</a>.
347+
<a href="https://github.com/FEAScript/FEAScript-core/blob/main/LICENSE">MIT license</a>.
348348
This website is licensed under a
349-
<a href="https://github.com/FEAScript/FEAScript-website/blob/main/LICENSE" target="_blank"
349+
<a href="https://github.com/FEAScript/FEAScript-website/blob/main/LICENSE"
350350
>Creative Commons Attribution 4.0 license</a
351351
>.
352352
</p>

sitemap.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@
2424
<loc>https://feascript.com/tutorials/HeatConduction2DFinGmsh.html</loc>
2525
<priority>0.8</priority>
2626
</url>
27+
<url>
28+
<loc>https://feascript.com/tutorials/SolidificationFront2D.html</loc>
29+
<priority>0.8</priority>
30+
</url>
2731
</urlset>

tutorials/HeatConduction1DWall.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,20 +194,20 @@ <h2 id="results"><a name="Results"></a>Results</h2>
194194
is generated in real time using FEAScript. You can find a Node.js implementation of this tutorial in the
195195
<a
196196
href="https://github.com/FEAScript/FEAScript-core/tree/main/examples/solidHeatTransferScript/HeatConduction1DWall"
197-
target="_blank"
198197
>example directory</a
199198
>.
200199
</p>
201200

202201
<!-- Container element where the solution plot will be rendered -->
203202
<div id="orientation-message">
204-
Cannot draw the results. Please turn your phone to horizontal position to see the results.
203+
Cannot draw the results. Please turn your phone to horizontal position and refresh the page to see the
204+
results.
205205
</div>
206206
<div id="solutionPlot"></div>
207207

208208
<ul id="menu">
209209
<li>
210-
<a href="https://feascript.com/index.html" target="_blank">Return to FEAScript Website</a>
210+
<a href="https://feascript.com/index.html">Return to FEAScript Website</a>
211211
</li>
212212
</ul>
213213

@@ -277,3 +277,4 @@ <h2 id="results"><a name="Results"></a>Results</h2>
277277
</script>
278278
</body>
279279
</html>
280+
</html>

tutorials/HeatConduction1DWallPlatform.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h1>Heat Conduction Through a Wall (FEAScript Platform)</h1>
7373
This tutorial demonstrates how to solve the 1D heat conduction wall problem using the FEAScript
7474
platform with a no-code, block-based approach. For the mathematical formulation and theory behind this
7575
example, see the
76-
<a href="HeatConduction1DWall.html" target="_blank">JavaScript API tutorial</a>.
76+
<a href="HeatConduction1DWall.html">JavaScript API tutorial</a>.
7777
</p>
7878
</div>
7979

@@ -93,7 +93,7 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
9393
<ol>
9494
<li>
9595
Visit the FEAScript platform in your browser at
96-
<a href="https://platform.feascript.com" target="_blank">https://platform.feascript.com</a>.
96+
<a href="https://platform.feascript.com">https://platform.feascript.com</a>.
9797
</li>
9898
<li>
9999
Locate the Control Panel on the right side of the screen.
@@ -114,7 +114,6 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
114114
You can download this file from the
115115
<a
116116
href="https://github.com/FEAScript/FEAScript-platform/tree/main/examples/solidHeatTransferScript/HeatConduction1DWall"
117-
target="_blank"
118117
>
119118
FEAScript platform examples repository </a
120119
>.
@@ -132,7 +131,7 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
132131
<p>
133132
These blocks represent the same setup as described in the JavaScript API tutorial. If you need help
134133
understanding the different block types and their functions, refer to the
135-
<a href="https://platform.feascript.com/help.html" target="_blank">FEAScript platform help page</a>.
134+
<a href="https://platform.feascript.com/help.html">FEAScript platform help page</a>.
136135
</p>
137136
</li>
138137
<li>
@@ -155,10 +154,10 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
155154

156155
<ul id="menu">
157156
<li>
158-
<a href="https://feascript.com/index.html" target="_blank">Return to FEAScript Website</a>
157+
<a href="https://feascript.com/index.html">Return to FEAScript Website</a>
159158
</li>
160159
<li>
161-
<a href="https://platform.feascript.com/help.html" target="_blank"
160+
<a href="https://platform.feascript.com/help.html"
162161
>Return to FEAScript Platform Help</a
163162
>
164163
</li>
@@ -171,3 +170,4 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
171170
</script>
172171
</body>
173172
</html>
173+
</html>

tutorials/HeatConduction2DFin.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,14 @@ <h2 id="results"><a name="Results"></a>Results</h2>
202202
time using FEAScript. You can find a Node.js implementation of this tutorial in the
203203
<a
204204
href="https://github.com/FEAScript/FEAScript-core/tree/main/examples/solidHeatTransferScript/HeatConduction2DFin"
205-
target="_blank"
206205
>example directory</a
207206
>.
208207
</p>
209208

210209
<!-- Container element where the solution plot will be rendered -->
211210
<div id="orientation-message">
212-
Cannot draw the results. Please turn your phone to horizontal position to see the results.
211+
Cannot draw the results. Please turn your phone to horizontal position and refresh the page to see the
212+
results.
213213
</div>
214214
<div id="solutionPlot"></div>
215215

@@ -218,15 +218,15 @@ <h2 id="results"><a name="Results"></a>Results</h2>
218218
<!-- Links to worker-based and Gmsh implementation -->
219219
<p>
220220
See also
221-
<a href="https://feascript.com/tutorials/HeatConduction2DFinWorker.html" target="_blank">here</a>
221+
<a href="https://feascript.com/tutorials/HeatConduction2DFinWorker.html">here</a>
222222
for a tutorial using FEAScript in a separate thread (web worker) for improved responsiveness and
223-
<a href="https://feascript.com/tutorials/HeatConduction2DFinGmsh.html" target="_blank">here</a>
223+
<a href="https://feascript.com/tutorials/HeatConduction2DFinGmsh.html">here</a>
224224
for a tutorial using an unstructured mesh generated by Gmsh.
225225
</p>
226226

227227
<ul id="menu">
228228
<li>
229-
<a href="https://feascript.com/index.html" target="_blank">Return to FEAScript Website</a>
229+
<a href="https://feascript.com/index.html">Return to FEAScript Website</a>
230230
</li>
231231
</ul>
232232

@@ -311,3 +311,4 @@ <h2 id="results"><a name="Results"></a>Results</h2>
311311
</script>
312312
</body>
313313
</html>
314+
</html>

tutorials/HeatConduction2DFinGmsh.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ <h1>Heat Conduction in a Two-Dimensional Fin (Gmsh Mesh)</h1>
8484
<div class="highlight-container">
8585
<p>
8686
This page demonstrates solving the 2D heat conduction fin problem using a Gmsh-generated mesh.
87-
<a href="https://gmsh.info/" target="_blank">Gmsh</a> is a powerful mesh generation tool that can
87+
<a href="https://gmsh.info/">Gmsh</a> is a powerful mesh generation tool that can
8888
create complex geometries and meshes for finite element analysis. For the mathematical formulation and
89-
theory, see the <a href="HeatConduction2DFin.html" target="_blank">main (standard) tutorial</a>.
89+
theory, see the <a href="HeatConduction2DFin.html">main (standard) tutorial</a>.
9090
</p>
9191
</div>
9292

@@ -295,12 +295,12 @@ <h2 id="results"><a name="results"></a>Results</h2>
295295

296296
<ul id="menu">
297297
<li>
298-
<a href="https://feascript.com/tutorials/HeatConduction2DFin.html" target="_blank"
298+
<a href="https://feascript.com/tutorials/HeatConduction2DFin.html"
299299
>Return to Main Tutorial</a
300300
>
301301
</li>
302302
<li>
303-
<a href="https://feascript.com/index.html" target="_blank">Return to FEAScript Website</a>
303+
<a href="https://feascript.com/index.html">Return to FEAScript Website</a>
304304
</li>
305305
</ul>
306306

tutorials/HeatConduction2DFinPlatform.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h1>Heat Conduction in a Two-Dimensional Fin (FEAScript platform)</h1>
7373
This tutorial demonstrates how to solve the 2D heat conduction fin problem using the FEAScript
7474
platform with a no-code, block-based approach. For the mathematical formulation and theory behind this
7575
example, see the
76-
<a href="HeatConduction2DFin.html" target="_blank">JavaScript API tutorial</a>.
76+
<a href="HeatConduction2DFin.html">JavaScript API tutorial</a>.
7777
</p>
7878
</div>
7979

@@ -92,7 +92,7 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
9292
<ol>
9393
<li>
9494
Visit the FEAScript platform in your browser at
95-
<a href="https://platform.feascript.com" target="_blank">https://platform.feascript.com</a>.
95+
<a href="https://platform.feascript.com">https://platform.feascript.com</a>.
9696
</li>
9797
<li>
9898
Locate the Control Panel on the right side of the screen.
@@ -113,7 +113,6 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
113113
You can download this file from the
114114
<a
115115
href="https://github.com/FEAScript/FEAScript-platform/tree/main/examples/solidHeatTransferScript/HeatConduction2DFin"
116-
target="_blank"
117116
>
118117
FEAScript platform examples repository </a
119118
>.
@@ -131,7 +130,7 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
131130
<p>
132131
These blocks represent the same setup as described in the JavaScript API tutorial. If you need help
133132
understanding the different block types and their functions, refer to the
134-
<a href="https://platform.feascript.com/help.html" target="_blank">FEAScript platform help page</a>.
133+
<a href="https://platform.feascript.com/help.html">FEAScript platform help page</a>.
135134
</p>
136135
</li>
137136
<li>
@@ -154,10 +153,10 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
154153

155154
<ul id="menu">
156155
<li>
157-
<a href="https://feascript.com/index.html" target="_blank">Return to FEAScript Website</a>
156+
<a href="https://feascript.com/index.html">Return to FEAScript Website</a>
158157
</li>
159158
<li>
160-
<a href="https://platform.feascript.com/help.html" target="_blank"
159+
<a href="https://platform.feascript.com/help.html"
161160
>Return to FEAScript Platform Help</a
162161
>
163162
</li>
@@ -171,3 +170,4 @@ <h2 id="tutorial"><a name="Tutorial"></a>Step-by-Step Tutorial</h2>
171170
</script>
172171
</body>
173172
</html>
173+
</html>

tutorials/HeatConduction2DFinWorker.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h1>Heat Conduction in a Two-Dimensional Fin (Web Worker)</h1>
8383
<p>
8484
This page demonstrates solving the 2D heat conduction fin problem using FEAScript in a web worker for
8585
improved browser responsiveness. For the mathematical formulation and theory, see the
86-
<a href="HeatConduction2DFin.html" target="_blank">main (standard) tutorial</a>.
86+
<a href="HeatConduction2DFin.html">main (standard) tutorial</a>.
8787
</p>
8888

8989
<p>
@@ -168,7 +168,8 @@ <h2 id="results"><a name="Results"></a>Results</h2>
168168
</p>
169169

170170
<div id="orientation-message">
171-
Cannot draw the results. Please turn your phone to horizontal position to see the results.
171+
Cannot draw the results. Please turn your phone to horizontal position and refresh the page to see the
172+
results.
172173
</div>
173174
<div id="loading">
174175
<div class="spinner"></div>
@@ -178,12 +179,12 @@ <h2 id="results"><a name="Results"></a>Results</h2>
178179

179180
<ul id="menu">
180181
<li>
181-
<a href="https://feascript.com/tutorials/HeatConduction2DFin.html" target="_blank"
182+
<a href="https://feascript.com/tutorials/HeatConduction2DFin.html"
182183
>Return to Main Tutorial</a
183184
>
184185
</li>
185186
<li>
186-
<a href="https://feascript.com/index.html" target="_blank">Return to FEAScript Website</a>
187+
<a href="https://feascript.com/index.html">Return to FEAScript Website</a>
187188
</li>
188189
</ul>
189190

0 commit comments

Comments
 (0)