Skip to content

Commit 106100c

Browse files
committed
docs(api): link Simulation class page from Simulation module in API index; refresh docs
1 parent ed93461 commit 106100c

File tree

12 files changed

+92
-17
lines changed

12 files changed

+92
-17
lines changed

docs/algorithm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1>svVascularize</h1>
3535
<a href="index.html#about">About</a>
3636
<a href="install.html">Installation</a>
3737
<a class="active" href="doc.html">Documentation</a>
38-
<a href="#simulation">Simulation</a>
38+
<a href="index.html#simulation">Simulation</a>
3939
<a href="https://pypi.org/project/svv/" target="_blank" rel="noopener">PyPI</a>
4040
<a href="https://github.com/SimVascular/svVascularize" target="_blank" rel="noopener">GitHub</a>
4141
</nav>

docs/api/domain.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>svVascularize</h1>
1818
<a href="../index.html#about">About</a>
1919
<a href="../install.html">Installation</a>
2020
<a href="../doc.html">Documentation</a>
21-
<a href="#simulation">Simulation</a>
21+
<a href="../index.html#simulation">Simulation</a>
2222
<a href="https://pypi.org/project/svv/" target="_blank" rel="noopener">PyPI</a>
2323
<a href="https://github.com/SimVascular/svVascularize" target="_blank" rel="noopener">GitHub</a>
2424
</nav>

docs/api/forest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>svVascularize</h1>
1818
<a href="../index.html#about">About</a>
1919
<a href="../install.html">Installation</a>
2020
<a href="../doc.html">Documentation</a>
21-
<a href="#simulation">Simulation</a>
21+
<a href="../index.html#simulation">Simulation</a>
2222
<a href="https://pypi.org/project/svv/" target="_blank" rel="noopener">PyPI</a>
2323
<a href="https://github.com/SimVascular/svVascularize" target="_blank" rel="noopener">GitHub</a>
2424
</nav>

docs/api/index_api.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>svVascularize</h1>
1818
<a href="../index.html#about">About</a>
1919
<a href="../install.html">Installation</a>
2020
<a href="../doc.html">Documentation</a>
21-
<a href="#simulation">Simulation</a>
21+
<a href="../index.html#simulation">Simulation</a>
2222
<a href="https://pypi.org/project/svv/" target="_blank" rel="noopener">PyPI</a>
2323
<a href="https://github.com/SimVascular/svVascularize" target="_blank" rel="noopener">GitHub</a>
2424
</nav>
@@ -388,6 +388,15 @@ <h5>1D Models</h5>
388388
</div>
389389
</div>
390390

391+
<div class="api-classes">
392+
<h4>Main Classes</h4>
393+
<ul class="api-class-list">
394+
<li>
395+
<a href="simulation.html"><code>Simulation</code></a> - Container for generating meshes and simulation files
396+
</li>
397+
</ul>
398+
</div>
399+
391400
<div class="api-example">
392401
<h4>Example Usage</h4>
393402
<pre data-copy><code class="language-python">from svv.simulation import Simulation

docs/api/patch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>svVascularize</h1>
1818
<a href="../index.html#about">About</a>
1919
<a href="../install.html">Installation</a>
2020
<a href="../doc.html">Documentation</a>
21-
<a href="#simulation">Simulation</a>
21+
<a href="../index.html#simulation">Simulation</a>
2222
<a href="https://pypi.org/project/svv/" target="_blank" rel="noopener">PyPI</a>
2323
<a href="https://github.com/SimVascular/svVascularize" target="_blank" rel="noopener">GitHub</a>
2424
</nav>

docs/api/simulation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>svVascularize</h1>
1818
<a href="../index.html#about">About</a>
1919
<a href="../install.html">Installation</a>
2020
<a href="../doc.html">Documentation</a>
21-
<a href="#simulation">Simulation</a>
21+
<a href="../index.html#simulation">Simulation</a>
2222
<a href="https://pypi.org/project/svv/" target="_blank" rel="noopener">PyPI</a>
2323
<a href="https://github.com/SimVascular/svVascularize" target="_blank" rel="noopener">GitHub</a>
2424
</nav>

docs/api/tree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>svVascularize</h1>
1818
<a href="../index.html#about">About</a>
1919
<a href="../install.html">Installation</a>
2020
<a href="../doc.html">Documentation</a>
21-
<a href="#simulation">Simulation</a>
21+
<a href="../index.html#simulation">Simulation</a>
2222
<a href="https://pypi.org/project/svv/" target="_blank" rel="noopener">PyPI</a>
2323
<a href="https://github.com/SimVascular/svVascularize" target="_blank" rel="noopener">GitHub</a>
2424
</nav>

docs/doc.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,20 @@ <h3>Community & Support</h3>
7171
<li><a href="https://github.com/SimVascular/svVascularize/issues" target="_blank" rel="noopener">GitHub Issues</a></li>
7272
</ul>
7373

74+
<h3 id="simulation">Simulation Overview</h3>
75+
<p>The <code>Simulation</code> module mirrors the capabilities in the library today:</p>
76+
<ul>
77+
<li><a href="pipeline.html">3-D CFD pipeline</a> &mdash; full workflow from <code>build_meshes()</code> through
78+
<code>write_3d_fluid_simulation()</code>, including boundary layer options and multi-tree exports.</li>
79+
<li><a href="api/simulation.html">Simulation API reference</a> &mdash; method-by-method detail on mesh storage,
80+
face extraction, and svFSI XML generation.</li>
81+
<li><a href="quickstart.html#export-0d-simulation-files">0-D exports</a> &mdash; use
82+
<code>svv.simulation.fluid.rom.zero_d</code> helpers for fast circuit models; 1-D parameter builders are also
83+
included in <code>Simulation.construct_1d_fluid_simulation()</code> for multiscale coupling.</li>
84+
</ul>
85+
<div class="callout info"><strong>Tip:</strong> 0-D and 1-D solvers are shipped separately; see the installation
86+
guide&rsquo;s <a href="install.html#simulation">simulation extras</a> for setup notes.</div>
87+
7488
</main>
7589

7690
<!-- Footer -->

docs/index.html

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,31 @@ <h3>About<code>svVascularize</code> </h3>
4646
</section>
4747

4848

49+
<section id="simulation" class="content">
50+
<div class="container">
51+
<h3>Simulation Workflows</h3>
52+
<p>The <code>svv.simulation.Simulation</code> container turns generated trees and forests into ready-to-run
53+
solver input. It automates mesh generation, boundary extraction, and svFSI configuration so you can move from a
54+
synthetic network to a 3-D CFD job without leaving Python.</p>
55+
<ul>
56+
<li><strong>3D CFD:</strong> build watertight tet meshes, optional boundary layers, extract wall/outlet faces,
57+
and emit svFSI XML plus surface/volume mesh files.</li>
58+
<li><strong>Multi-tree support:</strong> forests are handled tree-by-tree, letting you select which networks to
59+
mesh and export.</li>
60+
<li><strong>Reduced-order:</strong> direct helpers in <code>svv.simulation.fluid.rom</code> export matching 0-D
61+
circuits today, with 1-D parameter generation available for coupling work.</li>
62+
</ul>
63+
<div class="callout info"><strong>Need details?</strong> The <a href="pipeline.html">3-D pipeline</a> and <a href="api/simulation.html">Simulation API</a> pages walk through every step, from
64+
<code>build_meshes()</code> to writing solver files.</div>
65+
</div>
66+
</section>
67+
68+
4969
<footer>
5070
<div class="container">
5171
<p>&copy; 2025 SimVascular, Stanford University, The Regents of the University of California, and others —
5272
<a href="https://opensource.org/license/BSD-3-Clause">BSD 3-Clause License</a><br></p>
5373
</div>
5474
</footer>
5575
</body>
56-
</html>
76+
</html>

docs/install.html

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2>Quick-start</h2>
4747
<pre data-copy><code class="language-shell">python -m pip install --upgrade pip # upgrade installer
4848
python -m pip install svv</code></pre>
4949
<p>This installs the <em>core</em> pre-built synthetic vascular-generation wheel from PyPI.</p>
50-
<div class="callout"><strong>Need hemodynamics solvers?</strong> They are not included by default—see <a href="#optional-solvers">Optional solvers</a>.</div>
50+
<div class="callout"><strong>Need hemodynamics solvers?</strong> They are not included by default—see <a href="#simulation">Simulation extras</a>.</div>
5151
</section>
5252

5353
<!-- REQUIREMENTS -->
@@ -152,11 +152,12 @@ <h2>Building from source</h2>
152152
</section>
153153

154154
<!-- SOLVERS -->
155-
<section id="optional-solvers">
156-
<h2>Optional Hemodynamic CFD / ROM solvers</h2>
157-
<p>The <b>svVascularize</b> Python API is solver-agnostic. For
158-
flow analysis you can link to the SimVascular solver
159-
family shown in the table:</p>
155+
<section id="simulation">
156+
<h2>Simulation extras</h2>
157+
<p>The <b>svVascularize</b> Python API is solver-agnostic. The
158+
<code>Simulation</code> container prepares meshes and svFSI XML files, while helper functions in
159+
<code>svv.simulation.fluid.rom</code> emit 0-D circuits. To actually march solutions forward you can link to the
160+
SimVascular solvers below:</p>
160161

161162
<table>
162163
<thead><tr>
@@ -177,6 +178,10 @@ <h2>Optional Hemodynamic CFD / ROM solvers</h2>
177178
<td>CMake ≥ 3.20, VTK ≥ 9, MPI, BLAS, LAPACK</td></tr>
178179
</tbody>
179180
</table>
181+
<div class="callout info"><strong>Tip:</strong> After calling <code>Simulation.construct_3d_fluid_simulation()</code>
182+
use <code>Simulation.write_3d_fluid_simulation()</code> to emit meshes and <code>fluid_simulation_*.xml</code> files that
183+
svFSI consumes directly. The ROM helpers write JSON/<code>.flow</code> data next to the geometry so you can drive
184+
multiscale studies from the same tree.</div>
180185
<!-- 0-D install -->
181186
<h3 id="solver-0d"><code>svZeroDSolver</code></h3>
182187
<p>Pre-built wheels do not yet exist for this solver;
@@ -251,4 +256,4 @@ <h2>Troubleshooting &amp; FAQ</h2>
251256
<!-- Shared interactivity -->
252257
<script defer src="script.js"></script>
253258
</body>
254-
</html>
259+
</html>

0 commit comments

Comments
 (0)